Skip to content

🎥 Make videos programmatically with React

3.0 blog post

Jonny Burgerb05bf891c86a
diff --git a/packages/docs/blog/2032-01-01-remotion-3-0.md b/packages/docs/blog/2032-01-01-remotion-3-0.md
index fcf90420f6..99a0d5e8bc 100644
--- a/packages/docs/blog/2032-01-01-remotion-3-0.md
+++ b/packages/docs/blog/2032-01-01-remotion-3-0.md
@@ -18,11 +18,11 @@ I am convinced that Remotion Lambda is the best piece of software that I have ev
Lambda is the best of all worlds:
-- **Fast**: Lambda can render a video up to many times faster than the fastest consumer computers. The Remotion Lambda trailer was rendered in 15 seconds instead of 60 seconds, and a 2 hour video was rendered in just 12 minutes. <sup>[1]</sup>
+- **Fast**: Lambda can render a video up to many times faster than the fastest consumer computers. The longer the video, the higher the speed gain. The Remotion Lambda trailer was rendered in 15 seconds instead of 60 seconds, and a 2 hour video was rendered in just 12 minutes<sup>[1]</sup>.
- **Cheap**: You only pay for when you are rendering. The Lambda functions use ARM architecture for best price-performance efficiency.
-- **Scalable**: You can render many multiple videos at the same time. Lambda [concurrency limits](/docs/lambda/troubleshooting/rate-limit) apply, but in our opinion can be worked with.
+- **Scalable**: You can render many multiple videos at the same time. Lambda [concurrency limits](/docs/lambda/troubleshooting/rate-limit) apply, but can be increased.
- **Easy**: Chromium and FFMPEG are already pre-installed, and we handled all the edge cases. You only need to code your video, follow the steps to deploy a function and invoke a render.
@@ -30,7 +30,7 @@ All functionality is available via CLI commands and Node.JS functions. We've wri
## Parallel rendering and encoding
-Previously, rendering frames, and stitching them together to a video has been a sequential process where one can start once the other has finished. In Remotion 3.0, stitching can start while rendering is still in progress! This will result on average in a 10-15% speedup.
+Previously, rendering frames, and stitching them together to a video has been a sequential process where one step can start once the other has finished. In Remotion 3.0, stitching can start while rendering is still in progress! This will result on average in a 10-15% speedup.
Additionally, downloading audio assets now happens earlier in the rendering pipeline and if you rely on remote audio, you should see a handsome speedup as well.
@@ -40,16 +40,28 @@ A new function has been added to `@remotion/renderer` called [`renderMedia()`](/
## New `openBrowser()` API
+Since opening and closing a browser instance can take time, we introduce a new API called [`openBrowser()`](/docs/renderer/open-browser) for opening an instance of Puppeteer that you can use across the SSR APIs: [`renderMedia()`](/docs/renderer/render-media), [`renderStill()`](/docs/renderer/render-still), [`getCompositions()`](/docs/renderer/get-compositions), and [`renderFrames()`](/docs/renderer/render-frames).
+
## Config file can now import other files.
+In the `remotion.config.ts` file, you can now import other files. Under the hood, we use ESBuild instead of Typescript to read the file. This was a paint point before: Node.JS APIs don't read from the config file and require you to specify the options explicitly. Configuration such as a [Webpack config override](/docs/webpack) could not be shared in a good way between CLI and Node.JS renders so far, which we address with this change.
+
## React 18 supported
React 18 is now supported and we recommend that you upgrade to it. See our [React 18 upgrade guide](/docs/react-18) on how to do it!
## Node 14, ESLint 8
-Keeping our stack modern allows us to move faster and also, eliminate dependencies. With Remotion 3.0, support for Node 12 is dropped, and we recommend you to upgrade to ESLint version 8.
+Keeping our stack modern allows us to move faster and also, eliminate dependencies.
+
+With Remotion 3.0, support for Node 12 is dropped, and we officially support Node 18.
+Our ESLint config has been updated to take advantage of ESLint 8, which is now also officially supported.
---
-<sup>[1]</sup>
+[1] See [the trailer repository](https://github.com/remotion-dev/trailer-lambda) for instructions on how to reproduce.
+
+[2] Rendering the composition `2hrvideo` in the `example` folder
+in the Remotion repository with `--frames-per-lambda=1080`,
+a Lambda function running on the `arm64` architecture with 2048MB RAM, on warm Lambdas in the
+us-east-1 region.