Time-lapse Videos with ffmpeg Revision as of Monday, 21 December 2015 at 07:16 UTC

# Reduce to a smaller size (1080p) since 
# "MPEG-1 does not support resolutions above 4095x4095"
for image in *.JPG; do ffmpeg -i $image -vf scale=1920:-1 ${image%.JPG}.PNG; done

# Create a movie!
ffmpeg -f image2 -pattern_type glob -i "*.PNG" output.mpg

# A lossless movie!
ffmpeg -pattern_type glob -i "*.PNG" -c:v mjpeg -qscale:v 0 output.mov

Resources