diff --git a/DOCS/documentation.html b/DOCS/documentation.html index a1f783e0e0..c8ad86b83c 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -174,6 +174,7 @@
Then build MPlayer:
@@ -952,19 +958,27 @@MPlayer has an OSD Menu interface, which is not only completely user - defined, but is displayed as OSD, on the currently played video!
+MPlayer has a completely user definiable OSD Menu interface.
--enable-new-conf
+ --enable-menu
parameters to ./configure
etc/menu.conf
to your .mplayer
directoryetc/input.conf
to your .mplayer
directory, or to the system-wide MPlayer config dir (default:
- /usr/local/share/mplayer
)/usr/local/etc/mplayer
)
+ input.conf
to enable menu movement
+ keys (it is described there).$ mplayer -menu file.avi
Often the need to resize movie images' size emerges. Its reasons can be many, - examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs - are mostly rescaled, for example a 4:3 DVD should be 640x480, especially - when you want it to fit to 1 CD, and have good quality at the same time. - SVCDs have 480x480 size, and their header contains the aspect ratio the - player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to - AVI (DivX) files, you have be aware that AVI headers don't store this - value. Thus, the only solution is rescaling.
+Often the need to resize movie images' size emerges. Its reasons can be + many: decreasing file size, network bandwidth, etc. Most people + even do rescaling when converting DVDs or SVCDs to DivX AVI. This is bad. + Instead of even you doing so, read the Preserving + aspect ratio section.
The scaling process is handled by the 'scale' video filter:
- -vop scale=X:Y
. Its quality can be set with the
+ -vop scale=widht:height
. Its quality can be set with the
-sws
option. If it's not specified, MEncoder will use 0:
fast bilinear.
Usage:
- mencoder sample-svcd.mpg -ovc lavc -lavcopts
- vcodec=mpeg4:more_options -vop scale=640:480 -oac copy -o
- output.avi
mencoder input.mpg -ovc lavc -lavcopts
+ vcodec=mpeg4:more_options -vop scale=640:480 -oac copy -o
+ output.avi
DVDs and SVCDs (i.e. MPEG1/2) files contain an aspect ratio value, + which describes how should the player scale the video stream, so humans + won't have egg heads (ex.: 480x480 + 4:3 = 640x480). However when encoding + to AVI (DivX) files, you have be aware that AVI headers don't store this + value. Rescaling the movie is disgusting and time consuming, there + must be a better feature!
+ +There is.
+ +MPEG4 has an unique feature: the video stream can contain + its needed aspect ratio. Yes, just like MPEG1/2 files (DVD, SVCD). + Regretfully, there are no video players outside which support this + attribute. Except MPlayer.
+ +This feature can be used only with libavcodec's mpeg4
+ codec. Keep in mind: although MPlayer will correctly play the created file,
+ other players will use the wrong aspect ratio.
You seriously should crop the black bands over and below the movie image. + See TODO.
+ +$ mencoder sample-svcd.mpg -ovc lavc -lavcopts
+ vcodec=mpeg4:aspect=16.0/9.0 -vop crop=714:548:0:14 -oac copy -o output.avi