Skip to main content

Audio Codec

Set the format of the audio that is embedded in the video. Not all codec and audio codec combinations are supported and certain combinations require a certain file extension and container format. See the table in the docs to see possible combinations.

CLI flag​

--audio-codec <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.setAudioCodec('pcm-16');

See also​