Skip to content

🎥 Make videos programmatically with React

add more documentation

Akshit Tyagie28cc8be268a
diff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.md
index 3812b424bb..a48acc9375 100644
--- a/packages/docs/docs/cli/render.md
+++ b/packages/docs/docs/cli/render.md
@@ -28,11 +28,11 @@ Inline JSON string isn't supported on Windows because it removes the `"` charact
### `--height`
-[Set custom height for the render.](/docs/config#setheight)
+[Specify new height (in pixels) for the rendered video.](/docs/config#setheight) Must be an even positive integer for h264 videos.
### `--width`
-[Set custom width for the render.](/docs/config#setwidth)
+[Specify new width (in pixels) for the rendered video.](/docs/config#setwidth) Must be an even positive integer for h264 videos.
### `--concurrency`
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.md
index 38d4d2c12f..ebf1d2090f 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -492,7 +492,7 @@ The [command line flag](/docs/cli/render#--sequence) `--sequence` will take prec
_Available from Version_
-Sets/Overrides the height of the rendered video.
+Sets/Overrides the height of the rendered video. Must be an even positive integer for h264 videos.
```ts twoslash
import { Config } from "remotion";
@@ -507,7 +507,7 @@ The [command line flag](/docs/cli/render#--height) `--height` will take preceden
_Available from Version_
-Sets/Overrides the width of the rendered video.
+Sets/Overrides the width of the rendered video. Must be an even positive integer for h264 videos.
```ts twoslash
import { Config } from "remotion";
@@ -515,7 +515,6 @@ import { Config } from "remotion";
Config.Output.setWidth(900);
```
-
The [command line flag](/docs/cli/render#--width) `--width` will take precedence over this option
### ~~setOutputFormat()~~
diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.md
index 8b08cfa3c4..008ac18d2e 100644
--- a/packages/docs/docs/lambda/cli/render.md
+++ b/packages/docs/docs/lambda/cli/render.md
@@ -192,6 +192,14 @@ If a custom out name is specified and a file already exists at this key in the S
An existing file at the output S3 key will conflict with the render and must be deleted beforehand. If this setting is `false` and a conflict occurs, an error will be thrown.
+### `--height`
+
+[Specify new height (in pixels) for the rendered video.](/docs/config#setheight) Must be an even positive integer for h264 videos.
+
+### `--width`
+
+[Specify new width (in pixels) for the rendered video.](/docs/config#setwidth) Must be an even positive integer for h264 videos.
+
### `--webhook`
_available from v3.2.30_
diff --git a/packages/docs/docs/lambda/rendermediaonlambda.md b/packages/docs/docs/lambda/rendermediaonlambda.md
index bc261c44c3..e30faadf4e 100644
--- a/packages/docs/docs/lambda/rendermediaonlambda.md
+++ b/packages/docs/docs/lambda/rendermediaonlambda.md
@@ -85,6 +85,15 @@ Audio codecs `mp3`, `aac` and `wav` are also supported.
See also [`renderMedia() -> codec`](/docs/renderer/render-media#codec).
+
+### `height`
+
+Specifies new height. See also [`renderMedia() -> height`](/docs/renderer/render-media#height).
+
+### `width`
+
+Specifies new width. See also [`renderMedia() -> height`](/docs/renderer/render-media#height).
+
### `muted`
Disables audio output. See also [`renderMedia() -> muted`](/docs/renderer/render-media#muted).
diff --git a/packages/docs/docs/lambda/renderstillonlambda.md b/packages/docs/docs/lambda/renderstillonlambda.md
index 64d9c7af20..2e111c0c52 100644
--- a/packages/docs/docs/lambda/renderstillonlambda.md
+++ b/packages/docs/docs/lambda/renderstillonlambda.md
@@ -100,6 +100,14 @@ _optional - default `{}`_
See [`renderMedia() -> envVariables`](/docs/renderer/render-media#envvariables).
+### `height`
+
+Specify height of the output image in pixels.
+
+### `width`
+
+Specify width of the output image in pixels.
+
### `scale`
_optional_
diff --git a/packages/docs/docs/renderer/render-media.md b/packages/docs/docs/renderer/render-media.md
index f7eb53ed1b..b8246fe910 100644
--- a/packages/docs/docs/renderer/render-media.md
+++ b/packages/docs/docs/renderer/render-media.md
@@ -68,6 +68,14 @@ _object - optional_
An object of arbitrary shape that will be passed as [props to your composition](/docs/parametrized-rendering) and that can be retrieved using [`getInputProps()`](/docs/get-input-props).
+### `--height`
+
+[Specify new height (in pixels) for the rendered video.](/docs/config#setheight) Must be an even positive integer for h264 videos.
+
+### `--width`
+
+[Specify new width (in pixels) for the rendered video.](/docs/config#setwidth) Must be an even positive integer for h264 videos.
+
### `concurrency?`
_optional_