Skip to content

Instantly share code, notes, and snippets.

@mpalet
Created May 31, 2019 09:19
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 mpalet/81dc4c119837d94c10111aab408382d9 to your computer and use it in GitHub Desktop.
Save mpalet/81dc4c119837d94c10111aab408382d9 to your computer and use it in GitHub Desktop.
create timelapse ffmpeg
#framerate 12 crop to 4k 16:9 from left top
ffmpeg -r 12 -f concat -safe 0 -i <(for f in DSCF*.JPG; do printf 'file '%q/%q'\n' "$PWD" "$f"; done;) -filter:v "crop=iw:iw*9/16:0:0,scale=3840:-2" -vcodec libx264 -crf 18 -preset slow timelapse.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment