Skip to main content

CRFv1.4.0

No matter which codec you end up using, there's always a tradeoff between file size and video quality. You can control it by setting the CRF (Constant Rate Factor). The lower the number, the better the quality; the higher the number, the smaller the file.

CLI flag​

--crf <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.setCrf(16);

See also​