Timelapse from GoPro images with FFmpeg
Create a timelapse from GoPro images with FFmpeg and save it with MJPEG video encoding.
cd some/directory/with/gopro/images
ffmpeg -r 6 -f image2 -pattern_type glob -i '*.JPG' -s 4000x3000 -c:v mjpeg -q:v 10 ./the-timelapse-video.mov
cd some/directory/with/gopro/images
- The command will work in current directory.-r 6
– 6 fps.-pattern_type glob -i '*.JPG'
– Every JPG in current directory.-s 4000x3000
– Using GoPro's original still image resolution for the output video.-c:v mjpeg
– MJPEG video codec.-q:v 10
– Quality 10. Use 2-31. 2 is highest quality.
See FFmpeg documentation for reference.
Now drag this video into a video editing software to make post editing.