Last active
January 17, 2020 13:35
-
-
Save danpetrv/397315b3a07b68f8d1353aedbbe93413 to your computer and use it in GitHub Desktop.
Get the first frame of the video using ffmpeg library
This file contains hidden or 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
# I've cobbled up this command line from various answers that works great for me to get the absolutely first frame out from a video. | |
# I use this to save a thumbnail screenshot for the video. | |
ffmpeg -i inputfile.mkv -vf "select=eq(n\,0)" -q:v 3 output_image.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment