Created
August 24, 2015 14:05
-
-
Save shaposhnikoff/d05f9e7555cbf9d64cf7 to your computer and use it in GitHub Desktop.
create thumbs from mp4 files located in current dir
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/bash | |
| for i in *.mp4; do | |
| ffmpeg -i "${i}" -r 0.033 -vf scale=-1:240 -vcodec png capture-%002d.png | |
| montage -title "Movie Name\nSubtitle" -geometry +4+4 capture*.png "$i".png | |
| rm capture*.png | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment