🎥 Make videos programmatically with React
update readme
Matt McGillivray609edebee889
diff --git a/packages/gcp/readme.md b/packages/gcp/readme.mdindex b04228bce7..3131191351 100644--- a/packages/gcp/readme.md+++ b/packages/gcp/readme.md@@ -95,15 +95,15 @@ This command will bundle the site and upload it to a GCP bucket. To view storageThis command will render media on the deployed cloud-run service, and return metadata of the rendered file.-### Command: `pnpm exec remotion gcp render <serve-url> <cloud-run-url> <composition-name> --output-bucket=<GCS-bucket-name>`+### Command: `pnpm exec remotion gcp render media <serve-url> <cloud-run-url> <composition-name> --output-bucket=<GCS-bucket-name>`## Manually, making a post requestWithin the Cloud Run service, you can see the URL of the service. Distributed rendering is not yet supported, but rendering a still or media in a single-threaded instance is available.-To render a still, send a POST request to the URL with the following body:+To render media, send a POST request to the URL with the following body:-- type: the type of render. For a still, this should be set to `still`.+- type: the type of render. For media, this should be set to `media`.- composition: the name of the composition to render. This must be available in the bundle that has been deployed to GCP.- serveUrl: the URL of the site that has been deployed to GCP.- inputProps: the props to pass to the composition.@@ -112,20 +112,30 @@ To render a still, send a POST request to the URL with the following body:```{- "type": "still",- "composition": "StillRender",+ "type": "media",+ "composition": "HelloWorld","serveUrl": "https://storage.googleapis.com/remotioncloudrun-n8x4pc7dz3/sites/e97ngid3n3/index.html",+ "codec": "h264","inputProps": {- "text": "Created on Cloud Run™️"+ "titleText": "Welcome to Remotion",+ "titleColor": "black"},"outputBucket": "remotionlambda-test",- "outputFile": "outFolder/stillOutput.png"+ "outputFile": "outFolder/mediaOutput.mp4"}```-To render media, send a POST request to the URL with the following body:+# Render still on GCP-- type: the type of render. For media, this should be set to `media`.+This command will render media on the deployed cloud-run service, and return metadata of the rendered file.++### Command: `pnpm exec remotion gcp render still <serve-url> <cloud-run-url> <composition-name> --output-bucket=<GCS-bucket-name>`++## Manually, making a post request++To render a still, send a POST request to the URL with the following body:++- type: the type of render. For a still, this should be set to `still`.- composition: the name of the composition to render. This must be available in the bundle that has been deployed to GCP.- serveUrl: the URL of the site that has been deployed to GCP.- inputProps: the props to pass to the composition.@@ -134,16 +144,14 @@ To render media, send a POST request to the URL with the following body:```{- "type": "media",- "composition": "HelloWorld",+ "type": "still",+ "composition": "StillRender","serveUrl": "https://storage.googleapis.com/remotioncloudrun-n8x4pc7dz3/sites/e97ngid3n3/index.html",- "codec": "h264","inputProps": {- "titleText": "Welcome to Remotion",- "titleColor": "black"+ "text": "Created on Cloud Run™️"},"outputBucket": "remotionlambda-test",- "outputFile": "outFolder/mediaOutput.mp4"+ "outputFile": "outFolder/stillOutput.png"}```@@ -151,7 +159,8 @@ To render media, send a POST request to the URL with the following body:- 🟩 Render Media is largely finished- 🟩 Address comments within-- 🟩 Render Still command yet to be written+- 🟩 Render Still command written+ - 🟩 Address comments within- 🟩 Cloud Run render only ever puts the output in a bucket, not available for download.<br><br><br><br>