Skip to content

🎥 Make videos programmatically with React

Update render.md

0xflotusa0d2950a8cc5
diff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.md
index 38b84bf75b..73364ef5fd 100644
--- a/packages/docs/docs/cli/render.md
+++ b/packages/docs/docs/cli/render.md
@@ -34,15 +34,11 @@ Besides choosing a video and output location with the command line arguments, th
Inline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.
:::
-### `--height`
-
-_available from v3.2.40_
+### `--height` <AvailableFrom v="3.2.40" />
[Overrides composition height.](/docs/config#overrideheight)
-### `--width`
-
-_available from v3.2.40_
+### `--width` <AvailableFrom v="3.2.40" />
[Overrides composition width.](/docs/config#overridewidth)
@@ -54,43 +50,39 @@ _available from v3.2.40_
[Set a custom pixel format. See here for available values.](/docs/config#setpixelformat)
-### `--image-format`
+### `--image-format` <AvailableFrom v="1.4.0" />
-[`jpeg` or `png` - JPEG is faster, but doesn't support transparency.](/docs/config#setimageformat) The default image format is `jpeg` since v1.1. Flag available since v1.4.
+[`jpeg` or `png` - JPEG is faster, but doesn't support transparency.](/docs/config#setimageformat) The default image format is `jpeg` since v1.1.
-### `--config`
+### `--config` <AvailableFrom v="1.2.0" />
-Specify a location for the Remotion config file. Available in v1.2 and later.
+Specify a location for the Remotion config file.
-### `--env-file`
+### `--env-file` <AvailableFrom v="2.2.0" />
-Specify a location for a dotenv file. Default `.env`. Available in v2.2 and later.
+Specify a location for a dotenv file. Default `.env`.
-### `--quality`
+### `--quality` <AvailableFrom v="1.4.0" />
-[Value between 0 and 100 for JPEG rendering quality](/docs/config#setquality). Doesn't work when PNG frames are rendered. Available since v1.4.
+[Value between 0 and 100 for JPEG rendering quality](/docs/config#setquality). Doesn't work when PNG frames are rendered.
### `--overwrite`
[Write to output even if file already exists.](/docs/config#setoverwriteoutput). This flag is enabled by default, use `--overwrite=false` to disable it.
-### `--sequence`
+### `--sequence` <AvailableFrom v="1.4.0" />
-[Pass this flag if you want an image sequence as the output instead of a video.](/docs/config#setimagesequence) Available since v1.4.
+[Pass this flag if you want an image sequence as the output instead of a video.](/docs/config#setimagesequence)
-### `--codec`
+### `--codec` <AvailableFrom v="1.4.0" />
-[`h264` or `h265` or `png` or `vp8` or `vp9` or `mp3` or `aac` or `wav` or `prores` or `h264-mkv`](/docs/config#setcodec). If you don't supply `--codec`, it will use the H.264 encoder. Available since v1.4.
+[`h264` or `h265` or `png` or `vp8` or `vp9` or `mp3` or `aac` or `wav` or `prores` or `h264-mkv`](/docs/config#setcodec). If you don't supply `--codec`, it will use the H.264 encoder.
-### `--audio-codec`
-
-_Available from v3.3.42_
+### `--audio-codec` <AvailableFrom v="3.3.42" />
[Set which codec the audio should have.](/docs/config#setaudiocodec) For defaults and possible values, refer to the [Encoding guide](/docs/encoding/#audio-codec).
-### `--audio-bitrate`
-
-_Available from v3.2.32_
+### `--audio-bitrate` <AvailableFrom v="3.2.32" />
Specify the target bitrate for the generated audio.
The syntax for FFMPEGs `-b:a` parameter should be used.
@@ -98,9 +90,7 @@ FFMPEG may encode the video in a way that will not result in the exact audio bit
Example values: `128K` for 128 kbps, `1M` for 1 Mbps.
Default: `320k`
-### `--video-bitrate`
-
-_Available from v3.2.32_
+### `--video-bitrate` <AvailableFrom v="3.2.32" />
Specify the target bitrate for the generated video.
The syntax for FFMPEGs `-b:v` parameter should be used.
@@ -108,55 +98,47 @@ FFMPEG may encode the video in a way that will not result in the exact video bit
This option cannot be set if `--crf` is set.
Example values: `512K` for 512 kbps, `1M` for 1 Mbps.
-### `--prores-profile`
+### `--prores-profile` <AvailableFrom v="2.1.6" />
-[Set the ProRes profile](/docs/config#setproresprofile). This option is only valid if the [`codec`](#--codec) has been set to `prores`. Possible values: `4444-xq`, `4444`, `hq`, `standard`, `light`, `proxy`. See [here](https://video.stackexchange.com/a/14715) for explanation of possible values. Default: `hq`. Available since v2.1.6.
+[Set the ProRes profile](/docs/config#setproresprofile). This option is only valid if the [`codec`](#--codec) has been set to `prores`. Possible values: `4444-xq`, `4444`, `hq`, `standard`, `light`, `proxy`. See [here](https://video.stackexchange.com/a/14715) for explanation of possible values. Default: `hq`.
-### `--crf`
+### `--crf` <AvailableFrom v="1.4.0" />
-[To set Constant Rate Factor (CRF) of the output](/docs/config#setcrf). Minimum 0. Use this rate control mode if you want to keep the best quality and care less about the file size. This option cannot be set if `--video-bitrate` is set. Available since v1.4.
+[To set Constant Rate Factor (CRF) of the output](/docs/config#setcrf). Minimum 0. Use this rate control mode if you want to keep the best quality and care less about the file size. This option cannot be set if `--video-bitrate` is set.
-### `--browser-executable`
+### `--browser-executable` <AvailableFrom v="1.5.0" />
-[Path to a Chrome executable](/docs/config#setbrowserexecutable). If not specified and Remotion cannot find one, it will download one during rendering. Available since v1.5.
+[Path to a Chrome executable](/docs/config#setbrowserexecutable). If not specified and Remotion cannot find one, it will download one during rendering.
### `--scale`
[Scales the output frames by the factor you pass in.](/docs/scaling) For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of `1.5`. Vector elements like fonts and HTML markups will be rendered with extra details. `scale` must be greater than 0 and less than equal to 16. Default: `1`.
-### `--frames`
-
-[Render a subset of a video](/docs/config#setframerange). Example: `--frames=0-9` to select the first 10 frames. To render a still, use the `still` command. Available since v2.0.
+### `--frames` <AvailableFrom v="2.0.0" />
-### `--every-nth-frame`
+[Render a subset of a video](/docs/config#setframerange). Example: `--frames=0-9` to select the first 10 frames. To render a still, use the `still` command.
-_available from v3.1_
+### `--every-nth-frame` <AvailableFrom v="3.1.0" />
[Render only every nth frame.](/docs/config#seteverynthframe) This option may only be set when rendering GIFs. This allows you to lower the FPS of the GIF.
For example only every second frame, every third frame and so on. Only works for rendering GIFs. [See here for more details.](/docs/render-as-gif#reducing-frame-rate)
-### `--muted`
-
-_available from v3.2.1_
+### `--muted` <AvailableFrom v="3.2.1" />
[Disables audio output.](/docs/config#setmuted) This option may only be used when rendering a video.
-### `--enforce-audio-track`
-
-_available from v3.2.1_
+### `--enforce-audio-track` <AvailableFrom v="3.2.1" />
[Render a silent audio track if there wouldn't be one otherwise.](/docs/config#enforceaudiotrack).
-### `--number-of-gif-loops`
-
-_available from v3.1_
+### `--number-of-gif-loops` <AvailableFrom v="3.1.0" />
[Set the looping behavior.](/docs/config#setnumberofgifloops) This option may only be set when rendering GIFs. [See here for more details.](/docs/render-as-gif#changing-the-number-of-loops)
-### `--bundle-cache`
+### `--bundle-cache` <AvailableFrom v="2.0.0" />
-[Enable or disable Webpack caching](/docs/config#setcachingenabled). This flag is enabled by default, use `--bundle-cache=false` to disable caching. Available since v2.0.
+[Enable or disable Webpack caching](/docs/config#setcachingenabled). This flag is enabled by default, use `--bundle-cache=false` to disable caching.
### `--log`
@@ -166,9 +148,7 @@ _available from v3.1_
[Set a custom HTTP server port that will be used to host the Webpack bundle](/docs/config#setport). If not defined, Remotion will try to find a free port.
-### `--public-dir`
-
-_Available from v3.2.13_
+### `--public-dir` <AvailableFrom v="3.2.13" />
[Define the location of the `public/` directory.](/docs/config#setpublicdir). If not defined, Remotion will assume the location is the `public` folder in your Remotion root.
@@ -176,9 +156,7 @@ _Available from v3.2.13_
[Set a custom `ffmpeg` executable](/docs/config#setFfmpegExecutable). If not defined, a `ffmpeg` executable will be searched in `PATH`.
-### `--ffprobe-executable`
-
-_available from v3.0.17_
+### `--ffprobe-executable` <AvailableFrom v="3.0.17" />
[Set a custom `ffprobe` executable](/docs/config#setFfprobeExecutable). If not defined, a `ffprobe` executable will be searched in `PATH`.
@@ -190,19 +168,15 @@ Define how long a single frame may take to resolve all [`delayRender()`](/docs/d
Not to be confused with the [`--timeout` flag when deploying a Lambda function](/docs/lambda/cli/functions#--timeout).
:::
-### `--ignore-certificate-errors`
-
-Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored. Available since v2.6.5.
+### `--ignore-certificate-errors` <AvailableFrom v="2.6.5" />
-### `--disable-web-security`
+Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored.
-_available since v2.6.5_
+### `--disable-web-security` <AvailableFrom v="2.6.5" />
This will most notably disable CORS in Chrome among other security features.
-### `--disable-headless`
-
-_available since v2.6.5_
+### `--disable-headless` <AvailableFrom v="2.6.5" />
Opens an actual browser during rendering to observe the render.