This script takes a directory of source images off of a GoPro camera (or something similar that takes time-lapse images), and creates a directory of images suitably-laid-out for ffmpeg, clustered by file creation time.
Example usage:
jof@cucumis ~/Desktop/timelapse/ffmpeg % gopro_timelapse ../ride_in .
Building destination symlink directories for 1 clusters.
You can now call ffmpeg like: ffmpeg -i /Users/jof/Desktop/timelapse/ffmpeg/sequence_0/image%04d.jpg sequence_0.mp4
Then, run ffmpeg as directed, and this will generate a time lapse movie into "sequence_0.mp4"
using the script for the following case:
I have a directory with 162,616 images in it (45 hours of recording at about 1fps, or ~1.5hours of 24fps video, but it's compressed motion capture covering about 2 weeks in 2009 )
line 16 edited to use 'jpg', how do I easily replace line 16 with a case insensitive search for 'jpg' or 'Jpg'?
worked to make 2 sequences out of that huge archive.