diff --git a/DOCS/documentation.html b/DOCS/documentation.html index c4ada50223..c2d9642068 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -24,11 +24,6 @@ Table of Contents 1.1 Overview +speed 1.2 History 1.3 Installation - 1.3.1 Codecs - 1.3.2 Drivers - 1.3.3 Player - 1.3.4 Matrox G400 DualHead Tools - 1.3.5 Fonts 1.4 What about the GUI?
@@ -48,15 +43,20 @@ Table of Contents 2.2 Video & Audio output devices 2.2.1 Video output devices 2.2.1.1 Xv + 2.2.1.1.1 3dfx cards + 2.2.1.1.2 S3 cards + 2.2.1.1.3 nVidia cards + 2.2.1.1.4 ATI cards 2.2.1.2 DGA 2.2.1.2.1 Summary 2.2.1.2.2 What is DGA - 2.2.1.2.3 Resolution switching - 2.2.1.2.4 DGA & MPlayer - 2.2.1.2.5 Features of the DGA driver - 2.2.1.2.6 Speed issues - 2.2.1.2.7 Known bugs - 2.2.1.2.8 Future work + 2.2.1.2.3 Installing DGA support for MPlayer + 2.2.1.2.4 Resolution switching + 2.2.1.2.5 DGA & MPlayer + 2.2.1.2.6 Features of the DGA driver + 2.2.1.2.7 Speed issues + 2.2.1.2.8 Known bugs + 2.2.1.2.9 Future work 2.2.1.2.A Some modelines 2.2.1.2.B Bug Reports 2.2.1.3 SDL @@ -69,9 +69,6 @@ Table of Contents 2.2.2 Audio output devices +SOUNDCARDS
- @@ -126,7 +123,7 @@ Table of Contents 1. Introduction -1.1. Overview + 1.1. Overview MPlayer is a movie player for LINUX. It plays most MPEG, AVI and ASF files, supported by many native and Win32 DLL codecs. You can watch VCD, DVD and @@ -189,51 +186,41 @@ Table of Contents 1.3. Installation - - 1.3.1. The Codecs (w32codecs.zip) - - Download and unzip w32codecs.zip to /usr/lib/win32 + If you plan to use MPlayer on x86 architecture, you possibly want to use + Win32 codecs. Download and unzip w32codecs.zip to /usr/lib/win32 . Note: the avifile project has similar codecs package, but it differs from our, so if you want to use all supported codecs, then use - our package! + our package! However, you can use our codecs package with avifile. + + If you own a Matrox G200/G400/G450 card, then please see the 2.2.1.6 + section in order to gain big speedup. It is important to do these steps + _before_ compiling MPlayer, otherwise no Matrox-specific support will be + built. + + Then build MPlayer: - 1.3.2. Drivers (mga_vid.o) - - - cd drivers + ./configure make - mknod /dev/mga_vid c 178 0 - chmod go+rw /dev/mga_vid + make install - 1.3.3. The Player (mplayer) + It is recommended to browse the output of ./configure , it contains info + about what will be built, and what won't. You may also want to view + config.h and config.mak files. - ./configure - [* read messages printed by ./configure, it may be very usefull! *] - [* check config.h and config.mak files! *] - make - [* check for errors! of none, you should have the ./mplayer binary *] - make install + Though not mandatory, the fonts should be installed in order to gain + OSD, and subtitle functionality. Download mp_font3.zip (and optional + language updates) and optional (if exists) language updates. - 1.3.4. Matrox G400 DH TV-out tools - - cd TVout - ./compile.sh + mkdir ~/.mplayer/font + cd ~/.mplayer/font + unzip mp_font3.zip + unzip mp_font3_hu.zip - 1.3.5. Fonts - - Download mp_font3.zip (and optional language updates) and - unpack to ~/.mplayer/font/ : - - cd ~/.mplayer - mkdir font - cd font - unzip mp_font3.zip - unzip mp_font3_hu.zip - + See the 2.3 section for details. 1.4. What about the GUI ? @@ -252,12 +239,14 @@ Table of Contents 2.1.1. Supported input formats - - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file - - DVD, directly from your DVD disk, using optional libcss for decryption - - MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file formats - - RIFF AVI file format - - ASF 1.0 file format - - supports reading from file, stdin, DVD drive or network via HTTP + MPlayer can read/play from the following devices/formats: + - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file + - DVD, directly from your DVD disk, using optional libcss for decryption + - MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file + formats + - RIFF AVI file format + - ASF 1.0 file format + - supports reading from file, stdin, DVD drive or network via HTTP Note: about quicktime (.mov/.qt) and realmedia (.ra/.rm) support read the FAQ! @@ -281,17 +270,100 @@ Table of Contents - alaw, msgsm, pcm and other simple old audio formats If you have a codec not listed here, and not supported yet, just - read http://mplayer.sourceforge.net/DOCS/codecs.html and DOCS/CODECS + read http://mplayer.sourceforge.net/DOCS/codecs.html to get info about its status and about how to help us adding support for it! 2.1.2.1. OpenDivX + This section contains information about the DivX/OpenDivX codecs of + ProjectMayo. Their first available alpha version was the OpenDivX 4.0 + alpha 47 and 48. Support for this was/is included in MPlayer, and built by + default. We even used its postprocessing code to optionally enhance visual + quality of MPEG1/2 movies. + + The new generation of this codec can even decode movies made with the + infamous DivX codec! And it's not everything, it's MUCH faster than the + traditional Win32 DivX DLL's. See below for configuration. The only + disadvantage of this codec is that it's currently closed-source. :( + + The codec can be downloaded from the following URL: + + + http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip + + + No automatic installing available at this time, so install it manually, + EXACTLY as described here. Unpack it, and copy files to their place: + + + cp libdivxdecore.so.0.0.0 /usr/local/lib/ + ln -s /usr/local/lib/libdivxdecore.so.0.0.0 /usr/local/lib/libdivxdecore.so.0 + ln -s /usr/local/lib/libdivxdecore.so.0 /usr/local/lib/libdivxdecore.so + ldconfig + cp decore.h /usr/local/include/ + + + At the moment MPlayer doesn't contain autodetection for the codec, so you'll + have to edit config.h and config.mak manually. But first run ./configure . + Change #undef NEW_DECORE to #define NEW_DECORE in config.h + Change #define MPEG12_POSTPROC to #undef MPEG12_POSTPROC in config.h + Change DECORE_LIBS in config.mak to be: + + + DECORE_LIBS=-L/usr/local/lib -ldivxdecore + + + Continue compiling MPlayer as usual. + + Using it is a bit tricky. As it conflicts with the old OpenDivX (it's API is + very similar to OpenDivX's), OpenDivX code is disabled, and the OpenDivX + driver calls this library too. + + Generally we can pinpoint this issue to that you have two options to use + this codec: + + + -vc odivx : using divx4 codec as a new version of OpenDivX. + in this case it produces YV12 image in its own buffer, + and MPlayer (libvo) does colorspace conversion. + + -vc divx4 : using divx4 codec's colorspace conversion. + in this mode, you can use YUY2/UYVY too. + + The 'odivx' method is usually faster, due to the fact that it transfers + image data in YV12 (planar YUV 4:2:0) format, thus requiring much less + bandwidth on the bus. For packed YUV modes (YUY2, UYVY) use the 'divx4' + method. For RGB modes you can choose freely, their speed is same, maybe + differ according to the current bpp. + + Note: it supports postprocessing too, but range of values is strange: + + 0 no postproc + 10 .. 20 postprocessing, normal + (like level 2 with divxds) + 30 .. 60 hard postprocessing, eats many CPU. + (like level 4 with divxds) + 2.1.2.2. ffmpeg's DivX/libavcodec + Beginning with version 0.4.2 , ffmpeg contains an opensource DivX codec, + which is compatible with the traditional DivX. MPlayer supports this codec, + and this makes it possible to watch DivX movies on non-x86 platforms! + To get it compile, you'll need nasm, bison, and flex, above the other + devel tools. No manual hacking is needed to build it, ./configure detects + if it can be built. At the moment it doesn't support postprocessing, and + is under optimization (it's generally a bit faster than the DirectShow + DivX codec, now). - 2.1.4. Codec importing howto + In order to use it, refresh your codecs.conf file, and do as the manpage, + or the example.conf says (the -vfm option). + + Note: libavcodec contains other codecs as well, but at the moment we mostly + focus on ffdivx. + + 2.1.4. Codec importing howto 2.1.4.1. VFW codecs @@ -300,18 +372,27 @@ Table of Contents the .DLL or (rarely) .DRV extension. If MPlayer fails with your AVI: + UNKNOWN video codec: HFYU (0x55594648) + It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU = HuffYUV codec, DIV3 = DivX Low Motion, etc...). Now that we know this, we'll have to find out which DLL Windows loads in order to play this file. In our case, the system.ini contains this (with many others): + + VIDC.HFYU=huffyuv.dll + + So we'll need the huffyuv.dll file. Note that the audio codecs are specified with the MSACM prefix : - msacm.l3acm=L3codeca.acm - This is the MP3 codec. + + msacm.l3acm=L3codeca.acm + + + This is the MP3 codec. So, now we have all the info needed (fourcc, codec file, sample AVI), submit your codec support request in mail, and upload these files to the FTP: ftp://thot.banki.hu/MPlayer/incoming/