Skip to content

🎥 Make videos programmatically with React

out

Jonny Burger6ff6b039fd57
diff --git a/packages/docs/docs/cli.md b/packages/docs/docs/cli.md
index cd59c0f65d..fc2d59a28d 100644
--- a/packages/docs/docs/cli.md
+++ b/packages/docs/docs/cli.md
@@ -169,7 +169,7 @@ Print the list of available CLI commands and flags.
## Example command
```
-npx remotion render --codec=vp8 src/index.tsx HelloWorld video.webm
+npx remotion render --codec=vp8 src/index.tsx HelloWorld out/video.webm
```
## See also
diff --git a/packages/docs/docs/get-input-props.md b/packages/docs/docs/get-input-props.md
index ba040963aa..8208a6dc99 100644
--- a/packages/docs/docs/get-input-props.md
+++ b/packages/docs/docs/get-input-props.md
@@ -18,7 +18,7 @@ This method is not available when inside a Remotion Player. Instead, get the pro
Pass in a [parseable](/docs/cli) JSON representation using the `--props` flag to either `remotion preview` or `remotion render`:
```bash
-npx remotion render --props='{"hello": "world"}' src/index.tsx my-composition out.mp4
+npx remotion render --props='{"hello": "world"}' src/index.tsx my-composition out/video.mp4
```
You can then access the props in JavaScript:
diff --git a/packages/docs/docs/parametrized-rendering.md b/packages/docs/docs/parametrized-rendering.md
index a65dc01940..198343e249 100644
--- a/packages/docs/docs/parametrized-rendering.md
+++ b/packages/docs/docs/parametrized-rendering.md
@@ -73,13 +73,13 @@ When rendering (for example using the `npm run build` script defined in `package
**Using inline JSON**
```bash
-npx remotion render src/index.tsx HelloWorld helloworld.mp4 --props='{"propOne": "Hi", "propTwo": 10}'
+npx remotion render src/index.tsx HelloWorld out/helloworld.mp4 --props='{"propOne": "Hi", "propTwo": 10}'
```
**Using a file path:**
```bash
-npx remotion render src/index.tsx HelloWorld helloworld.mp4 --props=./path/to/props.json
+npx remotion render src/index.tsx HelloWorld out/helloworld.mp4 --props=./path/to/props.json
```
[See also: CLI flags](/docs/cli)
diff --git a/packages/docs/docs/render.md b/packages/docs/docs/render.md
index 223dd8ad0e..52cb0a6690 100644
--- a/packages/docs/docs/render.md
+++ b/packages/docs/docs/render.md
@@ -12,7 +12,7 @@ npm run build
The underlying command in package.json is defined as follows:
```bash
-npx remotion render src/index.tsx HelloWorld out.mp4
+npx remotion render src/index.tsx HelloWorld out/video.mp4
```
Modify it to select a different video to render, or change its output location.