Skip to main content

@remotion/media cache size

Specify the memory budget for decoded media cached by <Video> and <Audio> from @remotion/media, in bytes. This value also determines the maximum read cache size for each distinct media source. It is not a limit on total memory usage.
The default is half of the available system memory when the render starts.

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​