OffthreadVideo cache size
From v4.0, Remotion has a cache for <OffthreadVideo> frames. The default is null, corresponding to half of the system memory available when the render starts.
This option allows to override the size of the cache. The higher it is, the faster the render will be, but the more memory will be used.
The used value will be printed when running in verbose mode.
Default: null
CLI flag
--offthreadvideo-cache-size-in-bytes <value>The following CLI commands accept this option:
remotion studioremotion renderremotion stillremotion compositionsremotion benchmarkremotion lambda renderremotion lambda stillremotion cloudrun renderremotion cloudrun still
APIs that have this option
The following APIs accept this option:
renderMediaOnCloudrun()renderStillOnCloudrun()getCompositionsOnLambda()renderMediaOnLambda()renderStillOnLambda()getCompositions()renderFrames()renderMedia()renderStill()selectComposition()