Added every script to track by default
[videoscripts/.git] / avi2divx4
1 #!/bin/bash
2
3 BITRATE=6000
4 PASS1_OPTS="-mc 0 -oac mp3lame -lameopts cbr:cbr=196 -ffourcc XVID -fps 29.97 "
5 PASS1_OPTS="$PASS1_OPTS -ovc divx4 -divx4opts q=5:br=$BITRATE:key=30"
6 INFILE=$*
7 OUTFILE=`echo $* | sed 's/\.avi/\.divx4.avi/g'`
8
9 date
10 echo "-> 1st pass: /usr/bin/mencoder $PASS1_OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
11 /usr/bin/mencoder $PASS1_OPTS -o "$OUTFILE" -idx "$INFILE"
12 date
13