Last active
January 10, 2022 18:14
-
-
Save mcotton/f78a7817f1d199f06bf8 to your computer and use it in GitHub Desktop.
ffmpeg video from pictures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start with DSC00013.JPG and continue sequentially | |
# basic version: ffmpeg -r 1 -y -start_number 13 -i DSC000%02d.JPG -r 24 out.mp4 | |
ffmpeg -r 2 -s 1920x1080 -y -start_number 325 -i DSC00%03d.JPG -s 1920x1080 -c:v libx264 -r 24 -pix_fmt yuv420p -f MP4 ~/Desktop/out.mp4 | |
# same thing with ImageMagick | |
convert -delay 50 *.png -loop 0 animate.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
convert -delay 75 *.jpeg -loop 0 -rotate 90 animate.gif