From: hackbard Date: Sun, 17 Feb 2008 13:34:35 +0000 (+0100) Subject: mencoder mf options X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7f64ff88421817a9f13bb6e3897693764551f2;p=physik%2Fposic.git mencoder mf options --- diff --git a/ppm2avi b/ppm2avi index a669290..6c5d9e5 100755 --- a/ppm2avi +++ b/ppm2avi @@ -2,8 +2,11 @@ # convert $i $1/$(basename $i ppm)png #done +MFOPTS="-mf fps=13:type=png" + OUTFILE=md.avi [ -n "$2" ] && OUTFILE=$2 #mencoder mf://$1/*.png -ovc copy -o $1/$OUTFILE >/dev/null 2>&1 -mencoder mf://$1/*.png -ovc xvid -xvidencopts bitrate=1000 -o $1/$OUTFILE >/dev/null 2>&1 +mencoder $MFOPTS mf://$1/*.png -ovc xvid -xvidencopts bitrate=1000 \ + -o $1/$OUTFILE >/dev/null 2>&1