To compile all of the gopro timelapse images use the following command.
ffmpeg -r 6 \
-f image2 \
-pattern_type glob \
-i '*.JPG' \
-s 4000x3000 \
-c:v mjpeg \
-q:v 10 \
./nameoffile.avi
-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.
Filename formatting
- Timelapse Photo
- Format:
Gyyyxxxx.JPG
yyy
- Group numberxxxx
- File number
- Format:
Reference https://community.gopro.com/t5/en/GoPro-Camera-File-Naming-Convention/ta-p/390220#