See [/glossary/gop](/glossary/gop) for the introduction. This entry covers the trade-off space deeper.
GOP length directly affects three things:
- Seek granularity: lossless cuts can only start at keyframes. 5-second GOP = ±5s precision for lossless clips.
- File size: shorter GOP = more keyframes = bigger files (keyframes are 5-10x larger than P-frames).
- Streaming resilience: shorter GOP recovers from packet loss faster. Live streaming uses 2-second GOPs; VOD uses 5-10 seconds.
YouTube's 5-second GOP is a balanced choice — fine enough for most clip / share use cases, long enough to compress efficiently. Lossless clips from YouTube downloads can start at any multiple-of-5-seconds boundary; finer precision requires re-encoding the clip start.
Common questions
Can I extract a perfectly-timed clip from YouTube?
Related terms
GOP (group of pictures)
A GOP (group of pictures) is a sequence of video frames that starts with a keyframe and continues with frames described as differences from earlier frames.
Keyframe (I-frame)
A keyframe (I-frame) is a video frame that stores a complete picture, independent of any other frames.
Codec
A codec is the algorithm that encodes (compresses) and decodes raw audio or video into a smaller stream.
VidPickr is a free, browser-based YouTube downloader. Every term in this glossary either describes how YouTube delivers video or why your downloads behave the way they do. Try the downloader →