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:
renderMediaOnCloudrun()renderMediaOnLambda()combineChunks()renderMedia()stitchFramesToVideo()canRenderMediaOnWeb()renderMediaOnWeb()
Config file
remotion.config.tsConfig .setAudioCodec ('pcm-16');