Skip to content

Instantly share code, notes, and snippets.

@adamcathersides
Created January 22, 2020 21:38
Show Gist options
  • Save adamcathersides/bb9cf875396833233058e02f5b32b77e to your computer and use it in GitHub Desktop.
Save adamcathersides/bb9cf875396833233058e02f5b32b77e to your computer and use it in GitHub Desktop.
Select every 10th frame from gif
# See ffmpeg select filter https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
ffmpeg -i https://media.giphy.com/media/5kq0GCjHA8Rwc/giphy.gif -filter_complex "select='not(mod(n\,10))'" -vsync 0 /tmp/frames/output_%03d.jpg -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment