🎥 Make videos programmatically with React
update docs on FFmpeg usage
Jonny Burger54dbe3f80f03
diff --git a/packages/docs/docs/docker.md b/packages/docs/docs/docker.mdindex f9e24c4146..3a7284df07 100644--- a/packages/docs/docs/docker.md+++ b/packages/docs/docs/docker.md@@ -57,11 +57,11 @@ RUN apt-get update```<p>-<Step>3</Step> Download Remotion's dependencies: Node.JS (with NPM), FFmpeg and Chromium.+<Step>3</Step> Download Remotion's dependencies: Node.JS (with NPM) and Chromium.</p>```docker-RUN apt-get install -y nodejs npm ffmpeg chromium+RUN apt-get install -y nodejs npm chromium```<p>diff --git a/packages/docs/docs/lambda.md b/packages/docs/docs/lambda.mdindex e1499f2795..d279686391 100644--- a/packages/docs/docs/lambda.md+++ b/packages/docs/docs/lambda.md@@ -28,7 +28,7 @@ If one of those constraints is a dealbreaker for you, resort to normal [server-s## Architecture-- **Lambda function**: Requires a layer with Chromium and FFMPEG, currently hosted by Remotion. Only one Lambda function is required, but it can execute different actions.+- **Lambda function**: Requires a layer with Chromium, currently hosted by Remotion. Only one Lambda function is required, but it can execute different actions.- **S3 bucket**: Stores the projects, the renders, and render metadata.- **CLI**: Allows to control the overall architecture from the command line. Is installed by adding `@remotion/lambda` to a project.- **Node.JS API**: Has the same features as the CLI but is easier to use programmaticallydiff --git a/packages/docs/docs/lambda/custom-layers.md b/packages/docs/docs/lambda/custom-layers.mdindex 02be7b02d0..b4dacae063 100644--- a/packages/docs/docs/lambda/custom-layers.md+++ b/packages/docs/docs/lambda/custom-layers.md@@ -30,9 +30,7 @@ Lambda binaries might change in minor Remotion versions, it is your responsibiliGo to the [`remotion-dev/lambda-binaries`](https://github.com/remotion-dev/lambda-binaries) repository and clone it.-The folders `chromium`, `ffmpeg` and `fonts` contain the binaries for the ARM version.-The folders `chromium-x64`, `ffmpeg-x64` and `fonts-x64` contain the binaries for the x86_64 version of Lambda.-The default and recommended version is the ARM one.+The folders `chromium` and `fonts` contain the binaries for the ARM version. The x64 version has been discontinued.Put the files that you want in the corresponding folders - for example, add the Apple Emoji Font `AppleColorEmoji.ttf` into the `fonts/.fonts/NotoSans/` folder.diff --git a/packages/docs/docs/slow-method-to-extract-frame.md b/packages/docs/docs/slow-method-to-extract-frame.mdindex 8b9eecc7d6..4643e737de 100644--- a/packages/docs/docs/slow-method-to-extract-frame.md+++ b/packages/docs/docs/slow-method-to-extract-frame.md@@ -15,7 +15,7 @@ While it is not an error itself, it warns that the render must do an expensive o- If a H.264 video in a MP4 container has it's timestamps corrupted so that it cannot be seeked to the exact frame that Remotion wants to extract.- - **Recommendation**: It might be faster to first re-encode the video using FFMPEG to fix the seeking: `ffmpeg -i inputvideo.mp4 outputvideo.mp4`+ - **Recommendation**: It might be faster to first re-encode the video using FFMPEG to fix the seeking: `npx remotion ffmpeg -i inputvideo.mp4 outputvideo.mp4`- If it's a VP8 video in a WebM container and the selected image format is PNG, we cannot accurately extract the frame using FFMPEG and need to resort to the slow method.- **Recommendation**: Prefer the VP9 codec instead, or switch the image format to JPEG (in which you will lose transparency however)