User Tools

Site Tools


This is an old revision of the document!

Table of Contents

MPlayer Usage



Encoding an xvid file in 2 pass mode

The following example will encode a file in xvid 2 pass mode with normalized mp3 audio.

mencoder -o /dev/null -ovc xvid -xvidencopts pass=1 -nosound $FILENAME
mencoder -o $OUTPUT -ovc xvid -xvidencopts bitrate=$BITRATE:pass=2 \
    -oac mp3lame -lameopts vbr=3:br=112:mode=1 -af volnorm $FILENAME

Making a flash movie

Note it only works for 44100Hz sound, hence the -srate 44100 option.

mencoder -ovc lavc -oac mp3lame -srate 44100 -lavcopts vcodec=flv \
         -of lavf -lavfopts format=swf $FILENAME -o $OUTPUT

Making a DVD

A nice resource on the subject:

mplayer/mplayer_usage.1196591062.txt.gz · Last modified: 2007/12/02 11:24 by deva