ffmpeg: Create a video from time lapse photos

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)

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

Michael is a polyglot software engineer, committed to reducing complexity in systems and making them more predictable. Working with a variety of languages and tools, he shares his technical expertise to audiences all around the world at user groups and conferences. You can follow @mheap on Twitter

Thoughts on this post

Leave a comment?

Leave a Reply