Skip to content

Instantly share code, notes, and snippets.

@ianaya89
Created July 9, 2015 03:25
Show Gist options
  • Save ianaya89/66fd60c9c8b8315f8ccc to your computer and use it in GitHub Desktop.
Save ianaya89/66fd60c9c8b8315f8ccc to your computer and use it in GitHub Desktop.
Commands to create video screen grabs with ffmpeg
# First Frame
ffmpeg -i myvideo.webm -ss 00:00:01 -vframes 1 first-frame.png
# Frames at Second Intervals
ffmpeg -i myvideo.webm -vf fps=fps=1 screen-%d.png
# Frames at Minute Intervals
ffmpeg -i myvideo.webm -vf fps=fps=1/60 screen-%03d.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment