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