diff --git a/pages/common/ffmpeg.md b/pages/common/ffmpeg.md index 0ad379f8f4..0b92ac1684 100644 --- a/pages/common/ffmpeg.md +++ b/pages/common/ffmpeg.md @@ -7,9 +7,9 @@ `ffmpeg -i {{video.mp4}} -vn {{sound}}.mp3` -- Convert frames from a video or GIF into individual numbered images: +- Save a video as GIF, scaling the height to 1000px and setting framerate to 15: -`ffmpeg -i {{video.mpg|video.gif}} {{frame_%d.png}}` +`ffmpeg -i {{video.mp4}} -vf 'scale=-1:{{1000}}' -r {{15}} {{output.gif}}` - Combine numbered images (`frame_1.jpg`, `frame_2.jpg`, etc) into a video or GIF: