Skip to content

Instantly share code, notes, and snippets.

@catpea
Created March 13, 2022 04:19
Show Gist options
  • Save catpea/1ccc27d4e42b5642431b7f1a0e3a0203 to your computer and use it in GitHub Desktop.
Save catpea/1ccc27d4e42b5642431b7f1a0e3a0203 to your computer and use it in GitHub Desktop.
Making art time lapse videos.
# smush frames intoa video
ffmpeg -framerate 7 -pattern_type glob -i '*.jpg' -c:v libx264 -r 30 ~/output1.mp4
# hold the last frame for 60 s
ffmpeg -i output1.mp4 -vf tpad=stop_mode=clone:stop_duration=60 output1-long.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment