Stream Video Quality Settings Explained

Keyframe interval: why platforms ask for 2 seconds

Set the keyframe interval to 2 seconds for live streaming. Twitch, YouTube, Kick, Facebook and LinkedIn all ask for it; YouTube and Meta allow at most 4.

Published November 5, 2026Updated November 18, 20266 minute readBy WaveSync Staff
Illustration of a green signal wave passing through a glowing ring gauge and three filter panels toward a stack of image tiles
In this guide

For streaming, set your keyframe interval to 2 seconds. Twitch, YouTube, Kick, Facebook and LinkedIn all ask for it, and YouTube and Meta say not to exceed 4. A keyframe is a complete picture; the frames between keyframes store only what changed. In OBS Studio the setting is Keyframe Interval (0=auto) in Settings, Output, and most of its built-in service presets, including Twitch's, already set 2.

Platform figures from help pages read between 2 and 5 November 2026; Twitch's, YouTube's, Kick's and Apple's pages read again on 15 November 2026. OBS labels from OBS Studio 32.2.2, matching the 33.0.1 locale. The other encoder settings are covered in the stream video quality guides.

What each platform asks for

PlatformKeyframe intervalChecked
Twitch2 seconds15 Nov 2026
YouTube2 seconds recommended; do not exceed 415 Nov 2026
Kick2 seconds15 Nov 2026
Facebook2 seconds recommended; 4 maximum5 Nov 2026
LinkedInEvery 2 seconds (60 frames at 30 fps)5 Nov 2026

What the keyframe interval controls

Our explanation, not a platform's: a stream is mostly frames that describe changes from the frame before. A keyframe is a full image that doesn't depend on earlier frames, so a player or a platform's servers can start decoding from it. Fewer keyframes save bitrate but mean a longer wait before a new viewer's picture can start cleanly; more keyframes cost bitrate. Two seconds is the figure the platforms ask for. All platforms' figures are also in the bitrate limits table.

Why 2 seconds and not 10

Platforms don't play your stream as one continuous file. They cut it into short segments for delivery. Apple's HLS authoring specification, which sets the rules for HLS playback on Apple devices, says video segments must start with an IDR frame, the strictest kind of keyframe. The same specification says key frames should be present every two seconds, with segments nominally 6 seconds long.

Our reading: a 2 second interval gives the platform a clean place to cut every 2 seconds, three times per 6 second segment. A 10 second interval leaves it nowhere to cut in between.

YouTube's error page spells out both ends of the range. Keyframes sent too rarely can cause buffering, and YouTube warns when they're more than four seconds apart. Keyframes sent too often trigger a different warning: a small GOP, or group of pictures, which YouTube says can reduce image quality. Its pipeline also requires a closed GOP for optimal transcoding.

Seconds or frames

OBS counts the interval in seconds, so 2 stays 2 whatever your frame rate. Other encoders and command-line tools count in frames, and then the number has to change with the frame rate. YouTube's error page reminds you of exactly this: frame rate and keyframe frequency are linked.

Frame rate2 seconds in frames
25 fps50
30 fps60 (YouTube's and LinkedIn's example)
50 fps100
60 fps120

The classic mistake is moving from 30 to 60 fps in an app that counts frames and leaving 60 in the box. That's a keyframe every second, which is inside YouTube's 4 second limit but sends twice the keyframes the platforms ask for. 30 vs 60 fps covers the frame rate choice itself.

What 0 (auto) really does

OBS's label says 0 means auto, and auto means the encoder decides. Wowza's support article puts OBS's auto at approximately 8 seconds. That's double YouTube's 4 second ceiling, which is why a stream left on 0 can trigger YouTube's keyframe warning.

OBS's built-in service presets set 2 for you, so the risk is mostly with Custom services, relay services and copied settings. If you've ever typed a server URL by hand, check this box.

Is 1 second ever better?

Some guides say so. Wowza's support article suggests about 1 second for action-heavy content such as sports, and says a shorter interval can improve quality and reduce latency on its own servers.

Our view: on Twitch, YouTube, Kick, Facebook or LinkedIn, stay on 2. Those platforms publish 2 seconds, and YouTube flags a GOP that's too small. A 1 second interval belongs to setups where you control the server and have tested it, not to a platform that has already told you its number.

Setting it in OBS

  1. Open Settings, Output and switch Output Mode to Advanced.
  2. On the Streaming tab, set Keyframe Interval (0=auto) to 2.
  3. If you use a platform preset in Settings, Stream, leave Ignore streaming service setting recommendations off so the preset's value applies.

LinkedIn expresses its figure in frames, 60 at 30 fps; in OBS, which counts in seconds, that's still 2.

Errors that point here

YouTube's stream health message Incorrect video keyframe frequency appears when keyframes are more than 4 seconds apart or too close together. The YouTube stream health page lists the messages. The fix is the same either way: set Keyframe Interval (0=auto) to 2 and restart the stream. Rate control is the setting that sits beside this one; see CBR vs VBR.

Keyframe interval questions

What keyframe interval should I use for Twitch?

2 seconds, as Twitch's broadcasting guidelines specify. In OBS, that's Keyframe Interval (0=auto) set to 2 in the Advanced output mode, or the Twitch service preset, which applies it for you. Don't leave it at 0: auto lets the encoder choose, and Wowza puts OBS's auto at about 8 seconds. Kick, YouTube, Facebook and LinkedIn ask for the same 2 seconds.

What does 0 mean for keyframe interval in OBS?

The label reads Keyframe Interval (0=auto), so 0 leaves the choice to the encoder. Wowza's support article puts that at approximately 8 seconds, which is longer than YouTube's and Meta's 4 second maximum. Platforms ask for 2 seconds, so type 2 rather than relying on auto, especially with a Custom service where no preset fills it in.

Does keyframe interval affect stream quality?

Yes, in both directions. Each keyframe is a full picture and costs more bitrate than the frames between, so very frequent keyframes leave less data for the rest. YouTube warns that a small GOP can reduce image quality. Very rare keyframes risk buffering, which YouTube also warns about past four seconds. Two seconds is the balance every major platform asks for.

What is a keyframe in streaming?

A complete image that doesn't depend on earlier frames, so a player or a platform's servers can start decoding from it. The frames in between store only what changed.

What is a 2 second keyframe interval in frames?

60 frames at 30 fps and 120 at 60 fps. OBS counts in seconds, so 2 stays 2 whatever your frame rate.

Why does YouTube say my keyframe frequency is incorrect?

Your keyframes are more than 4 seconds apart, or too close together. Set Keyframe Interval (0=auto) to 2 and restart the stream.

Should I use a 1 second keyframe interval for fast games?

Not on Twitch, YouTube, Kick, Facebook or LinkedIn, which publish 2 seconds, and YouTube flags a GOP that's too small. A 1 second interval belongs on a server you control and have tested.

Why do platforms want a 2 second keyframe interval?

They cut streams into short segments that must each start on a keyframe. Apple's HLS specification asks for keyframes every two seconds, with segments nominally 6 seconds long.

Do OBS presets set the keyframe interval for me?

Most built-in service presets, Twitch's included, set 2 seconds. Custom services, relay services and copied settings are where a wrong value usually creeps in.

What is a closed GOP?

A group of pictures that doesn't refer to frames outside itself. YouTube's pipeline requires a closed GOP for optimal transcoding.

Sources and checks

9 sources, checked November 15, 2026

Platform and app documentation changes. These sources were checked on the dates shown.

WaveSync app and source checks cited on this page:

  • OBS Studio 32.2.2 Output labels (Keyframe Interval (0=auto), Ignore streaming service setting recommendations) and bundled service presets with a 2 second keyframe, read from the installed app on the WaveSync test Mac.
If you also stream on TikTok LIVE

WaveSync makes the interactive side easy

WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.

See how WaveSync works →