Created
April 6, 2014 12:00
-
-
Save candycode/10005011 to your computer and use it in GitHub Desktop.
extract frames from video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ffmpeg -i file.mp4 -y -ss 5 -an -sameq -f image2 -r 1/5 filename%03d.jpg | |
-y | |
Overwrite output files | |
-ss position | |
Seek to given time position in seconds. "hh:mm:ss[.xxx]" syntax is also supported | |
-an | |
Disable audio recording | |
-sameq | |
Use same video quality as source | |
-f fmt | |
Force format | |
-r fps | |
Set frame rate (Hz value, fraction or abbreviation), (default = 25) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment