Skip to content

🎥 Make videos programmatically with React

ship remotion 3.2 blog post

Jonny Burger524e4b3088ba
diff --git a/packages/docs/blog/2022-08-10-remotion-3-2.md b/packages/docs/blog/2022-08-10-remotion-3-2.md
index 56ff432a66..0db52907a6 100644
--- a/packages/docs/blog/2022-08-10-remotion-3-2.md
+++ b/packages/docs/blog/2022-08-10-remotion-3-2.md
@@ -11,19 +11,25 @@ image: https://remotion-still.herokuapp.com/PreviewCard.png?title=Remotion%203.2
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
+<br/>
+Up in this release: More ways to create videos and better workflow!
+
## Lottie support
-We now have a proper Lottie integration, including an official [`@remotion/lottie`](/docs/lottie) package, a typesafe component and documentation.
+Announcing the official [`@remotion/lottie`](/docs/lottie) package, including a [typesafe component](/docs/lottie/lottie) and extensive [documentation](/docs/lottie).
With Lottie, you can import thousands of premade animations from [LottieFiles](/docs/lottie/lottiefiles) and we even made a guide on [how to import animations created in After Effects](/docs/lottie/after-effects)!
-To get started, install `@remotion/lottie` and import the [`<Lottie>`](/docs/lottie) component:
+<img src="/img/lottie.gif"/>
+<p align="center"><sub>Animations from Lottiefiles embedded in Remotion: <a href="https://lottiefiles.com/106683-gold">1</a>, <a href="https://lottiefiles.com/112208-smiling-face-with-halo">2</a>, <a href="https://lottiefiles.com/111529-rocket">3</a></sub></p>
+
+To get started, install `@remotion/lottie` into your Remotion project and import the [`<Lottie>`](/docs/lottie) component:
<Tabs
defaultValue="npm"
values={[
{ label: 'npm', value: 'npm', },
-{ label: 'yarn', value: 'yarn', },
{ label: 'pnpm', value: 'pnpm', },
+{ label: 'yarn', value: 'yarn', },
]
}>
<TabItem value="npm">
@@ -34,58 +40,63 @@ npm i @remotion/lottie
</TabItem>
- <TabItem value="yarn">
+ <TabItem value="pnpm">
```bash
-yarn add @remotion/lottie
+pnpm i @remotion/lottie
```
</TabItem>
-
- <TabItem value="pnpm">
+ <TabItem value="yarn">
```bash
-pnpm i @remotion/lottie
+yarn add @remotion/lottie
```
</TabItem>
+
</Tabs>
+Thanks to [Arthur Denner](https://github.com/arthurdenner) for implementing this feature!
+
## React Native Skia support
-Using the [`@remotion/skia`](/docs/skia) package, you can now use [React Native Skia](https://shopify.github.io/react-native-skia/) in Remotion! Thanks to our collaborators [William Candillon](https://youtube.com/wcandillon) and [Christian Falch](https://twitter.com/chrfalch), Remotion is now a first-class target for React Native Skia. Check out the epic announcement video, read the docs and make your first video using:
+Using the [`@remotion/skia`](/docs/skia) package, you can now use [React Native Skia](https://shopify.github.io/react-native-skia/) in Remotion! Thanks to our collaborators [William Candillon](https://youtube.com/wcandillon) and [Christian Falch](https://twitter.com/chrfalch), Remotion is now a first-class target for React Native Skia.
+<img src="/img/skia.gif" />
+
+Check out the [epic announcement video](https://www.youtube.com/watch?v=uvLQ5f3KDXk&t=24s), [read the docs](/skia) and make your first video using:
<Tabs
defaultValue="npm"
values={[
{ label: 'npm', value: 'npm', },
-{ label: 'yarn', value: 'yarn', },
{ label: 'pnpm', value: 'pnpm', },
+{ label: 'yarn', value: 'yarn', },
]
}>
<TabItem value="npm">
```bash
-npm i @remotion/skia @shopify/react-native-skia react-native-web
+npx create-video --skia
```
</TabItem>
- <TabItem value="yarn">
+ <TabItem value="pnpm">
```bash
-yarn add @remotion/skia @shopify/react-native-skia react-native-web
+pnpm create video -- --skia
```
</TabItem>
-
- <TabItem value="pnpm">
+ <TabItem value="yarn">
```bash
-pnpm i @remotion/skia @shopify/react-native-skia react-native-web
+yarn create video --skia
```
</TabItem>
+
</Tabs>
## Zoomable timeline
@@ -94,9 +105,11 @@ Our timeline has some new features that make it behave more like traditional vid
The other new timeline feature is that there are now ticks that appear every second, and when zoomed in, smaller ticks that denote the positions of a single frame. This should help you orient yourself when you are asking yourselves at which point of the video you are at.
+<img src="/img/scroll-timeline.gif"/>
+
## Improvements to audio-only and video-only rendering
-You can now explicitly drop the audio of a video by passing `--muted` in the render. Videos that include no audio are now faster because we don't include a silent audio track anymore (use `--enforce-audio-track` to get the old behavior).
+You can now explicitly drop the audio of a video by passing [`--muted`](/docs/cli/render#--muted) in the render. Videos that include no audio are now faster because we don't include a silent audio track anymore (use [`--enforce-audio-track`](/docs/cli/render#--enforce-audio-track) to get the old behavior).
Renders that are audio only are now faster because Remotion will not wait for the video tags to seek.
@@ -107,12 +120,12 @@ Renders that are only video are now faster because no assets need to be download
- The back and forwards button now work in the preview.
- Chrome 104 is now available on Remotion Lambda which means you can use the [handy transform shorthands](https://twitter.com/JNYBGR/status/1555055938008223744)!
- You can now render ProRes on Remotion Lambda.
-- Remotion Lambda now has a `privacy: "no-acl"` option if you are rendering into a bucket that has the ACL feature disabled.
-- Remotion Lambda now supports a `downloadBehavior` props which makes it that when a output file link gets clicked in the browser, it will download.
-- Adding an output filename to the `npx remotion render` command is not necessary anymore, it will default to `out/{composition-id}.{extension}` now.
-- The `<Player>` has a new `moveToBeginningWhenEnded` prop that determines if the player moves back to the beginning when the video has reached the end and is not looping.
-- The `<Player>` has a new `fullscreenchange` event that allows you to
-- You can now assign a `className` to the `<Player>`.
+- Remotion Lambda now has a [`privacy: "no-acl"`](/docs/lambda/rendermediaonlambda#privacy) option if you are rendering into a bucket that has the ACL feature disabled.
+- Remotion Lambda now supports a [`downloadBehavior`](/docs/lambda/rendermediaonlambda#downloadbehavior) prop which makes it that when a output file link gets clicked in the browser, it will download instead of play in the browser.
+- Adding an output filename to the [`npx remotion render`](/docs/cli/render) command is not necessary anymore, it will default to `out/{composition-id}.{extension}` now.
+- The `<Player>` has a new [`moveToBeginningWhenEnded`](/docs/player/api#movetobeginningwhenended) prop that determines if the player moves back to the beginning when the video has reached the end and is not looping.
+- The `<Player>` has a new [`fullscreenchange`](/docs/player/api#fullscreenchange) event that allows you to
+- You can now assign a `className` to the [`<Player>`](/docs/player/api).
## Developer experience
@@ -135,4 +148,5 @@ Renders that are only video are now faster because no assets need to be download
- The CLI configuration code has moved from `remotion` to `@remotion/cli`, which makes the `remotion` package 30% smaller.
- We moved from `jest` to `vitest` for some packages.
+- `puppeteer-core` and `chalk` dependencies have been inlined.
- We adopted Node.JS Corepack.
diff --git a/packages/docs/docs/lambda/rendermediaonlambda.md b/packages/docs/docs/lambda/rendermediaonlambda.md
index 515d43dc7f..818ec49073 100644
--- a/packages/docs/docs/lambda/rendermediaonlambda.md
+++ b/packages/docs/docs/lambda/rendermediaonlambda.md
@@ -86,7 +86,7 @@ Audio codecs `mp3`, `aac` and `wav` are also supported.
See also [`renderMedia() -> codec`](/docs/renderer/render-media#codec).
-### `--muted`
+### `muted`
Disables audio output. See also [`renderMedia() -> muted`](/docs/renderer/render-media#muted).
diff --git a/packages/docs/static/img/lottie.gif b/packages/docs/static/img/lottie.gif
new file mode 100644
index 0000000000..706fe55fac
Binary files /dev/null and b/packages/docs/static/img/lottie.gif differ
diff --git a/packages/docs/static/img/scroll-timeline.gif b/packages/docs/static/img/scroll-timeline.gif
new file mode 100644
index 0000000000..71b1dbd09e
Binary files /dev/null and b/packages/docs/static/img/scroll-timeline.gif differ
diff --git a/packages/docs/static/img/skia.gif b/packages/docs/static/img/skia.gif
new file mode 100644
index 0000000000..d1e44b8971
Binary files /dev/null and b/packages/docs/static/img/skia.gif differ