Keyframe interval: how often your stream sends a full picture.

Most of a live stream is made of changes from one frame to the next. Every so often the encoder sends a complete picture. How often is the keyframe interval.

Keyframe interval, in shortThe keyframe interval is how often the encoder sends a keyframe, a complete picture that does not depend on any other frame. It is set in seconds or in frames, and 2 seconds is the usual setting for live streaming.

How keyframes work

To save data, an encoder sends one full picture, the keyframe, and then a run of frames that only describe what changed. A player cannot start in the middle of that run. It needs a keyframe to begin from.

The keyframe and the frames that follow it are called a group of pictures, or GOP. GOP size is the same idea as the keyframe interval, counted in frames instead of seconds.

Why 2 seconds

HLS cuts your stream into segments, and every segment has to start on a keyframe. Apple's HLS guidance asks for a keyframe every 2 seconds. With keyframes on a steady beat, the service can cut clean segments, a player can join the stream quickly, and it can switch qualities without a hiccup.

Go much longer and fans wait longer for the picture to start, and quality switches get rough. YouTube, for example, recommends 2 seconds and says not to go past 4.

Seconds and frames

Encoders name this setting differently: keyframe interval, GOP size, GOP length, or I-frame interval. Some ask for seconds and some for frames. Multiply the seconds by your frame rate to convert.

Frame rate Keyframe interval GOP size
30 fps 2 seconds 60 frames
60 fps 2 seconds 120 frames

Why it matters for sports

Sports are full of motion, and it is tempting to think more keyframes would help. They do not. Every keyframe costs a lot of data, so a shorter interval leaves less bitrate for the frames in between and the picture gets softer. A longer interval saves data but makes the stream slow to start and slow to recover after a glitch. Two seconds is the balance.

What is bitrate

Common problems and fixes

Keyframe trouble usually comes from a setting left on automatic.

  • The player is slow to start: the interval is too long or left on automatic (0 in OBS). Set it to 2.
  • The platform warns about irregular keyframes: turn off any option that adds extra keyframes on scene changes. OBS's own guide says to keep a consistent interval.
  • The picture pulses blocky every couple of seconds: the bitrate is too low to carry the keyframes. Raise the bitrate or lower the resolution.

Keyframe interval on SidelineWeb TV

Set a keyframe interval of 2 seconds, with H.264, the Main profile, and AAC audio. That is part of the SidelineWeb TV recommended encoder settings, and it matches Mux's recommendation for 720p and 1080p streams. In OBS, set Output Mode to Advanced on the Output page of Settings and enter 2 in Keyframe Interval.

Recommended encoder settings

Sources

Checked November 28, 2026. Prices and plans change, so confirm on each provider's own site.

  1. Apple: HLS authoring specification for Apple devices
  2. YouTube Help: Choose live encoder settings, bitrates, and resolutions
  3. OBS Knowledge Base: Transcodes / Transcoding
  4. Mux: Configure broadcast software

Common questions

All questions
What keyframe interval should I use for streaming?

2 seconds. At 30 frames per second, that is a keyframe every 60 frames.

Is GOP size the same as keyframe interval?

Yes, measured differently. Keyframe interval is usually in seconds and GOP size in frames. Multiply the seconds by your frame rate to convert.

Does a shorter keyframe interval lower latency?

Not by much. On a standard stream, most of the delay comes from how the player buffers HLS segments, and a very short interval costs picture quality.

Where is keyframe interval in OBS?

In Settings, then Output, with Output Mode set to Advanced. It is on the Streaming tab, with the bitrate.

Keep reading

Features you will use

Ready for your next home game?

Create your site in a couple of minutes. Connect Mux when you are ready.

Get started