Skip to content
VIDEOMONTAZHERDAVINCI RESOLVE · VIDEO · AI

DELIVER / ADVANCED SETTINGS

GOP, Key Frames and Frame Reordering

Understand temporal compression dependencies, select access-point intervals for the delivery specification and distinguish codec keyframes from animation keys.

DaVinci Resolve 21 · options depend on encoder and system

After this lesson

  • Distinguish animation keys and codec reference frames.
  • Convert frame intervals into seconds.
  • Check stream compatibility including GOP and reordering.

Before starting

  • Open the moving 12-second / 30 fps test.
  • Check recipient requirements for codec, GOP and latency; otherwise start with Automatic.

I, P and B describe codec dependencies

Interframe compression predicts pictures from other frames. I-frames do not use temporal prediction; P/B frames use permitted references. Real structures can include multiple references, hierarchical B-frames and different random-access points.

Processing/storage order can differ from presentation order; the decoder reconstructs the correct sequence. B-frames do not mean missing edit frames: a correct 12-second / 30 fps output still displays 360 frames.

ConceptPractical meaning
I-frameIntra representation; not every I-frame is an IDR
P/B-framePermitted temporal references reduce data
GOPOrganisation of frame groups and references
IDR / access pointRules determining where independent decoding can begin

Deliver Key Frames are not animation keys

H.264/H.265 Key Frames controls codec reference frames, not Position, Zoom or Opacity animation in Inspector. Its interval does not move animation or edit points.

At 30 fps, 30 frames = 1 second and 60 = 2 seconds; at 25 fps, 50 = 2 seconds. Confirm units and actual fps, then divide frames by fps. Scene-cut decisions and encoder limits may change access points; a nominal interval does not prove the exact I-frame count.

  1. Read the required interval in the recipient's specification.
  2. Confirm seconds versus frames.
  3. Convert using actual output fps.
  4. If exact structure matters, analyse the rendered stream.

Frame Reordering enables additional compression

Frame Reordering permits structures whose coding order differs from presentation order, including B-frames. This can improve efficiency while adding dependencies and buffering. Supported combinations depend on codec, profile and encoder.

Acceptable decoding delay depends on use, with stricter live-stream constraints possible. Disabling reordering for “maximum quality” mistakes a structural tradeoff for a quality scale. It also does not turn interframe H.264 into an editing-oriented intraframe codec.

Recipient requirements outweigh a universal number

Short GOPs offer frequent access points but consume data; longer GOPs can save space with longer dependencies. Editing, streaming, segmentation and ordinary viewing have different needs.

Do not transfer a live-streaming rule to every upload. YouTube's H.264 upload guidance, for example, describes closed GOP, two B-frames and GOP length of half the frame rate—a specific recommendation, not “always two seconds”. For strict compliance, verify current requirements and actual structure.

Compare Automatic with a fixed interval

Export the same scene twice with identical codec, bitrate, fps and resolution. Use Automatic first, then 30 Key Frames if available. Both should retain duration, movement and audio timing.

Compare size, difficult frames and seeking in the same player. If possible, inspect actual frame types/access points. Smooth seeking alone does not prove closed-GOP compliance; a player can hide intermediate decoding.

  1. Name files gop-auto-v01 and gop-30-v01.
  2. Keep compression limits identical and record scene-cut/adaptive-I state where available.
  3. Check 360 frames and correct playback after seeking.
  4. Record actual size and structural findings, separating measurements from assumptions.

STEP-BY-STEP PRACTICE

Relate GOP to frame rate

  1. Record 30 fps, 12 seconds and a nominal one-second test interval.
  2. Calculate 30 frames and create that Key Frames variant if supported.
  3. Create an Automatic baseline without changing other settings.
  4. Verify 360 frames, sound and motion; compare sizes.
  5. If exact GOP matters, analyse and record actual access points.
Verify the result

Two comparable files and an interval with units distinguish the calculation from verified encoded structure.

Errors and diagnosis

Every 30 is read as 30 seconds.

Check units. For a frame-based interval at 30 fps, 30 means one second.

Key Frames is used to fix title animation.

Edit animation keys on the timeline or in Inspector. Deliver's setting concerns compression.

Disabling B-frames is called lossless mode.

B-frame presence does not determine losslessness; quantisation, profile and other settings still affect losses.

Frequently asked questions

Do B-frames change the displayed frame sequence?

A correct decoder restores presentation order. Reordering concerns internal dependencies and buffering.

Can GOP always be set to 60?

No. Duration depends on fps, and permitted structure on purpose/recipient requirements.

Sources and applicability

Check available settings against format, codec, encoder and your Resolve installation. Screenshots depict one configuration; diagrams explain individual operations.

DaVinci Resolve Reference Manual — Key Frames and Frame ReorderingPp. 4118–4119: manual/automatic interval and frame reordering.
NVIDIA NVENC Programming GuideEncoding structure, B-frames, lookahead and low latency: capabilities vary by codec and GPU.
YouTube — Recommended upload encoding settingsH.264 upload guidance: closed GOP, two B-frames and a GOP half the frame rate. These are scenario-specific upload recommendations.

Continue learning

Combine the topics into one delivery: the project page supplies media, tasks and output checks.

Follow the practice project