Created
September 10, 2008 16:23
-
-
Save danp/9935 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/sh | |
input=$1 | |
output="$(dirname $input)/$(basename $input .mkv).avi" | |
vbitrate=4096 | |
if [ ! -e "$output" ]; then | |
mencoder $input -ffourcc XVID -ovc lavc -lavcopts vcodec=mpeg4:threads=8:vbitrate=$vbitrate:mbd=2:trell=yes:v4mv=yes -oac mp3lame -o $output | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment