changeset 2848:33c32f3d9f1f

many small updates, fixes (some/more to be completed soon)
author gabucino
date Sun, 11 Nov 2001 22:30:31 +0000
parents 1d92268eb8fc
children 92fce6bcd97f
files DOCS/codecs.html DOCS/documentation.html DOCS/encoding.html DOCS/faq.html DOCS/mencoder.1 DOCS/mplayer.1 DOCS/video.html
diffstat 7 files changed, 157 insertions(+), 120 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/codecs.html	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/codecs.html	Sun Nov 11 22:30:31 2001 +0000
@@ -142,7 +142,7 @@
   isn't there, so download it from the <A HREF="http://www.3ivx.com">3ivx site</A>.</LI>
 
   <LI>use the <CODE>--with-xanimlibdir</CODE> option to tell configure where
-  it can find the xanim codecs. By default, it checks them at <CODE>/usr/lib/xanim/mods</CODE> .</LI>
+  it can find the xanim codecs. By default, it checks them at <CODE>/</CODE> (...) .</LI>
 </UL>
 </P>
 
--- a/DOCS/documentation.html	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/documentation.html	Sun Nov 11 22:30:31 2001 +0000
@@ -33,11 +33,11 @@
     <UL>
       <LI><A HREF="formats.html#2.1.1">2.1.1 Video</A></LI>
       <UL>
-	<LI><A HREF="formats.html#2.1.1.1">2.1.1.1 MPG, VOB, DAT files</A></LI>
-	<LI><A HREF="formats.html#2.1.1.2">2.1.1.2 AVI files</A></LI>
-	<LI><A HREF="formats.html#2.1.1.3">2.1.1.3 ASF/WMV files</A></LI>
-	<LI><A HREF="formats.html#2.1.1.4">2.1.1.4 QT/MOV files</A></LI>
-	<LI><A HREF="formats.html#2.1.1.5">2.1.1.5 VIV files</A></LI>
+        <LI><A HREF="formats.html#2.1.1.1">2.1.1.1 MPG, VOB, DAT files</A></LI>
+        <LI><A HREF="formats.html#2.1.1.2">2.1.1.2 AVI files</A></LI>
+        <LI><A HREF="formats.html#2.1.1.3">2.1.1.3 ASF/WMV files</A></LI>
+        <LI><A HREF="formats.html#2.1.1.4">2.1.1.4 QT/MOV files</A></LI>
+        <LI><A HREF="formats.html#2.1.1.5">2.1.1.5 VIV files</A></LI>
       </UL>
       <LI><A HREF="formats.html#2.1.2">2.1.2 Audio</A></LI>
     </UL>
@@ -45,11 +45,11 @@
     <UL>
       <LI><A HREF="codecs.html#2.2.1">2.2.1 Video</A></LI>
       <UL>
-	<LI><A HREF="codecs.html#2.2.1.1">2.2.1.1 DivX4</A></LI>
-	<LI><A HREF="codecs.html#2.2.1.2">2.2.1.2 ffmpeg's DivX/libavcodec</A></LI>
-	<LI><A HREF="codecs.html#2.2.1.3">2.2.1.3 XAnim codecs</A></LI>
-	<LI><A HREF="codecs.html#2.2.1.4">2.2.1.4 VIVO video</A></LI>
-	<LI><A HREF="codecs.html#2.2.1.5">2.2.1.5 MPEG1/2 video</A></LI>
+        <LI><A HREF="codecs.html#2.2.1.1">2.2.1.1 DivX4</A></LI>
+        <LI><A HREF="codecs.html#2.2.1.2">2.2.1.2 ffmpeg's DivX/libavcodec</A></LI>
+        <LI><A HREF="codecs.html#2.2.1.3">2.2.1.3 XAnim codecs</A></LI>
+        <LI><A HREF="codecs.html#2.2.1.4">2.2.1.4 VIVO video</A></LI>
+        <LI><A HREF="codecs.html#2.2.1.5">2.2.1.5 MPEG1/2 video</A></LI>
       </UL>
       <LI><A HREF="codecs.html#2.2.2">2.2.2 Audio</A></LI>
       <UL>
@@ -98,6 +98,7 @@
 	<LI><A HREF="video.html#2.3.1.10">2.3.1.10 OpenGL output</A></LI>
 	<LI><A HREF="video.html#2.3.1.11">2.3.1.11 AAlib - text mode displaying</A></LI>
 	<LI><A HREF="video.html#2.3.1.12">2.3.1.12 VESA - output to VESA BIOS</A></LI>
+	<LI><A HREF="video.html#2.3.1.13">2.3.1.13 X11</A></LI>
 	<LI><A HREF="video.html#2.3.1.A">2.3.1.A TVout</A></LI>
 	<UL>
 	  <LI><A HREF="video.html#2.3.1.A.1">2.3.1.A.1 Matrox</A></LI>
@@ -226,7 +227,7 @@
 <LI><B>MPlayer 0.18 "The BugCounter"</B><BR>
     2 months since 0.17 and here's a new release.. Completed ASF support,
     more subtitle formats, introduced libao (similar to libvo but to audio),
-    even more stable than ever, and so on. It's a MUST !  
+    even more stable than ever, and so on. It's a MUST !
 <LI><B>MPlayer 0.50 "The Faszom(C)ounter"</B><BR>
     Hmm. Release again. Tons of new features, beta GUI version, bugs fixed,
     new vo and ao drivers, ported to many systems, including opensource DivX
@@ -340,7 +341,7 @@
 
 <P><B><A NAME=1.4>1.4. What about the GUI?</A></B></P>
 
-<P>The GUI is built upon GTK, so gtk (and it's devel stuff) has to be installed.
+<P>The GUI needs GTK (it isn't GTK, but the panels are), so gtk (and it's devel stuff) has to be installed.
 You can build it by specifying <CODE>--enable-gui</CODE> during ./configure .
 Then, to turn on GUI mode, you either
 <UL>
@@ -511,19 +512,19 @@
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>m</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>toggle mute</TD><TR>
 
 </TABLE></P>
-   
+
 <P><B><A NAME=3.2>3.2. Control from LIRC</A></B></P>
 
-<P>Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver, 
+<P>Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
 an (almost) arbitrary remote control and control your linux box with it!
 More about it at <A HREF="http://www.lirc.org">www.lirc.org</A>.</P>
 
 <P>If you have installed the lirc-package, you can compile <B>MPlayer</B> with LIRC
 support using  ./configure --enable-lirc</P>
 
-<P>If everything went fine, <B>MPlayer</B> will print a message like 
+<P>If everything went fine, <B>MPlayer</B> will print a message like
 LIRC init was successful.
-on startup. If an error occurs it will tell you. If it doens't tell you 
+on startup. If an error occurs it will tell you. If it doens't tell you
 anything about LIRC there's no support compiled in. That's it :-)</P>
 
 <P>The application name for <B>MPlayer</B> is - oh wonder - mplayer_lirc.
@@ -560,7 +561,7 @@
    config = QUIT
   end</PRE></P>
 
-<P>If you don't like the standard location for the lirc-config file (~/.lircrc) 
+<P>If you don't like the standard location for the lirc-config file (~/.lircrc)
 use the -lircconf &lt;filename&gt; switch to specify another file.</P>
 
 <P><B><A NAME=3.3>3.3. Streaming from network or pipes</A></B></P>
@@ -600,7 +601,7 @@
 
 <P>Here's how it looks like:</P>
 
-<P><PRE>	eyck@incubus:/src/main$ sudo dpkg -i ../mplayer_0.18-1_i386.deb 
+<P><PRE>	eyck@incubus:/src/main$ sudo dpkg -i ../mplayer_0.18-1_i386.deb
 	Password:
 	(Reading database ... 26946 files and directories currently installed.)
 	Preparing to replace mplayer 0.17a-1 (using ../mplayer_0.18-1_i386.deb)
@@ -610,15 +611,15 @@
 
 <P><B><A NAME=6.2>6.2. FreeBSD</A></B></P>
 
-<P>To build the package you will need GNU make (gmake, /usr/ports/devel/gmake), 
+<P>To build the package you will need GNU make (gmake, /usr/ports/devel/gmake),
 native BSD make will not work.</P>
 
-<P>To run <B>MPlayer</B> you will need to re-compile the kernel with 
+<P>To run <B>MPlayer</B> you will need to re-compile the kernel with
 "options USER_LDT" (unless you are running -CURRENT, where this is default).
 If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it
 (FreeBSD-STABLE required, or use kernel patches).</P>
 
-<P>If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a 
+<P>If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a
 symbolic link: <CODE>ln -s /dev/(your_cdrom_device) /dev/cdrom</CODE></P>
 
 <P>There's no DVD support for FreeBSD yet.</P>
@@ -677,7 +678,7 @@
 
 <P><PRE>   % gmake
    ...
-   gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math 
+   gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
 	-fomit-frame-pointer  -I/usr/local/include   -o mplayer.o mplayer.c
    Assembler: mplayer.c
    "(stdin)", line 3567 : Illegal mnemonic
@@ -704,7 +705,7 @@
 
 <P>On Solaris with an UltraSPARC CPU, you can get some extra speed by
   using the CPU's VIS instructions for certain time consuming operations.
-  VIS acceleration can be used in MPlayer by calling functions in Sun's  
+  VIS acceleration can be used in MPlayer by calling functions in Sun's
   <A HREF="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</A>.</P>
 
 <P>VIS accelerated operations from mediaLib are used for mpeg2 video
--- a/DOCS/encoding.html	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/encoding.html	Sun Nov 11 22:30:31 2001 +0000
@@ -26,8 +26,7 @@
     is needed for CBR/VBR MP3 audio encoding ability. Note that a single
     <CODE>lame</CODE> binary isn't sufficient.</LI>
     <LI>use <CODE>./configure</CODE> with optional parameters as usual, and
-    type : <CODE>make mencoder</CODE> . You have to install it manually for
-    now.
+    type : <CODE>make mencoder</CODE> , then <CODE>make install</CODE> .
   </UL>
 </P>
 
@@ -57,6 +56,21 @@
   </UL>
 </P>
 
+<P><B><I>Encoding 2-pass DivX4</I></B></P>
+
+<P>The name comes from the fact that this method encodes the file <I>twice</I>.
+The first encoding (dubbed <I>pass</I>) creates a temporary file with a size
+of few megabytes. In the second pass, the output file is created, using the
+bitrate data from the temporary file. The resulting file will have much
+better image quality. If this is the first time you heard about this, you
+should consult some guides available on the Net.</P>
+
+<P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two
+commands are needed :<BR>
+<CODE>&nbsp;&nbsp;mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100
+-o movie.avi -pass 1<BR>
+&nbsp;&nbsp;mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P>
+
 <P><B><I>Examples</I></B></P>
 
 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P>
--- a/DOCS/faq.html	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/faq.html	Sun Nov 11 22:30:31 2001 +0000
@@ -23,7 +23,7 @@
 RedHat/Mandrake distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY
 unsupported by <B>MPlayer</B>, because it simply SKIPS MMX/3DNow codes, it just does
 not compile it. Important: this is NOT an <B>MPlayer</B>-specific problem,
-numerous other projects (DRI, avifile, etc..) have problems with this shit
+numerous other projects (DRI, avifile, Wine, etc..) have problems with this shit
 too.<BR>
 <B><I>DO NOT USE gcc 2.96 !!!</I></B><BR>
 If you really really want to do so, be sure to use the newest.
@@ -186,6 +186,15 @@
 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
 
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
+MPlayer doesn't seem to find my libcss. What am I doing wrong ?
+</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
+It's normal. Since a while, <B>MPlayer</B> doesn't depend on libcss for
+DVD playing. You have to install <B>libdvdread</B> and <B>libdvdcss?</B>.
+libcss is to be used for example when you want to play encrypted VOB files
+from hard disk (not for general users).
+</TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
+
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
 Hmm, strange. When loading the mga_vid.o kernel module, I found this in the logs:<BR>
 <CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE>
 </B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
@@ -402,7 +411,7 @@
 </B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
 Ok son, your machine is too slow. RTFM or anything.
 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
- 
+
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
 MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video".
 </B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
@@ -437,7 +446,7 @@
 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
 
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
-After starting mplayer under KDE(1/2) I just get a black screen and nothing 
+After starting mplayer under KDE(1/2) I just get a black screen and nothing
 happens, after about one minute the video starts playing.
 </B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
 The KDE arts sound daemon is blocking the sound device, either wait the time
--- a/DOCS/mencoder.1	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/mencoder.1	Sun Nov 11 22:30:31 2001 +0000
@@ -124,7 +124,7 @@
 
 Available options:
 
-  help           get help (TODO!)
+  help           get help
   br=XXX         specify bitrate in
                  kbit <4-16000> or
                  bit  <16001-24000000>
@@ -148,7 +148,7 @@
 
 Available options:
 
-    help         get help (TODO!)
+    help         get help
     br=XXX       specify bitrate in
                  kbit <0-1024>
     q=XXX        Quality
@@ -183,9 +183,6 @@
 .TP
 .B \-frames <number>
 Encode only given number of frames.
-.TP
-.B \-OTHERS
-TODO
 .IP
 .SH FILES AND DIRECTORIES
 .IP
--- a/DOCS/mplayer.1	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/mplayer.1	Sun Nov 11 22:30:31 2001 +0000
@@ -172,10 +172,12 @@
 You need a STRONG CPU in order to use this!
 The supported formats and settings are:
 
-        MPEG 1/2   0 (none), 1, 3, 7, 15, 31, 63
-        OpenDivX   0 (none), 1, 3, 7, 15, 31, 63
-        DivX4      0 (none) - 60
-        DivX       0 (none), 1, 2, 3, 4
+        MPEG 1/2   0 (none), TODO
+        OpenDivX   0 (none), TODO
+        DivX4      0 (none), TODO
+        DivX       0 (none), TODO
+
+        -pp 0x20000 TODO
 
 .TP
 .B \-autoq\ quality
@@ -208,7 +210,7 @@
 (default = 2)
 .TP
 .B \-lircconf\ configfile
-specifies a configfile for LIRC (see http://www.lirc.org) if you don't like the default ~/.lircrc 
+specifies a configfile for LIRC (see http://www.lirc.org) if you don't like the default ~/.lircrc
 .TP
 .B \-v
 enable verbose output (more -v means more verbose)
@@ -595,7 +597,7 @@
 .I Gabucino .
 .LP
 .SH STANDARD DISCLAIMER
-Use only at your own risk! There may be errors and inaccuracies that could 
+Use only at your own risk! There may be errors and inaccuracies that could
 be damaging to your system or your eye. Proceed with caution, and although
 this is highly unlikely, the author doesn't take any responsibility for that!
 .\" end of file
--- a/DOCS/video.html	Sun Nov 11 22:26:15 2001 +0000
+++ b/DOCS/video.html	Sun Nov 11 22:30:31 2001 +0000
@@ -9,39 +9,38 @@
 
 <TD COLSPAN=4><P><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>General:</B></P></TD><TR>
 
-<TD>&nbsp;&nbsp;</TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>x11</TD><TD>&nbsp;&nbsp;</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>X11 with optional SHM extension</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>xv</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>X11 using overlays with the Xvideo extension (hardware YUV & scaling)</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>gl</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OpenGL renderer, so far works only with:
+<TD>&nbsp;&nbsp;</TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.13>x11</A></TD><TD>&nbsp;&nbsp;</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>X11 with optional SHM extension</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.2>xv</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>X11 using overlays with the Xvideo extension (hardware YUV & scaling)</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.10</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OpenGL renderer, so far works only with:
 <UL><LI>all cards with Utah-GLX
 <LI>Matrox cards with X/DRI >=4.0.3
 <LI>Radeon with X/DRI CVS</UL></TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>dga</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>X11 DGA extension</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>fbdev</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Output to general framebuffers</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>svga</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Output to SVGAlib</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>sdl</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.3>dga</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>X11 DGA extension</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.6>fbdev</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Output to general framebuffers</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.5>svga</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Output to SVGAlib</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.4>sdl</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
 &nbsp;&nbsp;<CODE>1.1.7:</CODE> supports software scaling<BR>
 &nbsp;&nbsp;<CODE>1.1.8:</CODE> supports Xvideo (hardware scaling/fullscreen)<BR>
 &nbsp;&nbsp;<CODE>1.2.0:</CODE> supports AAlib (-vo aa is very recommended, see below!)</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ggi</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>similar to SDL</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>aa</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>textmode rendering with AAlib</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><a href="video.html#2.3.1.12">vesa</a></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Output to VESA BIOS.</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.14-TODO>ggi</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>similar to SDL</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.11>aa</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>textmode rendering with AAlib</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><a href=#2.3.1.12>vesa</a></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Output to VESA BIOS.</TD><TR>
 
 <TD COLSPAN=4><P><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Card specific:</B></P></TD><TR>
 
-<TD>&nbsp;&nbsp;</TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>mga</TD><TD>&nbsp;&nbsp;</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Matrox G200/G400 hardware YUV overlay via the mga_vid device</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>xmga</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Matrox G200/G400 overlay (mga_vid) in X11 window<BR>
+<TD>&nbsp;&nbsp;</TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.7>mga</A></TD><TD>&nbsp;&nbsp;</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Matrox G200/G400 hardware YUV overlay via the mga_vid device</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.7>xmga</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Matrox G200/G400 overlay (mga_vid) in X11 window<BR>
 (<I>Xv emulation on X 3.3.x!</I>)</TD><TR>
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>syncfb</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Matrox G400 YUV support on framebuffer (obsoleted, use mga/xmga)</TD><TR>
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>3dfx</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Voodoo3/Banshee hardware YUV (/dev/3dfx) support (not yet tested, maybe
 broken)</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>tdfxfb</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Voodoo3/Banshee hardware YUV support on tdfx framebuffer (works!)</TD><TR>
+<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF=#2.3.1.9>tdfxfb</A></TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Voodoo3/Banshee hardware YUV support on tdfx framebuffer (works!)</TD><TR>
 
 <TD COLSPAN=4><P><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Special:</B></P></TD><TR>
 
 <TD>&nbsp;&nbsp;</TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>png</TD><TD>&nbsp;&nbsp;</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>PNG files output (use -z switch to set compression)</TD><TR>
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>pgm</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>PGM files output (for testing purposes or ffmpeg encoding)</TD><TR>
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>md5</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>MD5sum output (for MPEG conformance tests)</TD><TR>
-<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>odivx</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OpenDivX AVI File writer (use -br to set encoding bitrate) (<B>WITHOUT SOUND</B>!)</TD><TR>
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>null</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Null output (for speed tests/benchmarking)</TD><TR>
 </TABLE>
 
@@ -64,19 +63,19 @@
 <P>It's right, shows my Matrox G400 with 16Mb memory. I did this from
 XFree 4.x.x , which sets up MTRR registers automatically.</P>
 
-If nothing worked, you have to do it manually. First, you have to find the base
+<P>If nothing worked, you have to do it manually. First, you have to find the base
 address.
 You have 3 ways to find it:</P>
 
 <P><UL>
 <LI>from X11 startup messages, for example:
 <P><CODE>(--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000<BR>
-(--) SVGA: Linear framebuffer at 0xD8000000</CODE></P>
+(--) SVGA: Linear framebuffer at 0xD8000000</CODE></P></LI>
 <LI>from /proc/pci (use lspci -v command):
-<P><TABLE>
-<TD VALIGN=top><CODE>01:00.0</CODE></TD><TD><CODE>VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525</CODE></TD><TR>
-<TD></TD><TD><CODE>Memory at d8000000 (32-bit, prefetchable)</CODE></TD><TR>
-</TABLE></P></CODE>
+<P>
+<CODE>01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525</CODE>
+<CODE>Memory at d8000000 (32-bit, prefetchable)</CODE>
+</P>
 <LI>from mga_vid kernel driver messages (use dmesg):
 <P><CODE>mga_mem_base = d8000000</CODE></P>
 </UL></P>
@@ -104,7 +103,7 @@
 
 <P>Not all CPUs support MTRRs. For example older K6-2's [around 266Mhz,
 stepping 0] doesn't support MTRR, but stepping 12's do ('<CODE>cat /proc/cpuinfo</CODE>'
-to check it</CODE>').</P>
+to check it').</P>
 
 <P><B><A NAME=2.3.1.2>2.3.1.2. Xv</A></B></P>
 
@@ -113,7 +112,7 @@
 In order to make this work, be sure to check the following:</P>
 <P><UL>
 <LI>You have to use XFree86 4.0.2 or newer (former versions don't have XVideo)
-<LI>Your card actually supports harware acceleration (modern cards do)
+<LI>Your card actually supports hardware acceleration (modern cards do)
 <LI>X loads the XVideo extension, it's something like this:
 
 <P><CODE>&nbsp;&nbsp;(II) Loading extension XVideo</CODE></P>
@@ -131,7 +130,7 @@
 	  Adaptor #0: "Savage Streams Engine"
 	    number of ports: 1
 	    port base: 43
-	    operations supported: PutImage 
+	    operations supported: PutImage
 	    supported visuals:
 	      depth 16, visualID 0x22
 	      depth 16, visualID 0x23
@@ -222,27 +221,27 @@
 <P><B><A NAME=2.3.1.3.2>2.3.1.3.2. What is DGA</A></B></P>
 
 <P>DGA is short for Direct Graphics Access and is a means for a program to
-bypass the X-Server and directly modifying the framebuffer memory. 
+bypass the X-Server and directly modifying the framebuffer memory.
 Technically spoken this happens by mapping the framebuffer memory into
 the memory range of your process. This is allowed by the kernel only
-if you have superuser privileges. You can get these either by logging in 
+if you have superuser privileges. You can get these either by logging in
 as root or by setting the suid bit on the mplayer excecutable (NOT
 recommended!).</P>
 
-<P>There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was 
+<P>There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was
 introduced with XFree 4.0.1.</P>
 
-<P>DGA1 provides only direct framebuffer access as described above. For 
-switching the resolution of the video signal you have to rely on the 
+<P>DGA1 provides only direct framebuffer access as described above. For
+switching the resolution of the video signal you have to rely on the
 XVidMode extension.</P>
 
 <P>DGA2 incorporates the features of XVidMode extension and also allows
-switching the depth of the display. So you may, although basically 
-running a 32 bit depth XServer, switch to a depth of 15 bits and vice 
+switching the depth of the display. So you may, although basically
+running a 32 bit depth XServer, switch to a depth of 15 bits and vice
 versa. </P>
 
 <P>However DGA has some drawbacks. It seems it is somewhat dependent on the
-graphics chip you use and on the implementation of the XServer's video 
+graphics chip you use and on the implementation of the XServer's video
 driver that controls this chip. So it does not work on every system ...</P>
 
 
@@ -265,7 +264,7 @@
 
 <P><CODE>
 &nbsp;&nbsp;&nbsp;&nbsp;chown root /usr/local/bin/mplayer<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;chmod 750 /usr/local/bin/mplayer<BR> 
+&nbsp;&nbsp;&nbsp;&nbsp;chmod 750 /usr/local/bin/mplayer<BR>
 &nbsp;&nbsp;&nbsp;&nbsp;chmod +s /usr/local/bin/mplayer</CODE></P>
 
 
@@ -292,7 +291,7 @@
 <CODE>/etc/X11/XF86Config</CODE> (<CODE>/etc/X11/XF86Config-4</CODE> for XFree 4.0.X respectively).
 Those are defined by so-called modelines and depend on the capabilites
 of your video hardware. The XServer scans this config file on startup and
-disables the modelines not suitable for your hardware. You can find 
+disables the modelines not suitable for your hardware. You can find
 out which modes survive with the X11 log file. It can be found at:
 <CODE>/var/log/XFree86.0.log</CODE>.</P>
 <P>See appendix A for some sample modeline definitions.</P>
@@ -305,84 +304,84 @@
 how the DGA driver for <B>MPlayer</B> works.</P>
 
 <P><B><A NAME=2.3.1.3.6>2.3.1.3.6. Features of the DGA driver</A></B></P>
- 
+
 <P>The DGA driver is invoked by specifying -vo dga at the command line.
-The default behaviour is to switch to a resolution matching the original 
-resolution of the video as close as possible. It deliberately ignores the 
--vm and -fs switches (enabling of video mode switching and fullscreen) - 
+The default behaviour is to switch to a resolution matching the original
+resolution of the video as close as possible. It deliberately ignores the
+-vm and -fs switches (enabling of video mode switching and fullscreen) -
 it always tries to cover as much area of your screen as possible by switching
-the video mode, thus refraining to use a single additional cycle of your CPU 
+the video mode, thus refraining to use a single additional cycle of your CPU
 to scale the image.
 If you don't like the mode it chooses you may force it to choose the mode
-matching closest the resolution you specify by -x and -y. 
-By providing the -v option, the DGA driver will print, among a lot of other 
-things, a list of all resolutions supported by your current XF86-Config 
+matching closest the resolution you specify by -x and -y.
+By providing the -v option, the DGA driver will print, among a lot of other
+things, a list of all resolutions supported by your current XF86-Config
 file.
-Having DGA2 you may also force it to use a certain depth by using the -bpp 
-option. Valid depths are 15, 16, 24 and 32. It depends on your hardware 
-whether these depths are natively supported or if a (possibly slow) 
+Having DGA2 you may also force it to use a certain depth by using the -bpp
+option. Valid depths are 15, 16, 24 and 32. It depends on your hardware
+whether these depths are natively supported or if a (possibly slow)
 conversion has to be done.</P>
- 
-<P>If you should be lucky enough to have enough offscreen memory left to 
-put a whole image there, the DGA driver will use doublebuffering, which 
+
+<P>If you should be lucky enough to have enough offscreen memory left to
+put a whole image there, the DGA driver will use doublebuffering, which
 results in much smoother movie replaying. It will tell you whether double-
 buffering is enabled or not.</P>
 
 <P>Doublebuffering means that the next frame of your video is being drawn in
 some offscreen memory while the current frame is being displayed. When the
-next frame is ready, the graphics chip is just told the location in memory 
+next frame is ready, the graphics chip is just told the location in memory
 of the new frame and simply fetches the data to be displayed from there.
-In the meantime the other buffer in memory will be filled again with new 
+In the meantime the other buffer in memory will be filled again with new
 video data.</P>
 
-Doublebuffering may be switched on by using the option -double and may be 
-disabled with -nodouble. Current default option is to disable 
-doublebuffering. When using the DGA driver, onscreen display (OSD) only 
+Doublebuffering may be switched on by using the option -double and may be
+disabled with -nodouble. Current default option is to disable
+doublebuffering. When using the DGA driver, onscreen display (OSD) only
 works with doublebuffering enabled. However, enabling doublebuffering may
 result in a big speed penalty (on my K6-II+ 525 it used an additional 20% of
 CPU time!) depending on the implementation of DGA for your hardware.</P>
- 
+
 
 <P><B><A NAME=2.3.1.3.7>2.3.1.3.7. Speed issues</A></B></P>
 
 <P>Generally spoken, DGA framebuffer access should be at least as fast as using
 the X11 driver with the additional benefit of getting a fullscreen image.
-The percentage speed values printed by mplayer have to be interpreted with 
+The percentage speed values printed by mplayer have to be interpreted with
 some care, as for example, with the X11 driver they do not include the time
-used by the X-Server needed for the actual drawing. Hook a terminal to a 
-serial line of your box and start top to see what is really going on in your 
+used by the X-Server needed for the actual drawing. Hook a terminal to a
+serial line of your box and start top to see what is really going on in your
 box ...</P>
 
-<P>Generally spoken, the speedup done by using DGA against 'normal' use of X11 
-highly depends on your graphics card and how well the X-Server module for it 
+<P>Generally spoken, the speedup done by using DGA against 'normal' use of X11
+highly depends on your graphics card and how well the X-Server module for it
 is optimized.</P>
 
-<P>If you have a slow system, better use 15 or 16bit depth since they require 
+<P>If you have a slow system, better use 15 or 16bit depth since they require
 only half the memory bandwidth of a 32 bit display.</P>
 
-<P>Using a depth of 24bit is even a good idea if your card natively just supports 
+<P>Using a depth of 24bit is even a good idea if your card natively just supports
 32 bit depth since it transfers 25% less data compared to the 32/32 mode.</P>
- 
+
 <P>I've seen some avi files already be replayed on a Pentium MMX 266. AMD K6-2
 CPUs might work at 400 MHZ and above.</P>
 
 <P><B><A NAME=2.3.1.3.8>2.3.1.3.8. Known bugs</A></B></P>
 
-<P>Well, according to some developpers of XFree, DGA is quite a beast. They 
+<P>Well, according to some developpers of XFree, DGA is quite a beast. They
 tell you better not to use it. Its implementation is not always flawless
 with every chipset driver for XFree out there.</P>
 
 <P><UL>
 <LI>with XFree 4.0.3 and nv.o there is a bug resulting in strange colors
-<LI>ATI driver requires to switch mode back more than once after finishing 
+<LI>ATI driver requires to switch mode back more than once after finishing
 using of DGA
-<LI>some drivers simply fail to switch back to normal resolution (use 
+<LI>some drivers simply fail to switch back to normal resolution (use
 Ctrl-Alt-Keypad +, - to switch back manually)
 <LI>some drivers simply display strange colors
 <LI>some drivers lie about the amount of memory they map into the process's
 address space, thus vo_dga won't use doublebuffering (SIS?)
 <LI>some drivers seem to fail to report even a single valid mode. In this
-case the DGA driver will crash telling you about a nonsense mode of 
+case the DGA driver will crash telling you about a nonsense mode of
 100000x100000 or the like ...
 <LI>OSD only works with doublebuffering enabled
 </UL></P>
@@ -398,9 +397,9 @@
 <PRE>
   Section "Modes"
     Identifier    "Modes[0]"
-    Modeline	"800x600"  40     800 840 968 1056  600 601 605 628 
+    Modeline	"800x600"  40     800 840 968 1056  600 601 605 628
     Modeline	"712x600"  35.0   712 740 850 900   400 410 412 425
-    Modeline	"640x480"  25.175 640 664 760 800   480 491 493 525 
+    Modeline	"640x480"  25.175 640 664 760 800   480 491 493 525
     Modeline 	"400x300"  20     400 416 480 528   300 301 303 314 Doublescan
     Modeline	"352x288"  25.10  352 368 416 432   288 296 290 310
     Modeline	"352x240"  15.750 352 368 416 432   240 244 246 262 Doublescan
@@ -414,15 +413,15 @@
 
 <P><B><A NAME=2.3.1.3.B>2.3.1.3.B. Bug Reports</A></B></P>
 
-<P>If you experience troubles with the DGA driver please feel free to file 
-a bug report to me (e-mail address below). Please start mplayer with the 
+<P>If you experience troubles with the DGA driver please feel free to file
+a bug report to me (e-mail address below). Please start mplayer with the
 -v option and include all lines in the bug report that start with vo_dga:</P>
- 
-<P>Please do also include the version of X11 you are using, the graphics card 
-and your CPU type. The X11 driver module (defined in XF86-Config) might 
+
+<P>Please do also include the version of X11 you are using, the graphics card
+and your CPU type. The X11 driver module (defined in XF86-Config) might
 also help. Thanks!</P>
 
- 
+
 <P><I>Acki (acki@acki-netz.de, www.acki-netz.de)</I></P>
 
 
@@ -485,7 +484,7 @@
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-fbmode</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>mode name to use (according to /etc/fb.modes)</TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-fbmodeconfig</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>	config file of modes (default /etc/fb.modes)</TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-monitor_hfreq</TD><TD></TD><TD ROWSPAN=3><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>IMPORTANT values, see example.conf</TD><TR>
-<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-monitor_vfreq</TD><TD></TD><TR>		
+<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-monitor_vfreq</TD><TD></TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-monitor_dotclock</TD><TD></TD><TR>
 </TABLE></P>
 
@@ -514,7 +513,7 @@
 support, the mga_vid kernel driver.  It's active developed by me (A'rpi), and
 it has hardware VSYNC support with triple buffering. It works on both
 framebuffer console and under X.</P>
-  
+
 <P>To use it, you first have to compile mga_vid.o:</P>
 
 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;cd drivers<BR>
@@ -548,7 +547,7 @@
 you have matroxfb console, or '-vo xmga' under XFree86 3.x.x or 4.x.x.</P>
 
 <P>The mga_vid driver cooperates with Xv.</P>
-  
+
 
 <P><B><A NAME=2.3.1.8>2.3.1.8. SiS 6326 framebuffer (sis_vid)</A></B></P>
 
@@ -599,7 +598,7 @@
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-aaosdcolor=V</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>change osd color</TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-aasubcolor=V</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>change subtitle color</TD><TR>
 <TD COLSPAN=3></TD><TD><P><I><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>where V can be: (0/normal, 1/dark, 2/bold, 3/boldfont, 4/reverse, 5/special)</P></TD><TR>
-	      
+
 <TD COLSPAN=4><P><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>AAlib itselves provides a large sum of options.
 Here are some important:</P></B></TD><TR>
 
@@ -614,7 +613,7 @@
 non-framebuffer console. Use SVGATextMode to set up a big textmode,
 then enjoy! (secondary head Hercules cards rock :)) (anyone can enhance
 bdev to do conversion/dithering to hgafb? Would be neat :)</P>
-	
+
 <P>Use the -framedrop option if your comp isn't fast enough to render all frames!</P>
 
 <P>Playing on terminal you'll get better speed and quality using the linux driver, not
@@ -671,7 +670,7 @@
 <b>What are minuses:</b><BR>
  - It works only on <b>x86 systems</b>.<BR>
  - <b>It's the slowest driver</b> from all the available ones for MPlayer.<BR>
-   (But only if your card doesn't support <b>DGA mode</b> - otherwise this    
+   (But only if your card doesn't support <b>DGA mode</b> - otherwise this
    driver is comparable by speed with <b>-vo dga</b> and <b>-vo fbdev</b> ones.<BR>
 
  - It can be used only by <b>ROOT</b>.<BR>
@@ -710,6 +709,21 @@
 </P>
 
 
+<P><B><A NAME=2.3.1.13>2.3.1.13.  X11</B></P>
+
+<P>Avoid if possible. Outputs to X11 (uses shared memory extension), with no
+hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but still
+slow) software scaling, use the options <CODE>-fs -zoom</CODE>. Most cards have
+hardware scaling support, use the <CODE>-vo xv</CODE> output for them, or
+<CODE>-vo xmga</CODE> for Matroxes.</P>
+
+<P>The problem is that most cards' driver doesn't support
+hardware acceleration on the second head/TV. In those cases, you see green/blue
+coloured window instead of the movie. This is where this driver comes in
+handy, but you need powerful CPU to use software scaling. Don't use the
+SDL driver's software output+scaler, it has worse image quality !</P>
+
+
 <P><B><A NAME=2.3.1.A>2.3.1.A. TV-out support</A></B></P>
 
 <P><B><A NAME=2.3.1.A.1>2.3.1.A.1. Matrox cards</A></B></P>
@@ -725,7 +739,7 @@
     (Back End Scaler, the YUV scaler on G200/G400/G450/G550 cards) doesn't work
     on it!  The windows driver somehow workarounds this, probably by using the
     3D engine to zoom, and the YUV framebuffer to display the zoomed
-    image. If you really want to use X, use the <CODE>-vo x11 -zoom</CODE>
+    image. If you really want to use X, use the <CODE>-vo x11 -fs -zoom</CODE>
     options, but it will be <B>SLOW</B>, and has <B>Macrovision</B> copyprotection
     enabled.</LI>
   <LI><B>Framebuffer</B>: using the <B>matroxfb modules</B> in the 2.4 kernels.