Skip to main content

Hardware Acceleration

One of "disable", "if-possible", or "required" . Default "disable". Encode using a hardware-accelerated encoder if available. If set to "required" and no hardware-accelerated encoder is available, then the render will fail.

CLI flag​

--hardware-acceleration <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.setHardwareAcceleration('if-possible');

See also​