Skip to content

Instantly share code, notes, and snippets.

@AshKyd
Last active December 1, 2019 20:30
Show Gist options
  • Save AshKyd/6aa13dfdee0c605fca31b35f29e3bae6 to your computer and use it in GitHub Desktop.
Save AshKyd/6aa13dfdee0c605fca31b35f29e3bae6 to your computer and use it in GitHub Desktop.

Create a time lapse of some sort:

ffmpeg -i GH012287_1575218935438_high.MP4 -vf tmix=frames=5:weights="1 1 1 1 1",select='not(mod(n\,5))',setpts=0.5*PTS out.mp4

Optionally add deshake if it's jittery:

ffmpeg -i GH012287_1575218935438_high.MP4 -vf deshake,tmix=frames=10:weights="1",setpts=0.5*PTS out-4.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment