Skip to content

Instantly share code, notes, and snippets.

@ubergesundheit
Created February 8, 2021 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ubergesundheit/ee927d95fd38433a34803ff7f0350ff8 to your computer and use it in GitHub Desktop.
Save ubergesundheit/ee927d95fd38433a34803ff7f0350ff8 to your computer and use it in GitHub Desktop.
ffmpeg timelapse from gopro images
  1. Copy files from sd card
cp -R /path/to/your/sd/card/mount/DCIM/1*/*.JPG .
  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment