alexcolson

makeThumnails

May 6th, 2011
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. FILES=`find -name "*.mp4"`
  4. for file in $FILES
  5. do
  6.         strip=${file%.*}
  7.         echo $file "=>"  ${strip}.jpg
  8.         ffmpeg -i $file -an -ss 00:00:03 -an -r 1 -vframes 1 -y ${strip}.jpg
  9. done
Advertisement
Add Comment
Please, Sign In to add comment