Last active
August 29, 2018 14:08
-
-
Save RobotGrrl/1dd283a17b6918f2b8a1729469ba82eb to your computer and use it in GitHub Desktop.
script for making a timelapse video from images
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
ffmpeg -r 30 -f image2 -i image-%d.JPG -f mp4 -q:v 0 -vcodec mpeg4 -r 30 -vf scale=1920:-1 -vb 20M output.mp4 | |
#before the 2nd -f put -vframes 100 for the first 100 frames | |
# save an image from a video every 10 seconds | |
# ffmpeg -i input.mkv -r 0.1 %06d.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment