🎥 Make videos programmatically with React
migration path for FFmpeg
Jonny Burger979f493183ea
diff --git a/packages/docs/docs/4-0-migration.md b/packages/docs/docs/4-0-migration.mdindex b5c93dbc74..a68e4dfbd6 100644--- a/packages/docs/docs/4-0-migration.md+++ b/packages/docs/docs/4-0-migration.md@@ -38,12 +38,16 @@ The CLI configuration file has been moved out from the core Remotion package to+ import {Config} from '@remotion/cli/config';```+TODO: Old config syntax has been removed+## Dropped support for Lambda `architecture`When deploying a Lambda, you were previously able to choose between the `arm64` and `x86_64` architecture.From v4.0 on, only `arm64` is supported. It should be faster, cheaper and not have any different behavior than `x86_64`.-**How to upgrade**: Remove the `architecture` option from `estimatePrice()` and `deployFunction()`.+**How to upgrade**:++- Remove the `architecture` option from `estimatePrice()` and `deployFunction()`.## Rich timeline removed@@ -57,10 +61,21 @@ This change was made since users export ProRes mainly for getting high-quality f## No more FFmpeg install, `ffmpegExecutable` option removed+FFmpeg is now baked into the `@remotion/renderer` package. Therefore, the `ffmpegExecutable` and `ffprobeExecutable` options have been removed.++**How to upgrade:**++- Remove the `ffmpegExecutable` option from [`renderMedia()`](/docs/renderer/render-media), [`renderStill()`](/docs/renderer/render-still), [`getCompositions()`](/docs/renderer/get-compositions), [`renderFrames()`](/docs/renderer/render-frames) and [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video) calls.+- Remove the `ffprobeExecutable` option from [`renderMedia()`](/docs/renderer/render-media), [`renderStill()`](/docs/renderer/render-still), [`getCompositions()`](/docs/renderer/get-compositions), [`renderFrames()`](/docs/renderer/render-frames) and [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video) calls.+- Remove all calls to [`ensureFfmpeg()`](/docs/renderer/ensure-ffmpeg).+- Remove all calls to [`ensureFfprobe()`](/docs/renderer/ensure-ffprobe).+- Remove the `--ffmpeg-executable` flag from [`npx remotion render`](/docs/cli/render), [`npx remotion still`](/docs/cli/still) and [`npx remotion benchmark`](/docs/cli/benchmark)+- Remove the `--ffprobe-executable` flag from [`npx remotion render`](/docs/cli/render), [`npx remotion still`](/docs/cli/still) and [`npx remotion benchmark`](/docs/cli/benchmark)+## Moved `onSlowestFrames` APIIn V3, `onSlowestFrames` has been a callback function that you could pass to `renderMedia()`.-In V4, this API has been moved to the [return type](/docs/renderer/render-media#return-value).+In V4, this data has been moved to the [return value](/docs/renderer/render-media#return-value).## Removal of deprecated APIsdiff --git a/packages/docs/docs/renderer/ensure-ffmpeg.md b/packages/docs/docs/renderer/ensure-ffmpeg.mdindex 5c82c5d50e..7fe3d33fa0 100644--- a/packages/docs/docs/renderer/ensure-ffmpeg.md+++ b/packages/docs/docs/renderer/ensure-ffmpeg.md@@ -5,7 +5,11 @@ title: ensureFfmpeg()crumb: "@remotion/renderer"----_Available from v3.3_+_Available from v3.3, removed from v4.0_++:::warning+This API has been removed in v4.0 and is not necessary to call anymore. This page remains for archival purposes.+:::Checks if the `ffmpeg` binary is installed and if it is not, [downloads it and puts it into your `node_modules` folder](/docs/ffmpeg).diff --git a/packages/docs/docs/renderer/ensure-ffprobe.md b/packages/docs/docs/renderer/ensure-ffprobe.mdindex a95aa9cbe9..bd23c1b176 100644--- a/packages/docs/docs/renderer/ensure-ffprobe.md+++ b/packages/docs/docs/renderer/ensure-ffprobe.md@@ -5,7 +5,11 @@ title: ensureFfprobe()crumb: "@remotion/renderer"----_Available from v3.3_+_Available from v3.3, removed from v4.0_++:::warning+This API has been removed in v4.0 and is not necessary to call anymore. This page remains for archival purposes.+:::Checks if the `ffprobe` binary is installed and if it is not, [downloads it and puts it into your `node_modules` folder](/docs/ffmpeg).