ffmpeg: Create a video from time lapse photos

17 Aug 2016 in TIL

I accidentally recorded a time lapse photo by photo instead of as a video on my GoPro.

If you've done the same, this is the command you need to stitch it all together (with colour profile flags stolen from the internet)

bash
ffmpeg -pattern_type glob -i "*.JPG" -c:v libx264 -pix_fmt yuv420p output.mp4