Skip to main content

FFmpeg -maxrate flag

The value for the -maxrate flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set.

CLI flag​

--max-rate <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.setEncodingMaxRate('5000k');

See also​