🎥 Make videos programmatically with React
update docs
Jonny Burger9ddc45366619
diff --git a/packages/docs/docs/cloudrun/cli/sites.mdx b/packages/docs/docs/cloudrun/cli/sites.mdxindex d576268325..6c4564c311 100644--- a/packages/docs/docs/cloudrun/cli/sites.mdx+++ b/packages/docs/docs/cloudrun/cli/sites.mdx@@ -2,13 +2,20 @@image: /generated/articles-docs-cloudrun-cli-sites.pngid: sitessidebar_label: sites-title: "npx remotion cloudrun sites"+title: 'npx remotion cloudrun sites'slug: /cloudrun/cli/sites-crumb: "Cloud Run CLI Reference"+crumb: 'Cloud Run CLI Reference'---<ExperimentalBadge>-<p>Cloud Run is in <a href="/docs/cloudrun-alpha">Alpha</a>, which means APIs may change in any version and documentation is not yet finished. See the <a href="https://remotion.dev/changelog">changelog to stay up to date with breaking changes</a>.</p>+ <p>+ Cloud Run is in <a href="/docs/cloudrun-alpha">Alpha</a>, which means APIs+ may change in any version and documentation is not yet finished. See the{' '}+ <a href="https://remotion.dev/changelog">+ changelog to stay up to date with breaking changes+ </a>+ .+ </p></ExperimentalBadge>The `npx remotion cloudrun sites` command allows to create, view and delete Remotion projects in your Cloud Storage bucket.@@ -42,23 +49,6 @@ You can use this "Serve URL" to render a video on Remotion Cloud Run using:If you are rendering on Cloud Run, you can also pass the site Name (in this case `mySite123`) as an abbreviation.-<details>-<summary>-Example output-</summary>-<pre>-(1/3) [====================] Bundled video 3975ms<br/>-(2/3) [====================] Created bucket 457ms<br/>-(3/3) [====================] Uploaded to GCP Storage Bucket 25118ms<br/>-<br/>-Deployed to GCP Cloud Storage!<br/><br/>-Site: mySite123<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/mySite123/index.html<br/>-</pre>-</details>-### `--region`The [GCP region](/docs/cloudrun/region-selection) to select. The service accessing the site should also be in this same region to minimise latency.@@ -71,22 +61,9 @@ Uploads the project to a specific directory and returns a deterministic URL. Ifnpx remotion cloudrun sites create src/index.ts --site-name=another-site```-<details>-<summary>-Example output-</summary>-<pre>-(1/3) [====================] Bundled video 3975ms<br/>-(2/3) [====================] Created bucket 457ms<br/>-(3/3) [====================] Uploaded to Cloud Storage 25118ms<br/>-<br/>-Deployed to GCP Cloud Storage!<br/><br/>-Site: another-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html<br/>-</pre>-</details>+### `--disable-git-source`<AvailableFrom v="4.0.182" />++<Options id="disable-git-source" />## ls@@ -97,20 +74,30 @@ npx remotion cloudrun sites lsGet a list of sites. The URL that is printed can be passed to the `render` command to render a video.<details>-<summary>-Example output-</summary>-<pre>-2 sites in us-east1, in the remotion-example project.<br/><br/>-Site: another-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html<br/><br/>-Site: test-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html<br/>-</pre>+ <summary>Example output</summary>+ <pre>+ 2 sites in us-east1, in the remotion-example project.+ <br />+ <br />+ Site: another-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html+ <br />+ <br />+ Site: test-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url:+ https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html+ <br />+ </pre></details>### `--region`@@ -126,24 +113,38 @@ npx remotion cloudrun sites ls --all-regions```<details>-<summary>-Example output-</summary>-<pre>-3 sites in all regions, in the remotion-example project.<br/><br/>-Site: another-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html<br/><br/>-Site: test-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html<br/><br/>-Site: central-site<br/>-Bucket: remotioncloudrun-abcdefgh<br/>-Region: us-central1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html-</pre>+ <summary>Example output</summary>+ <pre>+ 3 sites in all regions, in the remotion-example project.+ <br />+ <br />+ Site: another-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html+ <br />+ <br />+ Site: test-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url:+ https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html+ <br />+ <br />+ Site: central-site+ <br />+ Bucket: remotioncloudrun-abcdefgh+ <br />+ Region: us-central1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html+ </pre></details>### `--quiet`, `-q`@@ -155,12 +156,11 @@ npx remotion cloudrun sites ls -q```<details>-<summary>-Example output-</summary>-<pre>-another-site test-site central-site<br/>-</pre>+ <summary>Example output</summary>+ <pre>+ another-site test-site central-site+ <br />+ </pre></details>## rm@@ -173,18 +173,22 @@ npx remotion cloudrun sites rm central-site another-site # multiple at once```<details>-<summary>-Example output-</summary>-<pre>-Site: central-site<br/>-Bucket: remotioncloudrun-abcdefgh<br/>-Region: us-central1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html<br/><br/>-Delete? (Y/n) Y<br/>-Deleted site central-site from bucket remotioncloudrun-abcdefgh.-<br/>-</pre>+ <summary>Example output</summary>+ <pre>+ Site: central-site+ <br />+ Bucket: remotioncloudrun-abcdefgh+ <br />+ Region: us-central1+ <br />+ Serve Url:+ https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html+ <br />+ <br />+ Delete? (Y/n) Y<br />+ Deleted site central-site from bucket remotioncloudrun-abcdefgh.+ <br />+ </pre></details>### `--region`@@ -212,24 +216,37 @@ npx remotion cloudrun sites rmall```<details>-<summary>-Example output-</summary>-<pre>-Retrieving sites in us-east1.<br/><br/>-Site: another-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html<br/><br/>-Delete? (Y/n) n<br/>-Skipping site - another-site.<br/><br/><br/>-Site: test-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html<br/><br/>-Delete? (Y/n) n<br/>-Skipping site - test-site.-</pre>+ <summary>Example output</summary>+ <pre>+ Retrieving sites in us-east1.+ <br />+ <br />+ Site: another-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html+ <br />+ <br />+ Delete? (Y/n) n<br />+ Skipping site - another-site.+ <br />+ <br />+ <br />+ Site: test-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html+ <br />+ <br />+ Delete? (Y/n) n<br />+ Skipping site - test-site.+ </pre></details>### `--region`@@ -245,30 +262,51 @@ npx remotion cloudrun sites rmall --all-regions```<details>-<summary>-Example output-</summary>-<pre>-Retrieving sites in all regions.<br/><br/>-Site: another-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html<br/><br/>-Delete? (Y/n) n<br/>-Skipping site - another-site.<br/><br/><br/>-Site: test-site<br/>-Bucket: remotioncloudrun-12345<br/>-Region: us-east1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html<br/><br/>-Delete? (Y/n) n<br/>-Skipping site - test-site.<br/><br/><br/>-Site: central-site<br/>-Bucket: remotioncloudrun-abcdefgh<br/>-Region: us-central1<br/>-Serve Url: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html<br/><br/>-Delete? (Y/n) n<br/>-Skipping site - central-site.-</pre>+ <summary>Example output</summary>+ <pre>+ Retrieving sites in all regions.+ <br />+ <br />+ Site: another-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html+ <br />+ <br />+ Delete? (Y/n) n<br />+ Skipping site - another-site.+ <br />+ <br />+ <br />+ Site: test-site+ <br />+ Bucket: remotioncloudrun-12345+ <br />+ Region: us-east1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html+ <br />+ <br />+ Delete? (Y/n) n<br />+ Skipping site - test-site.+ <br />+ <br />+ <br />+ Site: central-site+ <br />+ Bucket: remotioncloudrun-abcdefgh+ <br />+ Region: us-central1+ <br />+ Serve Url: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html+ <br />+ <br />+ Delete? (Y/n) n<br />+ Skipping site - central-site.+ </pre></details>### `--yes`, `-y`diff --git a/packages/docs/docs/lambda/cli/render.mdx b/packages/docs/docs/lambda/cli/render.mdxindex 7023a8a92c..1e967fa655 100644--- a/packages/docs/docs/lambda/cli/render.mdx+++ b/packages/docs/docs/lambda/cli/render.mdx@@ -2,12 +2,12 @@image: /generated/articles-docs-lambda-cli-render.pngid: rendersidebar_label: render-title: "npx remotion lambda render"+title: 'npx remotion lambda render'slug: /lambda/cli/render-crumb: "Lambda CLI Reference"+crumb: 'Lambda CLI Reference'----import { MinimumFramesPerLambda } from "../../../components/lambda/default-frames-per-lambda";+import {MinimumFramesPerLambda} from '../../../components/lambda/default-frames-per-lambda';import {AngleChangelog} from '../../../components/AngleChangelog';Using the `npx remotion lambda render` command, you can render a video in the cloud.@@ -190,6 +190,10 @@ For example only every second frame, every third frame and so on. Only works for<Options id="number-of-gif-loops" />+### `--timeout`++A number describing how long the render may take to resolve all [`delayRender()`](/docs/delay-render) calls [before it times out](/docs/timeout). Default: `30000`+### `--out-name`The file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.mp4`. Must match `/([0-9a-zA-Z-!_.*'()/]+)/g`.@@ -252,11 +256,11 @@ Lets you set a custom user agent that the headless Chrome browser assumes.### `--delete-after`<AvailableFrom v="4.0.32"/>-<Options id="delete-after" cli/>+<Options id="delete-after" cli />### `--webhook-custom-data`<AvailableFrom v="4.0.25"/>-<Options id="webhook-custom-data" cli/>+<Options id="webhook-custom-data" cli />### `--color-space`<AvailableFrom v="4.0.28"/>