Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ##############################################
- #
- # Convert .ogv videos to .avi
- # Call this with multiple arguments
- # meninbox@surabayablackhat.org)
- #
- ##############################################
- N=$#;
- echo "Converting $N files !"
- for ((i=0; i<=(N-1); i++))
- do
- echo "converting" $1
- filename=${1%.*}
- mencoder "$1" -ovc xvid -oac mp3lame -xvidencopts pass=1 -o $filename.avi
- shift 1
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement