Skip to content

Instantly share code, notes, and snippets.

@RobotGrrl
Last active August 29, 2018 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobotGrrl/1dd283a17b6918f2b8a1729469ba82eb to your computer and use it in GitHub Desktop.
Save RobotGrrl/1dd283a17b6918f2b8a1729469ba82eb to your computer and use it in GitHub Desktop.
script for making a timelapse video from images
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