Skip to main content

Audio bitratev3.2.32

Specify the target bitrate for the generated audio. For server-side renders, the syntax for FFmpeg's -b:a parameter should be used. FFmpeg may encode the audio in a way that will not result in the exact audio bitrate specified. Example values: 512K for 512 kbps, 1M for 1 Mbps. Default for server-side renders: 320k.
renderMediaOnWeb() instead accepts a number in bits per second or a quality preset.

CLI flag​

--audio-bitrate <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.setAudioBitrate('128K');

See also​