1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:22:09 +02:00

ffmpeg: replace with -vf and -r example (#8113)

This commit is contained in:
Michael Neeley 2022-06-04 10:35:40 -04:00 committed by GitHub
parent a026ac37c1
commit 7e46b4a268
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: