Created
December 5, 2013 03:39
-
-
Save patrickward/7799742 to your computer and use it in GitHub Desktop.
Convert mp4 to jpg with avconv/ffmpeg
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
avconv -i inbound.mp4 -vsync 1 -r 0.1 -an -y 'outbound-folder/video-clip-%4d.jpg' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use 30 frames per second.
The jpg quality is poor. All pictures with artifacts.
Only png format comes out without artifacts.
If you know how to make high quality jpg images without artifacts from mp4 videos, let me know..
ffmpeg -i "*.mp4" -y -vf fps=30 "file-%%03d.jpg"