@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:
remotion studioremotion renderremotion stillremotion compositionsremotion bundleremotion benchmarkremotion lambda renderremotion lambda stillremotion cloudrun renderremotion cloudrun still
APIs that have this option
The following APIs accept this option:
renderMediaOnCloudrun()renderStillOnCloudrun()getCompositionsOnLambda()renderFramesOnLambda()renderMediaOnLambda()renderStillOnLambda()getCompositions()renderFrames()renderMedia()renderStill()selectComposition()renderMediaOnVercel()renderStillOnVercel()renderMediaOnWeb()renderStillOnWeb()