Skip to content

Instantly share code, notes, and snippets.

@liquidmetal
Created March 14, 2016 17:51
Show Gist options
  • Save liquidmetal/6d4977494962c15f7790 to your computer and use it in GitHub Desktop.
Save liquidmetal/6d4977494962c15f7790 to your computer and use it in GitHub Desktop.
# Extract the fps of a video
ffmpeg -i file.mp4 2>&1 | grep -o '[0-9]\{1,3\}\sfps'
# Extract frames at a given fps
ffmpeg -i shame-run.mov -r 24/1 test/output%03d.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment