mplayer:mplayer_usage
This is an old revision of the document!
Table of Contents
MPlayer Usage
MPlayer
MEncoder
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
http://tovid.wikia.com/wiki/Making_a_basic_DVD
A nice resource on the subject: http://gentoo-wiki.com/HOWTO_Create_a_DVD
Another resource http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html
Grabbing from X11
ffmpeg -f x11grab -s vga -i :0.0 /tmp/out.mpg
Fixing a noisy VHS rip
-vf-add hqdn3d=10:10:20 -vf-add pp=fd
hqdn3d
is a denoise filter, pp=fd
is a deinterlace filter.
mplayer/mplayer_usage.1230977374.txt.gz · Last modified: 2009/01/03 11:09 by deva