Skip to content

πŸŽ₯ Make videos programmatically with React

isn't

Jonny Burger703a4f68f1c8
diff --git a/packages/docs/docs/render.md b/packages/docs/docs/render.md
index ee33ddb414..48f93ab88a 100644
--- a/packages/docs/docs/render.md
+++ b/packages/docs/docs/render.md
@@ -5,34 +5,48 @@ title: Render your video
crumb: "How To"
---
-Now here comes the magic! To render a video, click the <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style={{height: 16, verticalAlign: "text-bottom"}}><path d="M117.8 128H207C286.9-3.7 409.5-8.5 483.9 5.3c11.6 2.2 20.7 11.2 22.8 22.8c13.8 74.4 9 197-122.7 276.9v89.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9l0-114.7c0-22.6-9-44.3-25-60.3s-37.7-25-60.3-25H24c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3zM424 128a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zM166.5 470C132.3 504.3 66 511 28.3 511.9c-16 .4-28.6-12.2-28.2-28.2C1 446 7.7 379.7 42 345.5c34.4-34.4 90.1-34.4 124.5 0s34.4 90.1 0 124.5zm-46.7-36.4c11.4-11.4 11.4-30 0-41.4s-30-11.4-41.4 0c-10.1 10.1-13 28.5-13.7 41.3c-.5 8 5.9 14.3 13.9 13.9c12.8-.7 31.2-3.7 41.3-13.7z"/></svg> icon in the toolbar.
-Once you are satisfied with the options, confirm the render using the blue `Render video` button.
+There are various ways to render your video.
-## More ways to render
+## Remotion Studio
-### CLI
+To render a video, click the "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style={{height: 16, verticalAlign: "text-bottom"}}><path d="M117.8 128H207C286.9-3.7 409.5-8.5 483.9 5.3c11.6 2.2 20.7 11.2 22.8 22.8c13.8 74.4 9 197-122.7 276.9v89.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9l0-114.7c0-22.6-9-44.3-25-60.3s-37.7-25-60.3-25H24c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3zM424 128a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zM166.5 470C132.3 504.3 66 511 28.3 511.9c-16 .4-28.6-12.2-28.2-28.2C1 446 7.7 379.7 42 345.5c34.4-34.4 90.1-34.4 124.5 0s34.4 90.1 0 124.5zm-46.7-36.4c11.4-11.4 11.4-30 0-41.4s-30-11.4-41.4 0c-10.1 10.1-13 28.5-13.7 41.3c-.5 8 5.9 14.3 13.9 13.9c12.8-.7 31.2-3.7 41.3-13.7z"/></svg> Render" button.
+Choose your preferred settings, then confirm using the `Render video` button.
+
+## CLI
Render a video using [`render` CLI command](/docs/cli/render):
```bash
-npx remotion render
+npx remotion render HelloWorld
```
Modify the composition ID to select a different video to render, or add an output path at the end if you want to override the default.
-### SSR
+You can leave out the composition name and a picker will be shown:
+
+```bash
+npx remotion render
+```
+
+## SSR
Remotion has a full-featured server-side rendering API. Read more about it on the [server-side rendering API](/docs/ssr).
-### AWS Lambda
+## AWS Lambda
Check out [Remotion Lambda](/docs/lambda).
-### GitHub Actions
+## GitHub Actions
You can also render a [video using a GitHub Action.](/docs/ssr#render-using-github-actions)
-### Only audio
+## Google Cloud Run
+
+An official Remotion package for Cloud Run is in development. Register your interest in [Discord](https://remotion.dev/discord) if you want to be a beta tester.
+
+## Variants
+
+### Audio-only
Instead of rendering a video, [you can also just export the audio.](/docs/encoding#audio-only-export)
@@ -44,6 +58,14 @@ Instead of encoding as a video, you can use the [`--sequence`](/docs/cli/render#
If you want a single image, you can do so using [the CLI or Node.JS API](/docs/stills).
-## See also
+### GIF
+
+See: [Render as GIF](/docs/render-as-gif)
+
+### Transparent videos
+
+See: [Creating overlays](/docs/overlay)
+
+### See also
- [CLI options](/docs/cli)
diff --git a/packages/docs/docs/timeline.md b/packages/docs/docs/timeline.md
index 752be644ee..3e9c48558c 100644
--- a/packages/docs/docs/timeline.md
+++ b/packages/docs/docs/timeline.md
@@ -5,19 +5,19 @@ id: timeline
crumb: "Timeline basics"
---
-You can start the preview server of Remotion using:
+You can start preview your video using:
```bash
npm start
```
-This is a shorthand for the `preview` command of the [Remotion CLI](/docs/cli):
+This is a shorthand for the [`studio`](/docs/cli/studio) command of the [Remotion CLI](/docs/cli):
```bash
-npx remotion preview
+npx remotion studio
```
-A server will be started on port `3000` (or a higher port if it's not available) and the preview should open in the browser.
+A server will be started on port `3000` (or a higher port if it isn't available) and the Remotion Studio should open in the browser.
<img src="/img/timeline.png"></img>
@@ -57,11 +57,11 @@ You may also use the keyboard shortcuts:
## Change the canvas size
By default the video scales to fit in the preview window.
-You can pinch:
+You can:
-- pinch to zoom
-- hold <kbd>Shift</kbd> and use the scrollwheel or
-- use the dropdown that says `Fit`
+- Pinch to zoom
+- Hold <kbd>Shift</kbd> and use the scrollwheel or
+- Use the dropdown that says `Fit`
to change the size of the canvas.
@@ -77,9 +77,11 @@ Click on the `Render` button or press <kbd>R</kbd> to open the Render dialog fro
If you are using `In / Out Markers`, the render dialog will automatically set the `Start Frame` and `End Frame` to your selected markers.
-## Quickly switch between compositions
+## Quick Switcher
-Use <kbd>⌘</kbd> / <kbd>Ctrl</kbd> + <kbd>k</kbd> to access the Quick Switcher from which you can directly chose the composition you want to display. Start your input with `>` to switch to the command palette or start your input with `?` to search the documentation.
+Use <kbd>⌘K</kbd> / <kbd>Ctrl+K</kbd> to access the Quick Switcher to quickly change compositions.
+Start your input with `>` to switch to the command palette.
+Start your input with `?` to search the documentation.
## Advanced playback controls
@@ -96,7 +98,3 @@ Use the <kbd>J</kbd>, <kbd>K</kbd>, <kbd>L</kbd> keys to quickly move around the
## Keyboard shortcuts and help
Press <kbd>?</kbd> to open the help dialog which shows you all available keyboard shortcuts. In the opened dialog, enter a search term to search our vast documentation.
-
-## See also
-
-- [Customize the number of timeline tracks shown](/docs/config#setmaxtimelinetracks) using the `setMaxTimelineTracks()` configuration.