Skip to content

🎥 Make videos programmatically with React

add more APIs

Jonny Burger6fcb579a9f0d
diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.md
index 8f2f3c27e5..80a7fb6bba 100644
--- a/packages/docs/docs/lambda/cli/render.md
+++ b/packages/docs/docs/lambda/cli/render.md
@@ -122,15 +122,20 @@ _available from v3.2.1_
### `--audio-bitrate`
-Specify the output bitrate for the generated audio.
-Beware, ffmpeg may, depending on the codec chosen, not take this parameter into account.
-Example: `512K`, `1M`
+_Available from v3.2.32_
+
+Specify the target bitrate for the generated audio.
+The syntax for FFMPEGs `-b:a` parameter should be used.
+FFMPEG may encode the video in a way that will not result in the exact audio bitrate specified.
+Example values: `128K` for 128 kbps, `1M` for 1 Mbps.
### `--video-bitrate`
-Specify the output bitrate for the generated video.
-Beware, ffmpeg may, depending on the codec chosen, not take this parameter into account.
-Example: `512K`, `1M`
+Specify the target bitrate for the generated video.
+The syntax for FFMPEGs `-b:v` parameter should be used.
+FFMPEG may encode the video in a way that will not result in the exact video bitrate specified.
+This option cannot be set if `--crf` is set.
+Example values: `512K` for 512 kbps, `1M` for 1 Mbps.
### `--prores-profile`
diff --git a/packages/docs/docs/renderer/render-media.md b/packages/docs/docs/renderer/render-media.md
index c4f776063e..410ab9b648 100644
--- a/packages/docs/docs/renderer/render-media.md
+++ b/packages/docs/docs/renderer/render-media.md
@@ -43,19 +43,23 @@ Choose a suitable codec for your output media. Refer to the [Encoding guide](/do
### `audioBitrate?`
-_string - optional_
+_string - optional, available from v3.2.32_
-Specify the output bitrate for the generated audio.
-Beware, ffmpeg may, depending on the codec chosen, not take this parameter into account.
-Example: `512K`, `1M`
+Specify the target bitrate for the generated video.
+The syntax for FFMPEGs `-b:v` parameter should be used.
+FFMPEG may encode the video in a way that will not result in the exact video bitrate specified.
+This option cannot be set if `--crf` is set.
+Example values: `512K` for 512 kbps, `1M` for 1 Mbps.
### `videoBitrate?`
-_string - optional_
+_string - optional, available from v3.2.32_
-Specify the output bitrate for the generated video.
-Beware, ffmpeg may, depending on the codec chosen, not take this parameter into account.
-Example: `512K`, `1M`
+Specify the target bitrate for the generated video.
+The syntax for FFMPEGs `-b:v` parameter should be used.
+FFMPEG may encode the video in a way that will not result in the exact video bitrate specified.
+This option cannot be set if `--crf` is set.
+Example values: `512K` for 512 kbps, `1M` for 1 Mbps.
### `inputProps?`
diff --git a/packages/docs/docs/renderer/stitch-frames-to-video.md b/packages/docs/docs/renderer/stitch-frames-to-video.md
index 8809256cca..7ca3c15aaa 100644
--- a/packages/docs/docs/renderer/stitch-frames-to-video.md
+++ b/packages/docs/docs/renderer/stitch-frames-to-video.md
@@ -63,19 +63,23 @@ Set a codec. See the [encoding guide](/docs/encoding) for available values and g
### `audioBitrate?`
-_string - optional_
+_string - optional, available from v3.2.32_
-Specify the output bitrate for the generated audio.
-Beware, ffmpeg may, depending on the codec chosen, not take this parameter into account.
-Example: `512K`, `1M`
+Specify the target bitrate for the generated video.
+The syntax for FFMPEGs `-b:v` parameter should be used.
+FFMPEG may encode the video in a way that will not result in the exact video bitrate specified.
+This option cannot be set if `--crf` is set.
+Example values: `512K` for 512 kbps, `1M` for 1 Mbps.
### `videoBitrate?`
-_string - optional_
+_string - optional, available from v3.2.32_
-Specify the output bitrate for the generated video.
-Beware, ffmpeg may, depending on the codec chosen, not take this parameter into account.
-Example: `512K`, `1M`
+Specify the target bitrate for the generated video.
+The syntax for FFMPEGs `-b:v` parameter should be used.
+FFMPEG may encode the video in a way that will not result in the exact video bitrate specified.
+This option cannot be set if `--crf` is set.
+Example values: `512K` for 512 kbps, `1M` for 1 Mbps.
### `crf?`