Skip to main content

@remotion/media cache sizev4.0.352

Specify the per-render cache budget, in bytes, shared by <Video> and <Audio> from @remotion/media. Active reads can temporarily exceed the budget.
The default is half the available system memory at the start of the render, or 1.5 GB when that measurement is unavailable.

CLI flag​

--media-cache-size-in-bytes <value>

The following CLI commands accept this option:

APIs that have this option​

The following APIs accept this option:

See also​