Skip to content

Instantly share code, notes, and snippets.

@NTU-P04922004
Created December 11, 2019 09:28
Show Gist options
  • Select an option

  • Save NTU-P04922004/5d1731363f0a6ef964bf9abedad39d55 to your computer and use it in GitHub Desktop.

Select an option

Save NTU-P04922004/5d1731363f0a6ef964bf9abedad39d55 to your computer and use it in GitHub Desktop.
ffmpeg extracts video frames
# Output one image every second, named out1.png, out2.png, out3.png, etc.
# The %01d dictates that the ordinal number of each output image will be formatted using 1 digits.
ffmpeg -i input.mov -vf fps=1 out%d.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment