Skip to content

Instantly share code, notes, and snippets.

@briankelleher
Created March 2, 2016 02:57
Show Gist options
  • Save briankelleher/51067181b0d0cdffa4ad to your computer and use it in GitHub Desktop.
Save briankelleher/51067181b0d0cdffa4ad to your computer and use it in GitHub Desktop.
ffmpeg take screenshot
# -ss signals the position, in HH:MM:SS format.
# -i signals input video
# -vframes signals number of video frames
# -q:v signals quality, lower the number the better.
# screencap1.jpg signals output file name
ffmpeg -ss 00:00:02 -i video.mp4 -vframes 1 -q:v 2 screencap1.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment