- Copy files from sd card
cp -R /path/to/your/sd/card/mount/DCIM/1*/*.JPG .
- Convert to video
ffmpeg -y -framerate 50 -pattern_type glob -i '*.JPG' -s hd1080 -vcodec libx264 -b:v 2M -pix_fmt yuv420p -profile:v main -crf 18 -preset medium -an -movflags +faststart -filter:v fps=fps=25 timelapse_50.mp4