Skip to main content

Default premount duration in seconds

Set the default premount duration in seconds for timed components in the Studio. Defaults to 0 in v4 and 2 in v5. Must be a finite, non-negative number. The duration is converted to frames using the composition FPS and rounded to the nearest frame. An explicit premountFor prop takes precedence. Does not affect rendering. In the Player, use the defaultPremountInSeconds prop instead.

CLI flag​

--default-premount-in-seconds <value>

The following CLI commands accept this option:

Config file​

remotion.config.ts
Config.setDefaultPremountInSeconds(2);

See also​