Prefer lossless
Uses a lossless audio codec, if one is available for the codec. If you setaudioCodec, it takes priority over preferLossless.
CLI flag
--prefer-losslessThe following CLI commands accept this option:
APIs that have this option
The following APIs accept this option:
Config file
remotion.config.tsConfig .setPreferLosslessAudio (true);