Skip to main content

Chromium flagsv4.0.543

JavaScript API​

Adds, replaces, or removes Chrome flags. Keys omit the leading --. true adds a bare flag, a string sets its value, and false removes it. Overrides take precedence over other Chromium options. The user-data-dir and remote-debugging-* flags are reserved. Defaults to {}. Remotion’s default Chrome flags and enabled or disabled features may change between patch versions. There is no guarantee that these defaults remain unchanged.

Command line​

Adds, replaces, or removes Chrome flags. Keys omit the leading --. true adds a bare flag, a string sets its value, and false removes it. Overrides take precedence over other Chromium options. The user-data-dir and remote-debugging-* flags are reserved. Defaults to {}. Pass a JSON object. Remotion’s default Chrome flags and enabled or disabled features may change between patch versions. There is no guarantee that these defaults remain unchanged.

CLI flag​

--chromium-flags <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.setChromiumFlags({'disable-gpu-rasterization': true, 'disable-gpu-compositing': true});

See also​