2 # convert $i $1/$(basename $i ppm)png
5 MFOPTS="-mf fps=13:type=png"
6 #MFOPTS="-mf fps=25:type=png"
9 [ -n "$2" ] && OUTFILE=$2
11 #mencoder mf://$1/*.png -ovc copy -o $1/$OUTFILE >/dev/null 2>&1
12 mencoder $MFOPTS mf://$1/*.png -ovc xvid -xvidencopts bitrate=1000 \
13 -o $1/$OUTFILE >/dev/null 2>&1