Created
December 11, 2018 04:15
-
-
Save kpping/b2fa8265bfa1351464922673c89ce08d to your computer and use it in GitHub Desktop.
Create PNG image (poster) 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
#!/usr/bin/env bash | |
FILE_VIDEO="video.mp4" # in | |
FILE_PNG="poster.png" # out | |
ffmpeg -i $FILE_VIDEO -ss 00:00:01.000 -vframes 1 $FILE_PNG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment