Skip to main content

GOP size

Set the maximum number of frames between two keyframes. This maps to FFmpeg's -g option. Default: Let the encoder decide.

CLI flag​

--gop <value>

The following CLI commands accept this option:

APIs that have this option​

The following APIs accept this option:

Config file​

remotion.config.ts
Config.setGopSize(239);

See also​