Created
May 5, 2010 20:57
-
-
Save jtrim/391420 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
for i in `ls -1 converted` | |
do | |
ffmpeg -i converted/videos/$i -vframes 1 -r 1 -f image2 converted/images/$i.jpg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
grabs the first frame from every video in a directory and saves it as a jpg file