🎥 Make videos programmatically with React
Merge branch 'v4' into rename-jpeg-quality
Jonny Burger3bd5078c4bc5
diff --cc packages/docs/docs/4-0-migration.mdindex bfc22c1b27,a68e4dfbd6..349c4b9f5c--- a/packages/docs/docs/4-0-migration.md+++ b/packages/docs/docs/4-0-migration.md@@@ -55,23 -59,19 +59,34 @@@ The timeline is now always in simple moPreviously, the `aac` audio codec was the default for ProRes exports. The default is now `pcm_s16le` which stands for uncompressed 16-bit low-endian PCM audio.This change was made since users export ProRes mainly for getting high-quality footage to be further used in video editing programs.+## Renamed `quality` option to `jpegQuality`++To clarify the meaning of this option, it is now universally called "JPEG Quality". Adjust the following options:++- [`npx remotion render`](/docs/cli/render): Use `--jpeg-quality` insted of `--quality`+- [`npx remotion still`](/docs/cli/still): Use `--jpeg-quality` insted of `--quality`+- [`npx remotion benchmark`](/docs/cli/benchmark): Use `--jpeg-quality` insted of `--quality`+- [`npx remotion lambda render`](/docs/lambda/cli/render): Use `--jpeg-quality` insted of `--quality`+- [`npx remotion lambda still`](/docs/lambda/cli/still): Use `--jpeg-quality` insted of `--quality`+- [`renderFrames()`](/docs/renderer/render-frames): Use `jpegQuality` instead of `quality`+- [`renderMedia()`](/docs/renderer/render-media): Use `jpegQuality` instead of `quality`+- [`renderStill()`](/docs/renderer/render-still): Use `jpegQuality` instead of `quality`+- [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda): Use `jpegQuality` instead of `quality`+- [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda): Use `jpegQuality` instead of `quality`+## 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()`.