Created
May 13, 2017 11:22
-
-
Save cghiban/16f6a7259729e2df62637af2e501bfcb to your computer and use it in GitHub Desktop.
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
| #/bin/sh | |
| input=$1 | |
| fname=$(echo $input|sed -e 's/\.mp4//') | |
| ffmpeg -v quiet -i $input -vframes 1 -an -f image2 -y $fname.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment