🎥 Make videos programmatically with React
correct date
Jonny Burger33412255b88b
diff --git a/packages/docs/blog/2021-04-09-remotion-2-0.md b/packages/docs/blog/2021-04-15-remotion-2-0.mdsimilarity index 98%rename from packages/docs/blog/2021-04-09-remotion-2-0.mdrename to packages/docs/blog/2021-04-15-remotion-2-0.mdindex 88bd3ebc82..17c9a17c28 100644--- a/packages/docs/blog/2021-04-09-remotion-2-0.md+++ b/packages/docs/blog/2021-04-15-remotion-2-0.md@@ -20,6 +20,7 @@ Read more about [`audio-visualization`](/docs/audio-visualization).## Export as audio## `remotion/media-utils` package+with Remotion 2.0 we are introducing a new remotion package called `@remotion/media-utils` with new audio and video metadata api.- [`getAudioData()`](/docs/get-audio-data) Takes an audio `src`, loads it and returns data and metadata for the specified source.@@ -46,9 +47,10 @@ By default **rich timeline** feature is enabled. You may switch between `rich ti<img src="/img/timeline-toggle.png"></img>## ESBuild loader+In Remotion 2.0, the traditional transpilation of Javascript and Typescript using the `babel-loader` has been replaced by the faster `esbuild-loader` by default.-If you for some reason need to go back to the previous behavior, you may [override the Webpack configuration](/docs/webpack). Read more about [legacy babel loader](/docs/legacy-babel).+If you for some reason need to go back to the previous behavior, you may [override the Webpack configuration](/docs/webpack). Read more about [legacy babel loader](/docs/legacy-babel).<div><video width="100%" height="100%" controls playsinline autoplay="true" muted loop>@@ -59,6 +61,7 @@ If you for some reason need to go back to the previous behavior, you may [overri## Webpack caching## Partial video rendering + Stills+Want to render partial video or a still for thumbnail? You can do that with Remotion 2.0. We introduced a new cli option `--frames` to render a subset or a still of a video.`--frames=0-9` (To select the first 10 frames) or `--frames=50` (To render a still of the 51st frame).@@ -66,6 +69,7 @@ Want to render partial video or a still for thumbnail? You can do that with RemoLearn more about [`--frames`](/docs/config#setframerange) cli options.## `<Gif />` component+With Remotion 2.0 we have supports for `gif` component as a standalone npm package `@remotion/gif`. **`@remotion/gif`** exports `<Gif />` component for displaying GIFs that synchronize with Remotions `useCurrentFrame()`.Learn more about [`<Gif />`](/docs/gif) APIs.@@ -73,6 +77,7 @@ Learn more about [`<Gif />`](/docs/gif) APIs.## Resizable panels## interpolate()+`interpolate()` in Remotion 2.0 supports number array (array length >= 2) in input and outpur range. Make sure the length or input and output array length is same.From Remotion 2.0 onwards you can do something like this.@@ -82,6 +87,7 @@ const opacity = interpolate(input, [0, 10, 20], [0, 0.7, 1]) //0.7```## 174 tests added+on remotion 1.5.4 we had total 43 tests including core (14 tests), renderer (1 tests), root (3 tests) and eslint-plugin (25 tests). In remotion 2.0 we added 174 more tests to make our development faster it now contains a total of 217 tests including core (147 tests), eslint-plugin (25 tests), renderer (31 tests) and root (14 tests).## Fixed: Frame seeking