Skip to content

🎥 Make videos programmatically with React

fix cli name

Jonny Burger2db2a4bb6935
diff --git a/packages/docs/docs/cli/compositions.mdx b/packages/docs/docs/cli/compositions.mdx
index 5e4c296283..b1ecd34b2c 100644
--- a/packages/docs/docs/cli/compositions.mdx
+++ b/packages/docs/docs/cli/compositions.mdx
@@ -90,9 +90,9 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
<Options id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `--binaries-directory`<AvailableFrom v="4.0.120" />
diff --git a/packages/docs/docs/cli/render.mdx b/packages/docs/docs/cli/render.mdx
index 6ac3c355ab..50375bbb92 100644
--- a/packages/docs/docs/cli/render.mdx
+++ b/packages/docs/docs/cli/render.mdx
@@ -205,9 +205,9 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
<Options cli id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `--enable-multiprocess-on-linux`<AvailableFrom v="4.0.42"/>
diff --git a/packages/docs/docs/cli/still.mdx b/packages/docs/docs/cli/still.mdx
index 7ea75d4797..ca01417959 100644
--- a/packages/docs/docs/cli/still.mdx
+++ b/packages/docs/docs/cli/still.mdx
@@ -124,9 +124,9 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
<Options id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `--enable-multiprocess-on-linux`<AvailableFrom v="4.0.42"/>
diff --git a/packages/docs/docs/cloudrun/cli/render.mdx b/packages/docs/docs/cloudrun/cli/render.mdx
index ffc1035b84..ae4d89eedb 100644
--- a/packages/docs/docs/cloudrun/cli/render.mdx
+++ b/packages/docs/docs/cloudrun/cli/render.mdx
@@ -195,9 +195,9 @@ For example only every second frame, every third frame and so on. Only works for
<Options id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `--color-space`<AvailableFrom v="4.0.28"/>
diff --git a/packages/docs/docs/cloudrun/cli/still.mdx b/packages/docs/docs/cloudrun/cli/still.mdx
index ed25288d28..2206a5fc0a 100644
--- a/packages/docs/docs/cloudrun/cli/still.mdx
+++ b/packages/docs/docs/cloudrun/cli/still.mdx
@@ -105,6 +105,6 @@ Specify the name of the service which should be used to perform the render. This
<Options id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
diff --git a/packages/docs/docs/cloudrun/rendermediaoncloudrun.mdx b/packages/docs/docs/cloudrun/rendermediaoncloudrun.mdx
index 32bfb8c237..0c7bef05b2 100644
--- a/packages/docs/docs/cloudrun/rendermediaoncloudrun.mdx
+++ b/packages/docs/docs/cloudrun/rendermediaoncloudrun.mdx
@@ -355,7 +355,7 @@ Render a silent audio track if there wouldn't be any otherwise.
### `offthreadVideoThreads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `colorSpace?`<AvailableFrom v="4.0.28"/>
diff --git a/packages/docs/docs/cloudrun/renderstilloncloudrun.mdx b/packages/docs/docs/cloudrun/renderstilloncloudrun.mdx
index 1abd2e7403..c46b1f45b8 100644
--- a/packages/docs/docs/cloudrun/renderstilloncloudrun.mdx
+++ b/packages/docs/docs/cloudrun/renderstilloncloudrun.mdx
@@ -196,7 +196,7 @@ A number describing how long the render may take to resolve all [`delayRender()`
### `offthreadVideoThreads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
## Return value
diff --git a/packages/docs/docs/lambda/cli/compositions.mdx b/packages/docs/docs/lambda/cli/compositions.mdx
index 95d041e20b..4b4b9c210c 100644
--- a/packages/docs/docs/lambda/cli/compositions.mdx
+++ b/packages/docs/docs/lambda/cli/compositions.mdx
@@ -127,9 +127,9 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
<Options id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `--force-path-style`<AvailableFrom v="4.0.202" />
diff --git a/packages/docs/docs/lambda/cli/render.mdx b/packages/docs/docs/lambda/cli/render.mdx
index d6f2a337c4..831c0e18fe 100644
--- a/packages/docs/docs/lambda/cli/render.mdx
+++ b/packages/docs/docs/lambda/cli/render.mdx
@@ -253,9 +253,9 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
<Options id="offthreadvideo-cache-size-in-bytes" />
-### `--offthreadvideo-threads`<AvailableFrom v="4.0.261"/>
+### `--offthreadvideo-video-threads`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `--delete-after`<AvailableFrom v="4.0.32"/>
diff --git a/packages/docs/docs/lambda/getcompositionsonlambda.mdx b/packages/docs/docs/lambda/getcompositionsonlambda.mdx
index 3f9ed1150d..0109552ce0 100644
--- a/packages/docs/docs/lambda/getcompositionsonlambda.mdx
+++ b/packages/docs/docs/lambda/getcompositionsonlambda.mdx
@@ -109,7 +109,7 @@ Logs can be read through the CloudWatch URL that this function returns.
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### ~~`dumpBrowserLogs?`~~
diff --git a/packages/docs/docs/lambda/rendermediaonlambda.mdx b/packages/docs/docs/lambda/rendermediaonlambda.mdx
index 761b6a7f2f..e0d114a240 100644
--- a/packages/docs/docs/lambda/rendermediaonlambda.mdx
+++ b/packages/docs/docs/lambda/rendermediaonlambda.mdx
@@ -353,7 +353,7 @@ If the `logLevel` is set to `verbose`, the Lambda function will not clean up art
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `colorSpace?`<AvailableFrom v="4.0.28"/>
diff --git a/packages/docs/docs/lambda/renderstillonlambda.mdx b/packages/docs/docs/lambda/renderstillonlambda.mdx
index 3c7b69c340..6cf10d4cfe 100644
--- a/packages/docs/docs/lambda/renderstillonlambda.mdx
+++ b/packages/docs/docs/lambda/renderstillonlambda.mdx
@@ -205,7 +205,7 @@ Either:
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `deleteAfter?`<AvailableFrom v="4.0.32"/>
diff --git a/packages/docs/docs/lambda/troubleshooting/debug.mdx b/packages/docs/docs/lambda/troubleshooting/debug.mdx
index c1ed4df658..cec9c52661 100644
--- a/packages/docs/docs/lambda/troubleshooting/debug.mdx
+++ b/packages/docs/docs/lambda/troubleshooting/debug.mdx
@@ -6,31 +6,23 @@ title: Debugging failed Lambda renders
crumb: 'Lambda'
---
-<YouTube
- minutes={11}
- href="https://youtu.be/pwVEzTQ6VYE"
- thumb="https://i.ytimg.com/vi/pwVEzTQ6VYE/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLDGudSHhI9u7kkShN_awBk3hbQ9mA"
- title="How to troubleshoot and debug for Remotion Lambda"
-/>
+<YouTube minutes={11} href="https://youtu.be/pwVEzTQ6VYE" thumb="https://i.ytimg.com/vi/pwVEzTQ6VYE/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLDGudSHhI9u7kkShN_awBk3hbQ9mA" title="How to troubleshoot and debug for Remotion Lambda" />
## General debugging strategy
-<Step>1</Step> Reproduce a render via the [`npx remotion lambda
-render`](/docs/lambda/cli/render) command.
-- Use `--props` to pass in a JSON file with the same input props as the render
-you want to debug. - Use `--log=verbose` to get detailed debugging information.<br />
+<Step>1</Step> Reproduce a render via the [`npx remotion lambda render`](/docs/lambda/cli/render) command. - Use `--props` to pass in a JSON file with the same input props as the render you want to debug. - Use `--log=verbose` to get detailed debugging information.
+<br />
-<Step>2</Step> Wait for the render to fully time out or throw an error.<br/>
-<Step>3</Step> Read the error message carefully and use the log links that were
-printed.
+<Step>2</Step> Wait for the render to fully time out or throw an error.
+<br />
+<Step>3</Step> Read the error message carefully and use the log links that were printed.
## Reasons a render may fail
There are four reasons renders may fail:
- <Step>1</Step> An error occurs in your React code.
-- <Step>2</Step> A timeout occurs after calling
- [`delayRender()`](/docs/delay-render).
+- <Step>2</Step> A timeout occurs after calling [`delayRender()`](/docs/delay-render).
- <Step>3</Step> The Lambda function rendering one of the chunks times out.
- <Step>4</Step> The main Lambda function times out.{' '}
@@ -50,9 +42,7 @@ You can increase the timeout by passing `timeoutInMilliseconds` to [`renderMedia
:::
<br />
-If your error message reads that the main Lambda function has timed out, it
-means that the render was still ongoing, but the maximum execution duration of
-the Lambda function has been hit. This is caused by either: <br /> <br />
+If your error message reads that the main Lambda function has timed out, it means that the render was still ongoing, but the maximum execution duration of the Lambda function has been hit. This is caused by either: <br /> <br />
- A render that takes too long to complete within the specified duration. In that case, you should increase the function timeout by passing `--timeout` to the CLI [when deploying a function](/docs/lambda/cli/functions).
- A render that has a bottleneck and completes slowly on Lambda. In that case, you should identify the bottleneck by measuring and optimizing the render. See [Optimizing for speed](/docs/lambda/optimizing-speed) for more tips.
@@ -92,7 +82,7 @@ In the logstream, you will see debug logging from Remotion as well as any `conso
### Find the logs of the main function
-Tweakt the query to find the logs of the main function:
+Tweak the query to find the logs of the main function:
```
method=launch,renderId=[render-id]
diff --git a/packages/docs/docs/renderer/get-compositions.mdx b/packages/docs/docs/renderer/get-compositions.mdx
index d5b1f0e173..5224b1e5b9 100644
--- a/packages/docs/docs/renderer/get-compositions.mdx
+++ b/packages/docs/docs/renderer/get-compositions.mdx
@@ -122,7 +122,7 @@ Allows you to set certain Chromium / Google Chrome flags. See: [Chromium flags](
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `binariesDirectory?`<AvailableFrom v="4.0.120" />
diff --git a/packages/docs/docs/renderer/render-frames.mdx b/packages/docs/docs/renderer/render-frames.mdx
index 7d1152ece7..bb85024f11 100644
--- a/packages/docs/docs/renderer/render-frames.mdx
+++ b/packages/docs/docs/renderer/render-frames.mdx
@@ -280,7 +280,7 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `binariesDirectory?`<AvailableFrom v="4.0.120" />
diff --git a/packages/docs/docs/renderer/render-media.mdx b/packages/docs/docs/renderer/render-media.mdx
index 771459b1c9..52f243fdb8 100644
--- a/packages/docs/docs/renderer/render-media.mdx
+++ b/packages/docs/docs/renderer/render-media.mdx
@@ -447,7 +447,7 @@ Disallows the renderer from doing rendering frames and encoding at the same time
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `colorSpace?`<AvailableFrom v="4.0.28"/>
diff --git a/packages/docs/docs/renderer/render-still.mdx b/packages/docs/docs/renderer/render-still.mdx
index 392a962351..06a25c88cc 100644
--- a/packages/docs/docs/renderer/render-still.mdx
+++ b/packages/docs/docs/renderer/render-still.mdx
@@ -201,7 +201,7 @@ Lets you set a custom user agent that the headless Chrome browser assumes.
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `binariesDirectory?`<AvailableFrom v="4.0.120" />
diff --git a/packages/docs/docs/renderer/select-composition.mdx b/packages/docs/docs/renderer/select-composition.mdx
index 90e294f049..6531363a36 100644
--- a/packages/docs/docs/renderer/select-composition.mdx
+++ b/packages/docs/docs/renderer/select-composition.mdx
@@ -91,7 +91,7 @@ See: [Environment variables](/docs/env-variables/)
### `offthreadVideoThreads?`<AvailableFrom v="4.0.261"/>
-<Options id="offthreadvideo-threads" />
+<Options id="offthreadvideo-video-threads" />
### `binariesDirectory?`<AvailableFrom v="4.0.120" />