npx remotion benchmark
available from v3.2.28
Measures render time by running a render multiple times, if desired with multiple compositions and concurrency values to compare against each other.
bash
npx remotion benchmark src/index.ts [composition-ids]
bash
npx remotion benchmark src/index.ts [composition-ids]
You can provide multiple composition IDs separated by comma, ex: npx remotion benchmark src/index.ts --codec=h264 Main,Canvas,CSS
If composition-ids
is not passed, Remotion will let you select compositions from a list.
Flags
--runs
optional. Default is 3
Specify how many times video must be rendered. Default value is 3.
--concurrencies
optional
You can specify which concurrency value should be used while rendering the video. Multiple concurrency values can be passed separated by comma. Learn more about concurrency
--codec
optional
Inherited from npx remotion render
--audio-codec
optional
Inherited from npx remotion render
--crf
optional
Inherited from npx remotion render
--frames
optional
Inherited from npx remotion render
--image-format
optional
Inherited from npx remotion render
--pixel-format
optional
Inherited from npx remotion render
--props
optional
Inherited from npx remotion render
--prores-profile
optional
Inherited from npx remotion render
--jpeg-quality
optional, available from v4.0.0
Inherited from npx remotion render
--quality
--quality
optional, removed in v4.0.0
Renamed to --jpeg-quality
.
--log
optional
Inherited from npx remotion render
--ignore-certificate-errors
optional
Inherited from npx remotion render
--disable-web-security
optional
Inherited from npx remotion render
--disable-headless
optional
Inherited from npx remotion render
--enable-multiprocess-on-linux
v4.0.42
Removes the --single-process
flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.--gl
optional
Inherited from npx remotion render
--timeout
optional
Inherited from npx remotion render
--scale
optional
Inherited from npx remotion render
--port
optional
Inherited from npx remotion render
--number-of-gif-loops
optional
Inherited from npx remotion render
--every-nth-frame
optional
Inherited from npx remotion render
--log
optional
Inherited from npx remotion render
--muted
optional
Inherited from npx remotion render
--enforce-audio-track
optional
Inherited from npx remotion render
--browser-executable
optional
Inherited from npx remotion render
--public-dir
optional
Inherited from npx remotion render
--config
optional
Inherited from npx remotion render
--bundle-cache
optional
Inherited from npx remotion render
--video-bitrate
optional
Inherited from npx remotion render
--audio-bitrate
optional
Inherited from npx remotion render
--offthreadvideo-cache-size-in-bytes
v4.0.23
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
--color-space
v4.0.28
Color space to use for the video. Acceptable values: "default"
, "bt709"
--ffmpeg-executable
--ffmpeg-executable
optional, removed in v4.0
Inherited from npx remotion render
--ffprobe-executable
--ffprobe-executable
optional, removed in v4.0
Inherited from npx remotion render