Mercurial > mplayer.hg
changeset 1682:dba45a1aafad
*** empty log message ***
author | gabucino |
---|---|
date | Fri, 24 Aug 2001 18:48:13 +0000 |
parents | 445ea1ce4180 |
children | e39e774a8ca5 |
files | DOCS/Hungarian/documentation.html DOCS/bugreports.html DOCS/cd-dvd.html DOCS/codecs.html DOCS/documentation.html DOCS/faq.html DOCS/sound.html DOCS/video.html |
diffstat | 8 files changed, 2181 insertions(+), 2089 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/Hungarian/documentation.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/Hungarian/documentation.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,260 +1,235 @@ <HTML> - <BODY> -<P> -<CENTER>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)<BR> -<BR> -<A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A></CENTER><BR> -</P> +<P><CENTER><B>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)</B><BR> +<BR><A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A></CENTER></P> <P><HR></P> -<P> -Tartalomjegyzék -</P> +<P>Tartalomjegyzék</P> <P><HR></P> -<PRE> -<P> - <A HREF="#1">1. Bevezetés</A> -</P> -<P> - <A HREF="#1.1">1.1 Röviden</A> - <A HREF="#1.2">1.2 Történelem</A> - <A HREF="#1.3">1.3 Telepítés</A> - <A HREF="#1.4">1.4 És a grafikus felület?</A> -</P> -<P> - <A HREF="#2">2. Funkciók</A> -</P> -<P> - <A HREF="codecs.html">2.1 Video formátumok, audio és video codec-ek</A> - <A HREF="codecs.html#2.1.1">2.1.1 Támogatott input formátumok</A> - <A HREF="codecs.html#2.1.2">2.1.2 Támogatott audio és video codec-ek</A> - <A HREF="codecs.html#2.1.2.1">2.1.2.1 DivX4</A> - <A HREF="codecs.html#2.1.2.2">2.1.2.2 ffmpeg DivX/libavcodec</A> - <A HREF="codecs.html#2.1.2.3">2.1.2.3 Hardware-es AC3 dekódolás</A> - <A HREF="codecs.html#2.1.4">2.1.4 Hogyan használj ismeretlen Win32 codec-et</A> - <A HREF="codecs.html#2.1.4.1">2.1.4.1 VFW</A> - <A HREF="codecs.html#2.1.4.2">2.1.4.2 DirectShow</A> -</P> -<P> - <A HREF="video.html">2.2 Video és audio kimeneti eszközök</A> - <A HREF="video.html#2.2.1">2.2.1 Video kimenetek</A> - <A HREF="video.html#2.2.1.1">2.2.1.1 MTRR</A> - <A HREF="video.html#2.2.1.2">2.2.1.2 Xv</A> - <A HREF="video.html#2.2.1.2.1">2.2.1.2.1 3dfx kártyák</A> - <A HREF="video.html#2.2.1.2.2">2.2.1.2.2 S3 kártyák</A> - <A HREF="video.html#2.2.1.2.3">2.2.1.2.3 nVidia kártyák</A> - <A HREF="video.html#2.2.1.2.4">2.2.1.2.4 ATI kártyák</A> - <A HREF="video.html#2.2.1.3">2.2.3.2 DGA</A> - <A HREF="video.html#2.2.1.3.1">2.2.1.3.1 Előszó</A> - <A HREF="video.html#2.2.1.3.2">2.2.1.3.2 Mi az a DGA</A> - <A HREF="video.html#2.2.1.3.3">2.2.1.3.3 DGA támogatás telepítése MPlayer-be</A> - <A HREF="video.html#2.2.1.3.4">2.2.1.3.4 Felbontásváltás</A> - <A HREF="video.html#2.2.1.3.5">2.2.1.3.5 DGA és MPlayer</A> - <A HREF="video.html#2.2.1.3.6">2.2.1.3.6 A DGA driver képességei</A> - <A HREF="video.html#2.2.1.3.7">2.2.1.3.7 Sebesség</A> - <A HREF="video.html#2.2.1.3.8">2.2.1.3.8 Ismert hibák</A> - <A HREF="video.html#2.2.1.3.9">2.2.1.3.9 Beépítendő dolgok</A> - <A HREF="video.html#2.2.1.3.A">2.2.1.3.A Néhány modeline</A> - <A HREF="video.html#2.2.1.3.B">2.2.1.3.B Hibabejelentés</A> - <A HREF="video.html#2.2.1.4">2.2.1.4 SDL</A> - <A HREF="video.html#2.2.1.5">2.2.1.5 SVGAlib</A> - <A HREF="video.html#2.2.1.6">2.2.1.6 Framebuffer kimenet (FBdev)</A> - <A HREF="video.html#2.2.1.7">2.2.1.7 Matrox framebuffer (mga_vid)</A> - <A HREF="video.html#2.2.1.8">2.2.1.8 SiS 6326 framebuffer (sis_vid)</A> - <A HREF="video.html#2.2.1.9">2.2.1.9 3dfx YUV támogatás</A> - <A HREF="video.html#2.2.1.10">2.2.1.10 OpenGL kimenet</A> - <A HREF="video.html#2.2.1.11">2.2.1.11 AAlib - szöveges módú megjelenítés</A> - <A HREF="video.html#2.2.1.A">2.2.1.A TV kimenet</A> - <A HREF="video.html#2.2.1.A.1">2.2.1.A.1 Matrox kártyák</A> - <A HREF="sound.html#2.2.2">2.2.2 Audio kimenetek</A> - <A HREF="sound.html#2.2.2.1">2.2.2.1 Ajánlott beállítások különféle hangkártyákhoz</A> -</P> -<P> - <A HREF="#3">3. Használat</A> -</P> -<P> - <A HREF="#3.1">3.1 Irányítás billentyűzetről</A> - <A HREF="#3.2">3.2 Irányítás LIRC-cel (Linux Infrared Remote Control)</A> - <A HREF="#3.3">3.3 Lejátszás hálózatról, vagy pipe-on keresztül</A> -</P> -<P> - <A HREF="cd-dvd.html#4">4. CD/DVD fejezet</A> -</P> -<P> - <A HREF="cd-dvd.html#4.1">4.1 CD meghajtók</A> - <A HREF="cd-dvd.html#4.2">4.2 DVD lejátszás</A> - <A HREF="cd-dvd.html#4.3">4.3 DVD FAQ</A> -</P> -<P> - <A HREF="faq.html">5. FAQ fejezet</A> -</P> -<P> - <A HREF="faq.html#5.1">5.1 Fordítás</A> - <A HREF="faq.html#5.2">5.2 Általános kérdések</A> - <A HREF="faq.html#5.3">5.3 File lejátszással kapcsolatos problémák</A> - <A HREF="faq.html#5.4">5.4 Video/audio meghajtókkal kapcsolatos problémák</A> - <A HREF="faq.html#5.5">5.5 Feature kérések</A> -</P> -<P> - <A HREF="#6">6. Különféle operációs rendszerek</A> -</P> -<P> - <A HREF="#6.1">6.1 Debian csomagolás</A> - <A HREF="#6.2">6.2 FreeBSD</A> - <A HREF="#6.3">6.3 Solaris 8</A> - <A HREF="#6.4">6.4 StrongARM</A> -</P> -<P> - <A HREF="../documentation.html#A">A. Készítők</A> -</P> -<P> - <A HREF="#B">B. Levelezési listák</A> -</P> -<P> - <A HREF="bugreports.html">C. Hogyan jelents be hibát</A> -</P> -</PRE> +<P><UL> +<LI><A HREF="#1">1. Bevezetés</A> + <UL><LI><A HREF="#1.1">1.1 Röviden</A></LI> + <LI><A HREF="#1.2">1.2 Történelem</A></LI> + <LI><A HREF="#1.3">1.3 Telepítés</A></LI> + <LI><A HREF="#1.4">1.4 És a grafikus felület?</A> + </LI></UL> +</LI><LI><A HREF="#2">2. Funkciók</A> + <UL><LI><A HREF="codecs.html">2.1 Video formátumok, audio és video codec-ek</A> + <UL><LI><A HREF="codecs.html#2.1.1">2.1.1 Támogatott input formátumok</A></LI> + <LI><A HREF="codecs.html#2.1.2">2.1.2 Támogatott audio és video codec-ek</A> + <UL><LI><A HREF="codecs.html#2.1.2.1">2.1.2.1 DivX4</A></LI> + <LI><A HREF="codecs.html#2.1.2.2">2.1.2.2 ffmpeg DivX/libavcodec</A></LI> + </UL> + </LI><LI><A HREF="codecs.html#2.1.4">2.1.4 Hogyan használj ismeretlen Win32 codec-et</A></LI> + <UL><LI><A HREF="codecs.html#2.1.4.1">2.1.4.1 VFW</A></LI> + <LI><A HREF="codecs.html#2.1.4.2">2.1.4.2 DirectShow</A></LI> + </UL> + </LI></UL> + </LI><LI><A HREF="video.html">2.2 Video és audio kimeneti eszközök</A> + <UL><LI><A HREF="video.html#2.2.1">2.2.1 Video kimenetek</A> + <UL><LI><A HREF="video.html#2.2.1.1">2.2.1.1 MTRR</A> + </LI><LI><A HREF="video.html#2.2.1.2">2.2.1.2 Xv</A> + <UL><LI><A HREF="video.html#2.2.1.2.1">2.2.1.2.1 3dfx kártyák</A> + </LI><LI><A HREF="video.html#2.2.1.2.2">2.2.1.2.2 S3 kártyák</A> + </LI><LI><A HREF="video.html#2.2.1.2.3">2.2.1.2.3 nVidia kártyák</A> + </LI><LI><A HREF="video.html#2.2.1.2.4">2.2.1.2.4 ATI kártyák</A> + </LI></UL> + </LI><LI><A HREF="video.html#2.2.1.3">2.2.3.2 DGA</A> + <UL><LI><A HREF="video.html#2.2.1.3.1">2.2.1.3.1 Előszó</A> + </LI><LI><A HREF="video.html#2.2.1.3.2">2.2.1.3.2 Mi az a DGA</A> + </LI><LI><A HREF="video.html#2.2.1.3.3">2.2.1.3.3 DGA támogatás telepítése MPlayer-be</A> + </LI><LI><A HREF="video.html#2.2.1.3.4">2.2.1.3.4 Felbontásváltás</A> + </LI><LI><A HREF="video.html#2.2.1.3.5">2.2.1.3.5 DGA és MPlayer</A> + </LI><LI><A HREF="video.html#2.2.1.3.6">2.2.1.3.6 A DGA driver képességei</A> + </LI><LI><A HREF="video.html#2.2.1.3.7">2.2.1.3.7 Sebesség</A> + </LI><LI><A HREF="video.html#2.2.1.3.8">2.2.1.3.8 Ismert hibák</A> + </LI><LI><A HREF="video.html#2.2.1.3.9">2.2.1.3.9 Beépítendő dolgok</A> + </LI><LI><A HREF="video.html#2.2.1.3.A">2.2.1.3.A Néhány modeline</A> + </LI><LI><A HREF="video.html#2.2.1.3.B">2.2.1.3.B Hibabejelentés</A> + </LI></UL> + </LI><LI><A HREF="video.html#2.2.1.4">2.2.1.4 SDL</A> + </LI><LI><A HREF="video.html#2.2.1.5">2.2.1.5 SVGAlib</A> + </LI><LI><A HREF="video.html#2.2.1.6">2.2.1.6 Framebuffer kimenet (FBdev)</A> + </LI><LI><A HREF="video.html#2.2.1.7">2.2.1.7 Matrox framebuffer (mga_vid)</A> + </LI><LI><A HREF="video.html#2.2.1.8">2.2.1.8 SiS 6326 framebuffer (sis_vid)</A> + </LI><LI><A HREF="video.html#2.2.1.9">2.2.1.9 3dfx YUV támogatás</A> + </LI><LI><A HREF="video.html#2.2.1.10">2.2.1.10 OpenGL kimenet</A> + </LI><LI><A HREF="video.html#2.2.1.11">2.2.1.11 AAlib - szöveges módú megjelenítés</A> + </LI><LI><A HREF="video.html#2.2.1.A">2.2.1.A TV kimenet</A> + </LI><UL><LI><A HREF="video.html#2.2.1.A.1">2.2.1.A.1 Matrox kártyák</A> + </UL></LI></UL> + </LI><LI><A HREF="sound.html#2.2.2">2.2.2 Audio kimenetek</A> + <UL><LI><A HREF="sound.html#2.2.2.1">2.2.2.1 Ajánlott beállítások különféle hangkártyákhoz</A> + </LI></UL> + </LI></UL> + </LI></UL> +</LI><LI><A HREF="#3">3. Használat</A> + <UL><LI><A HREF="#3.1">3.1 Irányítás billentyűzetről</A> + </LI><LI><A HREF="#3.2">3.2 Irányítás LIRC-cel (Linux Infrared Remote Control)</A> + </LI><LI><A HREF="#3.3">3.3 Lejátszás hálózatról, vagy pipe-on keresztül</A> + </LI></UL> +</LI><LI><A HREF="cd-dvd.html#4">4. CD/DVD fejezet</A> + <UL><LI><A HREF="cd-dvd.html#4.1">4.1 CD meghajtók</A> + </LI><LI><A HREF="cd-dvd.html#4.2">4.2 DVD lejátszás</A> + </LI><LI><A HREF="cd-dvd.html#4.3">4.3 DVD FAQ</A> + </LI></UL> +</LI><LI><A HREF="faq.html">5. FAQ fejezet</A> + <UL><LI><A HREF="faq.html#5.1">5.1 Fordítás</A> + </LI><LI><A HREF="faq.html#5.2">5.2 Általános kérdések</A> + </LI><LI><A HREF="faq.html#5.3">5.3 File lejátszással kapcsolatos problémák</A> + </LI><LI><A HREF="faq.html#5.4">5.4 Video/audio meghajtókkal kapcsolatos problémák</A> + </LI><LI><A HREF="faq.html#5.5">5.5 Feature kérések</A> + </LI></UL> +</LI><LI><A HREF="#6">6. Különféle operációs rendszerek</A> + <UL><LI><A HREF="#6.1">6.1 Debian csomagolás</A> + </LI><LI><A HREF="#6.2">6.2 FreeBSD</A> + </LI><LI><A HREF="#6.3">6.3 Solaris 8</A> + </LI><LI><A HREF="#6.4">6.4 StrongARM</A> + </LI></UL> +</LI><LI><A HREF="../documentation.html#A">A. Készítők</A> +</LI><LI><A HREF="#B">B. Levelezési listák</A> +</LI><LI><A HREF="bugreports.html">C. Hogyan jelents be hibát</A> + +</LI></UL></P> + <P><HR></P> -<P><PRE> - <A NAME=1>1. Bevezetés</A> +<P><B><A NAME=1>1. Bevezetés</A></B></P> +<P><B><A NAME=1.1>1.1. Röviden</A></B></P> - <A NAME=1.1>1.1. Röviden</A> - - Az <B>MPlayer</B> egy LINUXON működő videolejátszó. Le tudja játszani a legtöbb - MPEG, AVI és ASF file-t, valamint felsorakoztat jónéhány nativ és Win32 - codecet. Nézhetsz vele VCD-t, DVD-t, és még DivX-et is. A másik óriási +<P>Az <B>MPlayer</B> egy LINUXON működő videolejátszó. Le tudja játszani a + legtöbb MPEG, AVI és ASF file-t, valamint felsorakoztat jónéhány nativ és + Win32 codecet. Nézhetsz vele VCD-t, DVD-t, és még DivX-et is. A másik óriási tulajdonsága az MPlayernek a megjelenítési módok széles választéka. Működik X11, Xv, DGA, OpenGL, SVGAlib, fbdev, aalib, sőt SDL-lel is (beleértve ezáltal az SDL drivereit is), és néhány alacsonyszintű kártyaspecifikus driver (Matrox/3dfx/SiS) is használható! Legtöbbjük támogat software vagy hardware scaling-et, így a teljesképernyős mód is elérhető. És még nem is szóltam a szép, élsímított, árnyékolt feliratozásról (7 támogatott típus!), - ami támogat magyar, angol, cirill, cseh és koreai fontokat, valamint OSD-t! + ami támogat magyar, angol, cirill, cseh és koreai fontokat, valamint OSD-t!</P> - Nem codeceket írtam, csak néhány lejátszót. Sok időt töltöttem azzal is, hogy +<P>Nem codeceket írtam, csak néhány lejátszót. Sok időt töltöttem azzal is, hogy megtaláljam a megfelelő módszert a hibás file-ok beolvasására (mind MPEG, AVI), valamint a tökéletes A-V szinkronra, akár seekkel is. A lejátszó sziklaszilárdan játszik le hibás MPEG file-okat (hasznos néhány VCD-nél), és lejátszik minden olyan hibás AVI-t, amit a csodás windows media player nem. Még az index chunk nélküli AVI-k is lejátszhatók, sőt az indexet fel is lehet építeni a '-idx' opcióval, így seekelni is lehet bennük! Amint az látszik, a - stabilitás és a minőség a legfontosabbak a számomra, de a sebesség se semmi. - + stabilitás és a minőség a legfontosabbak a számomra, de a sebesség se semmi.</P> - <A NAME=1.2>1.2. Történelem</A> +<B><P><A NAME=1.2>1.2. Történelem</A></B></P> - Egy éve kezdődött... +<P>Egy éve kezdődött... Nagyon sok lejátszót kipróbáltam Linux alatt (mtv,xmps,dvdview,livid/oms, VideoLAN,xine,xanim,avifile,xmmp), de mindnek ugyanazok a problémái. Többnyire a különleges file-okkal, vagy a hang/kép szinkronnal. Legtöbbjük képtelen mind MPEG1, MPEG2 ÉS AVI (DivX) lejátszásra. Sokuknak gondjuk van - a képminőséggel, vagy a sebességgel is. Elhatároztam, hogy (át)írok egyet... + a képminőséggel, vagy a sebességgel is. Elhatároztam, hogy (át)írok egyet...</P> - - mpg12play v0.1-v0.3: +<P><UL> +<LI><B>mpg12play v0.1-v0.3:</B><BR> Az első próbálkozás, fél óra alatt összegányolva! A libmpeg3-at hasznaltam a www.heroinewarrior.com-ról egészen a 0.3-as verzióig, de minőségi és sebességi problémák voltak vele. - - mpg12play v0.5-v0.87: +<LI><B>mpg12play v0.5-v0.87:</B><BR> Az MPEG codec helyére a DVDview-et (Dirk Farin) tettem, nagyszerű dolog volt, de lassú, és C++-ban készült (utálom a C++-t!!!) - - mpg12play v0.9-v0.95pre5: +<LI><B>mpg12play v0.9-v0.95pre5:</B><BR> Az MPEG codec itt az Aaron Holtzman és Michel Lespinasse készítette libmpeg2 (mpeg2dec). Nagyon jó, optimalizált, gyors C kód, tökéletes képminőség és 100%-os megfelelés a szabványnak. - - <B>MPlayer</B> v0.3-v0.9: +<LI><B>MPlayer</B> v0.3-v0.9:</B><BR> Egyvelege két programnak: mpg12play v0.95pre6 és az új, egyszerű AVI lejátszómnak ('avip'), ami az avifile Win32 DLL loaderén alapul. - - <B>MPlayer</B> v0.10: +<LI><B>MPlayer</B> v0.10:</B><BR> Az MPEG és AVI lejátszó egyetlen programban! - - <B>MPlayer</B> v0.11: +<LI><B>MPlayer</B> v0.11:</B><BR> Néhány új fejlesztővel gyarapodtunk, és innentől az mplayer project csapatmunkán alapul! ASF támogatás hozzáadása, és OpenDivX (lásd www.projectmayo.com) en/dekódolás. - - <B>MPlayer</B> v0.17 "The IdegCounter" +<LI><B>MPlayer</B> v0.17 "The IdegCounter"</B><BR> A 0.11pre sorozat végső verziója, 4 hónapnyi kőkemény fejlesztés után! Próbáld ki és ess ámulatba! Ezernyi új dolog... és persze a régi kód feljavítva, bugok eltávolítva stb. - - <B>MPlayer</B> 0.18 +<LI><B>MPlayer</B> 0.18</B><BR> 2 hónap telt el a 0.17 óta, és itt az újabb release... Teljes ASF támogatás, még több subtitle formátum, libao (mint libvo, csak ez audio-ra), és még stabilabb, mint eddig! KÖTELEZŐ ! - +</UL></P> - <A NAME=1.3>1.3. Installálás</A> +<P><B><A NAME=1.3>1.3. Installálás</A></B></P> - Ha az <B>MPlayer</B>-t x86-os gépen fogod használni, valószínűleg használni +<P>Ha az <B>MPlayer</B>-t x86-os gépen fogod használni, valószínűleg használni akarod a Win32 codec-eket. Töltsd le és tömörítsd ki a w32codecs.zip-et az /usr/lib/win32 könyvtárba . Megj.: az avifile project hasonló csomagot használ, de különbözik a miénktől, ígyhát ezt használd! A mi csomagunk - egyébként használható az avifile-vel. + egyébként használható az avifile-vel.</P> - Ha egy Matrox G200/G400/G450 kártya boldog tulajdonosa vagy, nézd meg a +<P>Ha egy Matrox G200/G400/G450 kártya boldog tulajdonosa vagy, nézd meg a <A HREF="video.html#2.2.1.7">2.2.1.7</A>-es fejezetet, és nagy gyorsulást érhetsz el. Ezeket a lépéseket fordítás _előtt_ kell megcsinálni, különben nem épül be Matrox támogatás az - <B>MPlayer</B>-be. - - Ha tervezed a ProjectMayo <B>DivX4</B> codec-ének használatát, nézd meg a - <A HREF="codecs.html#2.1.2.1">2.1.2.1</A>-es fejezetet még fordítás előtt. + <B>MPlayer</B>-be.</P> - Ezután fordítsd le az <B>MPlayer</B>-t : - +<P>Ha tervezed a ProjectMayo <B>DivX4</B> codec-ének használatát, nézd meg a + <A HREF="codecs.html#2.1.2.1">2.1.2.1</A>-es fejezetet még fordítás előtt.</P> - ./configure - make - make install +<P>Ezután fordítsd le az <B>MPlayer</B>-t:</P> - - Ajánlott átnézni a ./configure kimenetét, fontos információkat tartalmaz - arra vonatkozóan hogy mi lesz belefordítva és mi nem. Megnézheted továbbá - a config.h és config.mak file-okat. +<PRE> ./configure + make + make install</PRE> - Bár nem kötelező, jobb ha felteszed a fontokat is, mert így kapsz OSD-t, és +<P>Ajánlott átnézni a ./configure kimenetét, fontos információkat tartalmaz + arra vonatkozóan hogy mi lesz belefordítva és mi nem. Megnézheted továbbá + a config.h és config.mak file-okat.</P> + +<P>Bár nem kötelező, jobb ha felteszed a fontokat is, mert így kapsz OSD-t, és feliratok megjelenítésének képességét. Töltsd le az mp_font3.zip-et - (és opcionálisan nyelvi kiegészítőket) + (és opcionálisan nyelvi kiegészítőket)</P> - - mkdir ~/.mplayer/font +<PRE> mkdir ~/.mplayer/font cd ~/.mplayer/font unzip mp_font3.zip - unzip mp_font3_hu.zip - + unzip mp_font3_hu.zip</PRE> - <A NAME=1.4>1.4. És a grafikus felület ?</A> +<P><B><A NAME=1.4>1.4. És a grafikus felület ?</A></B></P> - Én nem vagyok GUI (grafikus felület) fejlesztő. Nem szeretem ezeket, +<P>Én nem vagyok GUI (grafikus felület) fejlesztő. Nem szeretem ezeket, szívesebben használom az egyszerű fekete 80x25-ös konzolt. Ezért a lejátszó most még csak billentyűzetről vezérelhető. Pontscho/Fresh! már dolgozik a grafikus felületen, ami még fejlesztési stádiumban van ugyan, de hamarosan elkészül és beépítjük. Ha már itt tartunk, kellene neki néhány skin, ha jó - grafikus vagy, írj neki!!! + grafikus vagy, írj neki!!!</P> + +<P><B><A NAME=2>2. Funkciók</A></B></P> +<P><A NAME=2.1>2.1. <A HREF="codecs.html">Video formátumok, audio és video codec-ek</A></A></P> + +<P><A NAME=2.2>2.2. <A HREF="video.html">Video</A> és <A HREF="sound.html">audio</A> kimeneti eszközök</A></P> + +<P><B><A NAME=3>3. Használat</A></B></P> - <A NAME=2>2. Funkciók</A> +<P><TABLE BORDER=0> +<TD> </TD><TD>file</TD><TD> </TD><TD><CODE>mplayer [opciók] [útvonal//]filenév</CODE></TD><TR> +<TD></TD><TD>VCD</TD><TD></TD><TD><CODE>mplayer [opciók] -vcd trackszám /dev/cdrom</CODE></TD><TR> +<TD></TD><TD>DVD</TD><TD></TD><TD><CODE>mplayer [opciók] -dvd titleno [/dev/dvd]</CODE></TD><TR> +<TD></TD><TD>net</TD><TD></TD><TD><CODE>mplayer [opciók] http://site.com/file.[mpg|avi]</CODE></TD><TR> +</TABLE></P> - - <A NAME=2.1>2.1. <A HREF="codecs.html">Video formátumok, audio és video codec-ek</A></A> +<P><PRE> mplayer -vo x11 /mnt/Films/Contact/contact2.mpg + mplayer -vcd 2 /dev/cdrom + mplayer -afm 3 /mnt/DVDtrailers/alien4.vob + mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob + mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi</PRE></P> - <A NAME=2.2>2.2. <A HREF="video.html">Video</A> és <A HREF="sound.html">audio</A> kimeneti eszközök</A> - - - <A NAME=3>3. Használat</A> - - file: mplayer [opciók] [útvonal/]filenév - VCD: mplayer [opciók] -vcd trackszám /dev/cdrom - DVD: mplayer [opciók] -dvdauth /dev/dvd filenév.VOB - net: mplayer [opciók] http://site.com/file.[mpg|avi] - - - <A NAME=3.1>3.1. Irányítás billentyűzetről</A> +<P><B><A NAME=3.1>3.1. Irányítás billentyűzetről</A></B></P> <- és -> hátra/előre seek, 10 másodpercnyi @@ -541,8 +516,6 @@ <A NAME=C><A HREF="bugreports.html">Appendix C</A> - How to report bugs</A> -</PRE> - </BODY> </HTML>
--- a/DOCS/bugreports.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/bugreports.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,95 +1,101 @@ <HTML> - <BODY> -<PRE> - - <A NAME=C>Appendix C - How to report bugs</A> +<P><B><A NAME=C>Appendix C - How to report bugs</A></B></P> -How to report bugs? -~~~~~~~~~~~~~~~~~~~ -First read DOCS/BUGS, and other docs. If your problem isn't -known or isn't solved by our instructions, then report the bug: +<P><B>How to report bugs?</B></P> + +<P>First read DOCS/BUGS, and other docs. If your problem isn't +known or isn't solved by our instructions, then report the bug:</P> -Where? -====== -Subscribe to the mplayer-users mailing list: - http://lists.sourceforge.net/lists/listinfo/mplayer-users -and send your bugreport to: - mplayer-users@lists.sourceforge.net -We won't CC: so please subscribe!!! +<P><B>Where?</B></P> -Don't send bugreports private, directly to author's address!!! +<P>Subscribe to the mplayer-users mailing list:<BR> + <CODE>http://lists.sourceforge.net/lists/listinfo/mplayer-users</CODE><BR> +and send your bugreport to:<BR> + <CODE>mplayer-users@lists.sourceforge.net</CODE><BR> +We won't CC: so please subscribe!!!</P> + +<P>Don't send bugreports private, directly to author's address!!! We are working together on code, so everyone is interested in it. BTW many times other users know the solution (system config probs, bad drivers etc), even when we think it's a bug in our code. -The language of this list is ENGLISH ! +The language of this list is ENGLISH!</P> -Please describe your problem in details, examples etc, and don't -forget to include these: +<P>Please describe your problem in details, examples etc, and don't +forget to include these:</P> -What? -===== +<P><B>What?</B></P> + +<P><B><I>1. The system info what we always want:</I></B></P> -1. The system info what we always want: -- linux distribution - examples: - RedHat 7.1 - Slackware 7.0 + devel packs from 7.1 ... -- kernel version: - uname -a -- libc version: - ls -l /lib/libc[.-]* -- X version: - X -version -- gcc and ld version: - gcc -v - ld -v -- binutils version: - as --version +<UL> +<LI>linux distribution<BR> +examples:<UL> + <LI>RedHat 7.1 + <LI>Slackware 7.0 + devel packs from 7.1 ...</UL> +<LI>kernel version:<BR> + <CODE>uname -a</CODE> +<LI>libc version:<BR> + <CODE>ls -l /lib/libc[.-]*</CODE> +<LI>X version:<BR> + <CODE>X -version</CODE> +<LI>gcc and ld version:<BR> + <CODE>gcc -v<BR> + ld -v</CODE> +<LI>binutils version:<BR> + <CODE>as --version</CODE> +</UL> + +<P><B><I>2. Hardware & drivers:</I></B></P> -2. Hardware & drivers: -- CPU info: - cat /proc/cpuinfo -- video card manufacturer and model - examples: - ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM - Matrox G400 DH 32MB SGRAM -- video driver type & version - examples: - X built-in driver - nvidia 0.9.623 - Utah-GLX CVS 2001-02-17 - DRI from X 4.0.3 -- sound card type & driver - examples: - Creative SBLive! Gold with OSS driver from oss.creative.com - Creative SB16 with OSS drivers of kernel - GUS PnP with ALSA OSS emulation -- if you are unsure, attach output of lspci -v +<UL> +<LI>CPU info:<BR> + <CODE>cat /proc/cpuinfo</CODE> +<LI>video card manufacturer and model<BR> + examples:<BR><UL> + <LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM + <LI>Matrox G400 DH 32MB SGRAM</UL> +<LI>video driver type&version<BR> + examples:<UL> + <LI>X built-in driver + <LI>nvidia 0.9.623 + <LI>Utah-GLX CVS 2001-02-17 + <LI>DRI from X 4.0.3</UL> +<LI>sound card type & driver<BR> + examples:<BR><UL> + <LI>Creative SBLive! Gold with OSS driver from oss.creative.com + <LI>Creative SB16 with OSS drivers of kernel + <LI>GUS PnP with ALSA OSS emulation</UL> +<LI>if you are unsure, attach output of lspci -v +</UL> -For compiling problems/errors: -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -3. output of configure/make: - make distclean - ./configure &>config.log - ./make &>make.log -4. these files: - config.h - config.mak - libvo/config.mak +<P><B>For compiling problems/errors</B></P> + +<P><B><I>3. output of configure/make:</I></B></P> + +<UL><LI><CODE>make distclean</CODE> +<LI><CODE>./configure &>config.log</CODE> +<LI><CODE> ./make &>make.log +</UL> -For playback problems: -~~~~~~~~~~~~~~~~~~~~~~ -3. Output of mplayer at verbose level 1 (-v) - mplayer -v [options] filename &> mplayer.log +<P><B><I>4. these files:</I></B></P> +<UL><LI>config.h +<LI>config.mak +<LI>libvo/config.mak +</UL> + +<P><B>For playback problems:</B></P> + +<P><B><I>3. Output of mplayer at verbose level 1 (-v)</I></B></P> +<P><CODE> mplayer -v [options] filename &> mplayer.log</CODE></P> -4. If the problem is specific to one or a few files, - then please upload that file to: - ftp://mplayerhq.hu/MPlayer/incoming/ +<P><B><I>4. If the problem is specific to one or a few files, + then please upload that file to:</I></B></P> +<P><CODE> ftp://mplayerhq.hu/MPlayer/incoming/</CODE></P> Usually first 1-5 MB of the file is enough to reproduce the problem, but first you should try it: - dd if=yourfile of=smallfile bs=1k count=1024 +<P><CODE> dd if=yourfile of=smallfile bs=1k count=1024</CODE></P> (it will cut first 1MB of 'yourfile' and save to 'smallfile') Then try again on this small file, and if bug still exists then it's enough to upload this small file. @@ -98,44 +104,48 @@ If the file is accessible on the net, then sending the _exact_ URL is enough! -5. For crashes (segfault, SIGILL, signal 4 etc): +<P><B><I>5. For crashes (segfault, SIGILL, signal 4 etc):</I></B></P> -If you have coredump of the crash, see 5.a, else see 5.b: +<P><I>If you have coredump of the crash, see 5.a, else see 5.b:</I></P> -5.a: Please print us coredump (if it was created). -Howto: -please create following command file: +<P><B><I>5.a: Please print us coredump (if it was created).</I></B></P> + +<P>Howto: +please create following command file:</P> -disass $eip-32 $eip+32 -printf "eax=%08lX\n",$eax -printf "ebx=%08lX\n",$ebx -printf "ecx=%08lX\n",$ecx -printf "edx=%08lX\n",$edx -printf "esp=%08lX\n",$esp -printf "ebp=%08lX\n",$ebp -printf "edi=%08lX\n",$edi -printf "esi=%08lX\n",$esi +<P><CODE>disass $eip-32 $eip+32<BR> +printf "eax=%08lX\n",$eax<BR> +printf "ebx=%08lX\n",$ebx<BR> +printf "ecx=%08lX\n",$ecx<BR> +printf "edx=%08lX\n",$edx<BR> +printf "esp=%08lX\n",$esp<BR> +printf "ebp=%08lX\n",$ebp<BR> +printf "edi=%08lX\n",$edi<BR> +printf "esi=%08lX\n",$esi<BR> +</CODE></P> -Then simply execute following command line: -gdb mplayer --core=core -batch --command=command_file >mplayer.bug +<P>Then simply execute following command line:</P> +<P> <CODE>gdb mplayer --core=core -batch --command=command_file >mplayer.bug</CODE></P> -5.b.: run <B>MPlayer</B> in gdb: -[at root/user shell prompt:] - # gdb mplayer -[at gdb prompt:] - > run -v [options-to-mplayer] filename - ... (wait until it will crash) - > bt - > disass $eip-32 $eip+32 +<P><B><I>5.b.: run MPlayer in gdb:</I></B></P> +<P>[at root/user shell prompt:]<BR> + <CODE># gdb mplayer</CODE><BR> +[at gdb prompt:]<BR> + <CODE>> run -v [options-to-mplayer] filename</CODE><BR> + ... (wait until it will crash)<BR> + <CODE>> bt</CODE><BR> + <CODE>> disass $eip-32 $eip+32</CODE><BR> Send us the full output of the above things! +</P> -In general: -~~~~~~~~~~~ - If something is big (logs etc) then it's better to upload to the ftp - (gzipped), and include only path/filename in the bugreport! +<P><B>In general:</B></P> -</PRE> +<P>If something is big (logs etc) then it's better to upload to the ftp +(gzipped), and include only path/filename in the bugreport!</P> + +<BR> +<HR> +MPlayer documentation project </BODY> - </HTML>
--- a/DOCS/cd-dvd.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/cd-dvd.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,207 +1,196 @@ <HTML> - <BODY> -<PRE> +<P><B><A NAME=4.1>4.1. CD-ROM drives</A></B></P> + +<P>From Linux documentation:</P> - <A NAME=4.1>4.1. CD-ROM drives</A> +<P>Some CDROM drives are capable of changing their head-speed. There are several +reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may +benefit from less-than-maximum head rate. Modern CDROM drives can obtain very +high head rates (up to 24-times is common). It has been reported that these +drives can make reading errors at these high speeds, reducing the speed can +prevent data loss in these circumstances. Finally, some of these drives can +make an annoyingly loud noise, which a lower speed may reduce.</P> - From Linux documentation: +<P>The recommended way to do it is with a program called 'setcd' . It's kinda +old, but won't be too hard to find on the Net. (UPDATE : new hdparm +has an option for this !) +Use it with :</P> + +<P> <CODE>setcd -x [speed] [cdrom device]</CODE></P> - Some CDROM drives are capable of changing their head-speed. There are several - reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may - benefit from less-than-maximum head rate. Modern CDROM drives can obtain very - high head rates (up to 24-times is common). It has been reported that these - drives can make reading errors at these high speeds, reducing the speed can - prevent data loss in these circumstances. Finally, some of these drives can - make an annoyingly loud noise, which a lower speed may reduce. +<P>Also you can try:</P> + +<P> <CODE>echo current_speed:4 >/proc/ide/[cdrom device]/settings</CODE></P> + +<P>but you'll need root privileges. I use following command too:</P> + +<P> <CODE>echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings</CODE></P> - The recommended way to do it is with a program called 'setcd' . It's kinda - old, but won't be too hard to find on the Net. (UPDATE : new hdparm - has an option for this !) - Use it with : +<P>for 2MB prefetched reading from the file (it's useful for scratched CDROMs). +It's recommended that you tuneup your CDROM drive also with hdparm:</P> + +<P> <CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P> +<P>to enable using DMA access, readahead, and IRQ unmasking. +(if you don't understand these, *read the hdparm manpage*)</P> - setcd -x [speed] [cdrom device] - +<P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for fine-tuning your +CDROM.</P> - Also you can try : - - - echo current_speed:4 >/proc/ide/[cdrom device]/settings - +<P><B><A NAME=4.2>4.2. DVD playback</A></B></P> + +<P>Yes, the real DVD support has been arrived. You don't need to play VOB files +manually from disk thinking of the purpose of a file in the video_ts +directory, you don't need worry it it's an encrypted disk or not (in old +<B>MPlayer</B> you had to put '-dvdauth /dev/dvd' into the command line in case +of encrypted discs), and you don't need even mount your disk to be able to +play :)</P> + +<P>IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback. +This is the first version of some real DVD support inside <B>MPlayer</B> and +we're busy with hunting bugs and implementing basic DVD player features.</P> - but you'll need root privileges. I use following command too : - - - echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings - +<P><B>MPlayer</B> uses libdvdread which has got built in support for IFO parsing, +reading navi blocks and doing authentication/descrambling. libdvdread +use the good old libcss to the latter tasks. So you will need libcss and +libdvdread downloaded, compiled and installed BEFORE you run ./configure +script of <B>MPlayer</B> which will autodetect libdvdread for you in this way.</P> - for 2MB prefetched reading from the file (it's useful for scratched CDROMs). - It's recommended that you tuneup your CDROM drive also with hdparm : - - - hdparm -d1 -a8 -u1 (cdrom device) - +<UL> +<LI><P><B>Download source of libdvdread and libcss.</B></P> + +<P><I>You can download them from +<A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A> +(click 'download' in the menu at the left, and you can find libcss and +libdvdread in a table).</I></P></LI> + +<LI><P><B>Compile and install libcss THEN libdvdread.</B></P> + +<P><I>Read documentation of these packages to do this step easily.</I></P></LI> + +<LI><P><B>Recompile MPlayer.</B></P> + +<P><I>Run <CODE>./configure</CODE>. If you install libdvdread correctly, ./configure +says something similar:<BR><CODE>Checking for DVDread support ... yes</CODE><BR> +(Of course you can put your favourite configure options into the command +line when you run ./configure). That's it! Say: <CODE>make</CODE>, then <CODE>make install</CODE>.</I></P></LI> +</UL> - to enable using DMA access, readahead, and IRQ unmasking. - (if you don't understand these, *read the hdparm manpage*) +<P>Of course after installing libcss and libdvdread you don't need recompile +them at each time when you want to recompile <B>MPlayer</B> (from a new CVS version +for example) since the needed packages have already been installed on your +machine.</P> - Please refer to "/proc/ide/[cdrom device]/settings" for fine-tuning your - CDROM. - +<P><B>Using MPlayer to play DVDs:</B></P> - <A NAME=4.2>4.2. DVD playback</A> - - IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback. This - is extremly experimental hack. Maybe it won't work for you. If you're - capable of helping us do it now! First we would like to fix existing problems. - Then we can start implementing advanced DVD playback functions of course. - - This means current DVD functions are mainly for developers and not for users! - - First, you must compile and install libcss on your system. - Second, you have to recompile <B>MPlayer</B> with libcss support. There is - autodetection of libcss, but if it fails, see below : - - Call ./configure script of <B>MPlayer</B> with these options: - - ./configure --enable-css --with-csslibdir=/usr/local/lib --with-cssincdir=/usr/local/include +<TABLE BORDER=0 WIDTH=100%> +<TD VALIGN=top>-dvd <title_id> </TD> +<TD>Enables DVD support and selects title.</TD><TR> +<TD VALIGN=top>-chapter <chapter_id> </TD> +<TD>Selects DVD chapter (default: play from chapter 1)</TD><TR> +<TD VALIGN=top>-dvdangle <chapter_id> </TD> +<TD>Selects camera angle (default: 1)</TD><TR> +</TABLE> - (of course you can append your favourite options as well) - - --with-csslibdir=/usr/local/lib - Directory contains libcss.so shared library. This directory should - be in your /etc/ld.so.conf as well. - - --with-cssincdir=/usr/local/include - Directory contains header file 'css.h' of libcss. +<P>Default device is <CODE>/dev/dvd</CODE>, you can change it in config.h +(compile time option), or you can specify it as a filename for <B>MPlayer</B>: +</P> - mplayer -dvdauth /dev/dvd /mnt/cdrom/video_ts/vts_01_1.vob - - where, +<P> <CODE>mplayer -dvd 1 /dev/dvd</CODE></P> +<P> <CODE>mplayer -dvd 2 -chapter 5 -dvdangle 2</CODE></P> - '-dvdauth /dev/dvd' tells <B>MPlayer</B> the device name of your DVD drive. - it's used in disc authentication process +<P><B><A NAME=4.3>4.3. DVD playback FAQ</A></B></P> - the filename is simply a VOB file path on the disc +<TABLE BORDER=0 ALIGN=left WIDTH=100%> - Note that according to my experiences, disc authentication requires root - privileges so you must run <B>MPlayer</B> as root! (see section 'Problems'). - - NOTE about the sound: - It seems that <B>MPlayer</B> sometimes fails to find the first audio stream. - You can specify it with the '-aid 128' option, for example. - Please experience with 128,129 and similar values. See section - 'Problems'. +<TD> </TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have some problem not mentioned here ... +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Read section <A HREF="#4.2">DVD playback</A> as well. +</TD><TR><TD COLSPAN=3> </TD><TR> - On my AMD K6-2 with using hw scaling and colorspace conversion - capability of my G400 it's possible to watch DVD with about 70% - CPU usage with '-nosound'. Unfortunately with sound my machine is - not enough :( Maybe it can be improved somewhat ... - Guess, it's not so bad ... According to reports from my friends - xine uses 80-90% CPU to play DVD on much more powerful machines - like 1GHz Athlon systems (as far as I know, it's said that about - 300MHz celeron is the minimum to watch DVDs ... using windows - DVD viewers). +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +How can I actually watch DVD with MPlayer? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +See the latter question and answer. +</TD><TR><TD COLSPAN=3> </TD><TR> - Hint: I commented out downmix functions from libac3 (of course in this way I - can't get sound) and audio decoding CPU usage became 11% instead of 24 on - my machine. This clearly indicates that we should optimize downmix functions - (KNI code is no use for my k6-2). - - HOT NEWZ: - We have got 3Dnow optimized libac3. Wow ;-) - +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Can I compile libdvdread and libcss for example on my sweet Sparc/Solaris? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Who knows ... Please test it and send feedback. But it's said that it +should work. Please refer documentation of libdvdread and its homepage +as well. We're not authors of libdvdread. +</TD><TR><TD COLSPAN=3> </TD><TR> - Problems (TODO) - - * disc authentication (the FIBMAP ioctl) requires root privilegies. - this is strange since OMS can do it as user too. - * sound. I'm using my only DVD disc (The Matrix) to test <B>MPlayer</B>. - some VOB file have English sound, some have Spanish and some have - no sound at all. - IT SEEMS that if I give '-aid 128' everything works with English sound ... - * strange effects but only with SOME vob files (it looks like some interlacing - effect, eg: every 2nd line on the screen is from the last frame). - +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What about subtitles? Can MPlayer decode them? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Yes it can (or at least it would be able to) but there is now DVD subtitle +displaying functionality inside <B>MPlayer</B> (DVD subs are stored as images, +not text!). However it's a planned feature (at the time of libvo2). +</TD><TR><TD COLSPAN=3> </TD><TR> - Feature TODO - - * chapter scanner - * audio stream scanner and allow to select one on runtime as well - (in stage#1 it would be enough to select one on the startup, see - 'Problems' above) - * DVD menu - I found (at least on disc 'The Matrix') the menu VOB but I don't - know how can it be used. - (after some eyeballing on the source of OMS, it seems we would have to - parse *.ifo files) - * subtitle support - * OSD/GUI (?) support for select chapter, subtitle and audio stream - * getting some documentation on DVD format, eg: which is the 'root' VOB - file on the disc in video_ts directory, which is the menu and so on. - * improve performance (see 'Performance' above) - +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I've got no sound / bad sound (Spanish audio and other ugly things). +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +<B>MPlayer</B> currently does not use all of information of IFO blocks from DVD. +You can adjust the right DVD audio stream with: '-aid 128' command line +option, where 128 is the stream id of requested audio stream. You can +experience with numbers of 128,129,... and so on. Of course this problem +will be solved in the future. +</TD><TR><TD COLSPAN=3> </TD><TR> - No sound problem (from Matrix DVD, the menu VOB) - - End of packet while searching for PCM header - - DEMUXER: Too many (2048 in 4131540 bytes) video packets in the buffer! - (maybe you play a non-interleaved stream/file or video codec failed) - MPEG: No Audio stream found... ->nosound +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +There is some strange effect (interlace like thing) especially when fast +moving objects are shown in the movie. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Known problem, we try to fix it later (when we switch to libvo2). +</TD><TR><TD COLSPAN=3> </TD><TR> - However this does not occur if you specify '-aid 128'. - - - <A NAME=4.3>4.3. DVD playback FAQ</A> - - <B>Q: I have some problem not mentioned here ... - </B>A: Read file 'DVD' as well. - - <B>Q: How can I actually watch DVD with MPlayer? - </B>A: Ehh. Go on reading this file as well as 'DVD' (hint: you must have libcss) +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +How can I set the region code of my DVD-Drive ? I don't have windows! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Use the 'regionset' tool: +http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest - under the XYZ#$ paragraph of the-- - </B>A: Get back asshole, there is no DeCSS code in MPlayer. It links to libcss. - - <B>Q: Seems to work but no sound. - </B>A: Use '-aid 128' (or try: 128,129,...) command line switch +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest +under the XYZ#$ paragraph of the-- +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Get back asshole, there is no DeCSS code in <B>MPlayer</B>. <B>MPlayer</B> uses libdvdread +by linking against it, and libdvdread uses libcss by dynamic loading it. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I have got Spanish audio instead of English (or similar problems) - </B>A: See the last question/answer. - - <B>Q: MPlayer complains about FIBMAP or something. - </B>A: Try to run MPlayer as root. - - <B>Q: some strange effect (interlace like thing) especially when fast moving - objects are shown in the movie - </B>A: known problem, we try to fix it later +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +No, you don't. This is the past :) However of course you must have got +the proper rights to the DVD device driver entry (in /dev). +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: DVD support in MPlayer is a piece of shit! - </B>A: You're probably right :) However please contact us if you can improve it! - - <B>Q: Where can I get libcss package from? - </B>A: Maybe from the source of OMS (www.linuxvideo.org). - - <B>Q: How can I ... (insert some expectable DVD player feature here) - </B>A: The current implementation is only for viewing VOB files from DVD. - Nothing more, like subtitles, menus and so on. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +How can I ... (insert some expectable DVD player feature here)? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +The current implementation is the first implementation of some real DVD +player functionality. First, we would like to target existing bugs and +basic features before implementing new features. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: How can I set the region code of my DVD-Drive ? I don't have windows! - </B>A: Use the 'regionset' tool : - http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Where can I get libdvdread and libcss packages from? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +From the site of Ogle: +<A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A>. +</TD><TR><TD COLSPAN=3> </TD><TR> +</TABLE> - <B>Q: MPlayer complains about some renamed option? - </B>A: For future development, old '-dvd' option was replaced by '-dvdauth'. - Option '-dvd' *WILL* do the 'full disk movie' mplaying mode. - But until that, '-dvd' does nothing only prints error message. - -</PRE> +<BR> +<HR>MPlayer documentation project </BODY> - </HTML>
--- a/DOCS/codecs.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/codecs.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,228 +1,218 @@ <HTML> - <BODY> -<PRE> - - <A NAME=2.1>2.1. Video Formats, Audio & Video Codecs</A> - - - <A NAME=2.1.1>2.1.1. Supported input formats</A> +<P><B><A NAME=2.1>2.1. Video Formats, Audio & Video Codecs</A></B></P> - <B>MPlayer</B> 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! - - - <A NAME=2.1.2>2.1.2. Supported audio & video codecs</A> +<P><B><A NAME=2.1.1>2.1.1. Supported input formats</A></B></P> - See http://mplayerhq.hu/MPlayer/DOCS/codecs.html for the complete, - daily updated list!!! - - The most important video codecs: - - MPEG1 (VCD) and MPEG2 (DVD) video - - DivX, FFmpeg, OpenDivX and other MPEG4 variants - - Windows Media Video 7 (WMV1) and Windows Media Video 8 used in .wmv files - - Intel Indeo codecs (3.1,3.2,4.1,5.0) - - MJPEG, ASV2 and other hardware formats +<P><B>MPlayer</B> can read/play from the following devices/formats:<BR> +<UL> +<LI> VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file +<LI> DVD, directly from your DVD disk, using optional libcss for decryption +<LI> MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file + formats +<LI> RIFF AVI file format +<LI> ASF 1.0 file format +<LI> supports reading from file, stdin, DVD drive or network via HTTP +</UL></P> - The most important audio codecs: - - MPEG layer 2, and layer 3 (MP3) audio (native code, with 3dnow optimization) - - AC3 dolby audio (native code, with 3dnow optimization) - - AC3 passthrough to soundcard's decoder - - Voxware audio - - alaw, msgsm, pcm and other simple old audio formats - - If you have a codec not listed here, and not supported yet, just - read http://mplayerhq.hu/MPlayer/DOCS/codecs.html - to get info about its status and about how to help us adding support for it! +<P>Note: about quicktime (.mov/.qt) and realmedia (.ra/.rm) support read the FAQ!</P> - <A NAME=2.1.2.1>2.1.2.1. DivX4</A> +<P><B><A NAME=2.1.2>2.1.2. Supported audio & video codecs</A></B></P> - This section contains information about the DivX4 codec of - <A HREF="http://www.projectmayo.com">ProjectMayo</A>. Their first available alpha version was the OpenDivX 4.0 - alpha 47 and 48. Support for this was/is included in <B>MPlayer</B>, 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. :( +<P>See http://mplayer.sourceforge.net/DOCS/codecs.html for the complete, +daily updated list!!!</P> - The codec can be downloaded from the following URL: - - - http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip - +<P>The most important video codecs:<BR> +<UL> +<LI>MPEG1 (VCD) and MPEG2 (DVD) video +<LI>DivX, FFmpeg, OpenDivX and other MPEG4 variants +<LI>Windows Media Video 7 (WMV1) and Windows Media Video 8 used in .wmv files +<LI>Intel Indeo codecs (3.1,3.2,4.1,5.0) +<LI>MJPEG, ASV2 and other hardware formats +</UL></P> - No automatic installing available at this time, so install it manually, - EXACTLY as described here. Unpack it, and copy files to their place: - +<P>The most important audio codecs:<BR> +<UL> +<LI>MPEG layer 2, and layer 3 (MP3) audio (native code, with 3dnow optimization) +<LI>AC3 dolby audio (native code, with 3dnow optimization) +<LI>Voxware audio +<LI>alaw, msgsm, pcm and other simple old audio formats +</UL></P> - 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/ +<P>If you have a codec not listed here, and not supported yet, just +read http://mplayer.sourceforge.net/DOCS/codecs.html +to get info about its status and about how to help us adding support for it!</P> - <B>MPlayer</B> autodetects if DivX4 is (properly) installed, just compile - as usual. If it doesn't detect it, you didn't install it exactly as above, - and/or has fucked up config (see last question of 5.1 section). - - 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. +<P><B><A NAME=2.1.2.1>2.1.2.1. DivX4</A></B></P> - Generally we can pinpoint this issue to that you have two options to use - this codec: - +<P>This section contains information about the DivX4 codec of +<A HREF="http://www.projectmayo.com">ProjectMayo</A>. Their first available alpha version was the OpenDivX 4.0 +alpha 47 and 48. Support for this was/is included in <B>MPlayer</B>, and built by +default. We even used its postprocessing code to optionally enhance visual +quality of MPEG1/2 movies.</P> - -vc odivx : using divx4 codec as a new version of OpenDivX. - in this case it produces YV12 image in its own buffer, - and <B>MPlayer</B> (libvo) does colorspace conversion. +<P>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. :(</P> - -vc divx4 : using divx4 codec's colorspace conversion. - in this mode, you can use YUY2/UYVY too. +<P>The codec can be downloaded from the following URL:</P> + +<P> <CODE>http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip</CODE></P> - 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. +<P>No automatic installing available at this time, so install it manually, +EXACTLY as described here. Unpack it, and copy files to their place:</P> - 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) +<P><CODE>cp libdivxdecore.so.0.0.0 /usr/local/lib/<BR> +ln -s /usr/local/lib/libdivxdecore.so.0.0.0 /usr/local/lib/libdivxdecore.so.0<BR> +ln -s /usr/local/lib/libdivxdecore.so.0 /usr/local/lib/libdivxdecore.so<BR> +ldconfig<BR> +cp decore.h /usr/local/include/</CODE></P> - <A NAME=2.1.2.2>2.1.2.2. ffmpeg's DivX/libavcodec</A> +<P><B>MPlayer</B> autodetects if DivX4 is (properly) installed, just compile +as usual. If it doesn't detect it, you didn't install it exactly as above, +and/or has fucked up config (see last question of 5.1 section).</P> + +<P>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.</P> + +<P>Generally we can pinpoint this issue to that you have two options to use +this codec:</P> + +<P><TABLE BORDER=0> +<TD> </TD><TD VALIGN=top>-vc odivx</TD><TD> </TD> +<TD>using divx4 codec as a new version of OpenDivX. +in this case it produces YV12 image in its own buffer, +and <B>MPlayer</B> (libvo) does colorspace conversion.</TD><TR> +<TD></TD><TD VALIGN=top>-vc divx4</TD><TD></TD> +<TD>using divx4 codec's colorspace conversion. +in this mode, you can use YUY2/UYVY too.</TD><TR> +</TABLE></P> - Beginning with version 0.4.2 , <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> contains an <B>opensource</B> DivX codec, - which is compatible with the traditional DivX. <B>MPlayer</B> supports this codec, - and this makes it possible to <B>watch DivX movies on non-x86 platforms!</B> - It was removed from <B>MPlayer</B>'s cvs tree, you have to download it - manually directly from <B>FFmpeg</B>'s tree : +<P>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.</P> + +<P>Note: it supports postprocessing too, but range of values is strange:</P> +<P><TABLE BORDER=0> +<TD> </TD><TD>0</TD><TD> </TD> +<TD>no postproc</TD><TR> +<TD></TD><TD>10 .. 20</TD> +<TD></TD><TD>postprocessing, normal (like level 2 with divxds)</TD><TR> +<TD></TD><TD>30 .. 60</TD> +<TD></TD><TD>hard prostprocessing, eats many CPU (like level 4 with divxds</TD><TR> +</TABLE></P> +<P><B><A NAME=2.1.2.2>2.1.2.2. ffmpeg's DivX/libavcodec</A></B></P> + +<P>Beginning with version 0.4.2 , <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> contains an <B>opensource</B> DivX codec, +which is compatible with the traditional DivX. <B>MPlayer</B> supports this codec, +and this makes it possible to <B>watch DivX movies on non-x86 platforms!</B> +It was removed from <B>MPlayer</B>'s cvs tree, you have to download it +manually directly from <B>FFmpeg</B>'s tree:</P> + +<P><CODE> cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg - - - Note: if you copy with CVS subdirs, next time it's enough to do - 'cvs update'. +</CODE></P> - Now, move the newly downloaded ffmpeg source's <B>libavcodec</B> directory, - (with all it's subdirectories) to <B>MPlayer</B>'s tree, so it will look - like this : - +<P>Note: <I>if you copy with CVS subdirs, next time it's enough to do +'cvs update'.</I></P> - main/libavcodec - - - Symlinking is NOT enough, you have to copy it. +<P>Now, move the newly downloaded ffmpeg source's <B>libavcodec</B> directory, +(with all it's subdirectories) to <B>MPlayer</B>'s tree, so it will look +like this:</P> - ./configure detects if it can be built. At the moment it doesn't support - postprocessing, and is under optimization (it's faster than the DS/VfW DivX - codec). - - In order to use it, refresh your codecs.conf file, and do as the manpage, - or the example.conf says (the -vfm option). +<P> <CODE>main/libavcodec</CODE></P> - Note: libavcodec contains other codecs as well, but at the moment we mostly - focus on ffdivx, and it's unlikely that this will change. - - - <A NAME=2.1.2.3>2.1.2.3. Hardware AC3 decoding</A> +<P>Symlinking is NOT enough, you have to copy it.</P> - You will need a soundcard with AC3 passthrough capability to digital out - (SP/DIF). Also, the its driver has to support AFMT_AC3 (SB Live! for example) - Connect the hardware AC3 decoder to your soundcard's SP/DIF, and use - -ac hwac3 . It may work. - +<P>./configure detects if it can be built. At the moment it doesn't support +postprocessing, and is under optimization (it's faster than the DS/VfW DivX +codec).</P> - <A NAME=2.1.4>2.1.4. Codec importing howto</A> - - - <A NAME=2.1.4.1>2.1.4.1. VFW codecs</A> +<P>In order to use it, refresh your codecs.conf file, and do as the manpage, +or the example.conf says (the -vfm option).</P> - VfW (Video for Windows) is the old Video API for Windows. Its codecs have - the .DLL or (rarely) .DRV extension. - If <B>MPlayer</B> fails with your AVI: - - - UNKNOWN video codec: HFYU (0x55594648) +<P>Note: libavcodec contains other codecs as well, but at the moment we mostly +focus on ffdivx, and it's unlikely that this will change.</P> - 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): +<P><B><A NAME=2.1.4>2.1.4. Codec importing howto</A></B></P> + +<P><B><A NAME=2.1.4.1>2.1.4.1. VFW codecs</A></B></P> + +<P>VfW (Video for Windows) is the old Video API for Windows. Its codecs have +the .DLL or (rarely) .DRV extension. +If <B>MPlayer</B> fails with your AVI:</P> + +<P> <CODE>UNKNOWN video codec: HFYU (0x55594648)</CODE></P> +<P>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):</P> - VIDC.HFYU=huffyuv.dll +<P> <CODE>VIDC.HFYU=huffyuv.dll</CODE></P> + +<P>So we'll need the huffyuv.dll file. Note that the audio codecs are specified +with the MSACM prefix:</P> + +<P> <CODE>msacm.l3acm=L3codeca.acm</CODE></P> - So we'll need the huffyuv.dll file. Note that the audio codecs are specified - with the MSACM prefix : - - - msacm.l3acm=L3codeca.acm +<P>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:</P> - - 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://mplayerhq.hu/MPlayer/incoming/[codecname]/ +<P> <CODE>ftp://mplayerhq.hu/MPlayer/incoming/[codecname]/</CODE></P> - <A NAME=2.1.4.2>2.1.4.2. DirectShow codecs</A> +<P><B><A NAME=2.1.4.2>2.1.4.2. DirectShow codecs</A></B></P> - DirectShow is the newer Video API, which is even worse than its predecessor. - Things are harder with DirectShow, since - - system.ini doesn't contain the needed information, instead it's stored in - the registry :( - - we'll need the GUID of the codec. +<P>DirectShow is the newer Video API, which is even worse than its predecessor. +Things are harder with DirectShow, since +<UL> +<LI>system.ini doesn't contain the needed information, instead it's stored in +the registry :( +<LI>we'll need the GUID of the codec. +</UL></P> - So let's search that goddamn registry.. - - Start 'regedit' - - press ctrl-f, disable the first two checkbox, and enable the third. Type - the fourcc of the codec. (for ex.: TM20) - - you should see a field which contains the path and filename - (for ex. : C:\WINDOWS\SYSTEM\TM20DEC.AX) - - now that we have the file, we'll need the GUID. Try searching again, but - now we'll search for the codec's name, not the fourcc. Its name can be acquired - when Media Player is playing that file, by checking File/Properties/Advanced. - If not, bad luck ;) Try guessing. - (for ex. search for : TrueMotion) - - if found (in registry), there should be a FriendlyName field, and a CLSID - field. Write down that 16 byte of CLSID, this is the GUID required by us. +<P>So let's search that goddamn registry.. +<UL> +<LI>Start 'regedit' +<LI>press ctrl-f, disable the first two checkbox, and enable the third. Type +the fourcc of the codec. (for ex.: TM20) +<LI>you should see a field which contains the path and filename +(for ex. : C:\WINDOWS\SYSTEM\TM20DEC.AX) +<LI>now that we have the file, we'll need the GUID. Try searching again, but +now we'll search for the codec's name, not the fourcc. Its name can be acquired +when Media Player is playing that file, by checking File/Properties/Advanced. +If not, bad luck ;) Try guessing. +(for ex. search for : TrueMotion) +<LI>if found (in registry), there should be a FriendlyName field, and a CLSID +field. Write down that 16 byte of CLSID, this is the GUID required by us. +</UL></P> + +<P>NOTE: if searching fails, try to enable all the checkboxes.. you may have +false hits, but maybe you'll have the right, too...</P> +<P>NOTE: dump that M$ shit.</P> - NOTE : if searching fails, try to enable all the checkboxes.. you may have - false hits, but maybe you'll have the right, too... - NOTE : dump that M$ shit. - +<P>So, now we have all the info needed (fourcc, GUID, codec file, sample AVI), +submit your codec support request in mail, and upload these files to the FTP:<BR> +ftp://mplayerhq.hu/MPlayer/incoming/[codecname]/</P> - So, now we have all the info needed (fourcc, GUID, codec file, sample AVI), - submit your codec support request in mail, and upload these files to the FTP: - ftp://mplayerhq.hu/MPlayer/incoming/[codecname]/ - -</PRE> +<BR> +<HR>MPlayer documentation project </BODY> - </HTML>
--- a/DOCS/documentation.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/documentation.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,316 +1,288 @@ <HTML> - <BODY> -<P> -<CENTER>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)<BR> -<BR> -<A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A></CENTER><BR> -</P> +<P><CENTER><B>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)</B><BR> +<BR><A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A></CENTER></P> + +<P><HR></P> + +<P>Table of Contents</P> <P><HR></P> -<P> -Table of Contents -</P> +<P><UL> +<LI><A HREF="#1">1. Introduction</A> + <UL><LI><A HREF="#1.1">1.1 Overview</A></LI> + <LI><A HREF="#1.2">1.2 History</A></LI> + <LI><A HREF="#1.3">1.3 Installation</A></LI> + <LI><A HREF="#1.4">1.4 What about the GUI?</A> + </LI></UL> +</LI><LI><A HREF="#2">2. Features</A> + <UL><LI><A HREF="codecs.html">2.1 Video Formats, Audio & Video Codecs</A> + <UL><LI><A HREF="codecs.html#2.1.1">2.1.1 Supported input formats</A></LI> + <LI><A HREF="codecs.html#2.1.2">2.1.2 Supported audio & video codecs</A> + <UL><LI><A HREF="codecs.html#2.1.2.1">2.1.2.1 DivX4</A></LI> + <LI><A HREF="codecs.html#2.1.2.2">2.1.2.2 ffmpeg's DivX/libavcodec</A></LI> + </UL> + </LI><LI><A HREF="codecs.html#2.1.4">2.1.4 Codec importing howto</A></LI> + <UL><LI><A HREF="codecs.html#2.1.4.1">2.1.4.1 VFW codecs</A></LI> + <LI><A HREF="codecs.html#2.1.4.2">2.1.4.2 DirectShow codecs</A></LI> + </UL> + </LI></UL> + </LI><LI><A HREF="video.html">2.2 Video & Audio output devices</A> + <UL><LI><A HREF="video.html#2.2.1">2.2.1 Video output devices</A> + <UL><LI><A HREF="video.html#2.2.1.1">2.2.1.1 MTRR</A> + </LI><LI><A HREF="video.html#2.2.1.2">2.2.1.2 Xv</A> + <UL><LI><A HREF="video.html#2.2.1.2.1">2.2.1.2.1 3dfx cards</A> + </LI><LI><A HREF="video.html#2.2.1.2.2">2.2.1.2.2 S3 cards</A> + </LI><LI><A HREF="video.html#2.2.1.2.3">2.2.1.2.3 nVidia cards</A> + </LI><LI><A HREF="video.html#2.2.1.2.4">2.2.1.2.4 ATI cards</A> + </LI></UL> + </LI><LI><A HREF="video.html#2.2.1.3">2.2.3.2 DGA</A> + <UL><LI><A HREF="video.html#2.2.1.3.1">2.2.1.3.1 Summary</A> + </LI><LI><A HREF="video.html#2.2.1.3.2">2.2.1.3.2 What is DGA</A> + </LI><LI><A HREF="video.html#2.2.1.3.3">2.2.1.3.3 Installing DGA support for MPlayer</A> + </LI><LI><A HREF="video.html#2.2.1.3.4">2.2.1.3.4 Resolution switching</A> + </LI><LI><A HREF="video.html#2.2.1.3.5">2.2.1.3.5 DGA & MPlayer</A> + </LI><LI><A HREF="video.html#2.2.1.3.6">2.2.1.3.6 Features of the DGA driver</A> + </LI><LI><A HREF="video.html#2.2.1.3.7">2.2.1.3.7 Speed issues</A> + </LI><LI><A HREF="video.html#2.2.1.3.8">2.2.1.3.8 Known bugs</A> + </LI><LI><A HREF="video.html#2.2.1.3.9">2.2.1.3.9 Future work</A> + </LI><LI><A HREF="video.html#2.2.1.3.A">2.2.1.3.A Some modelines</A> + </LI><LI><A HREF="video.html#2.2.1.3.B">2.2.1.3.B Bug Reports</A> + </LI></UL> + </LI><LI><A HREF="video.html#2.2.1.4">2.2.1.4 SDL</A> + </LI><LI><A HREF="video.html#2.2.1.5">2.2.1.5 SVGAlib</A> + </LI><LI><A HREF="video.html#2.2.1.6">2.2.1.6 Framebuffer output (FBdev)</A> + </LI><LI><A HREF="video.html#2.2.1.7">2.2.1.7 Matrox framebuffer (mga_vid)</A> + </LI><LI><A HREF="video.html#2.2.1.8">2.2.1.8 SiS 6326 framebuffer (sis_vid)</A> + </LI><LI><A HREF="video.html#2.2.1.9">2.2.1.9 3dfx YUV support</A> + </LI><LI><A HREF="video.html#2.2.1.10">2.2.1.10 OpenGL output</A> + </LI><LI><A HREF="video.html#2.2.1.11">2.2.1.11 AAlib - text mode displaying</A> + </LI><LI><A HREF="video.html#2.2.1.A">2.2.1.A TVout</A> + </LI><UL><LI><A HREF="video.html#2.2.1.A.1">2.2.1.A.1 Matrox cards</A> + </UL></LI></UL> + </LI><LI><A HREF="sound.html#2.2.2">2.2.2 Audio output devices</A> + <UL><LI><A HREF="sound.html#2.2.2.1">2.2.2.1 Soundcard experiences, recommendations</A> + </LI></UL> + </LI></UL> + </LI></UL> +</LI><LI><A HREF="#3">3. Usage</A> + <UL><LI><A HREF="#3.1">3.1 Control from keyboard</A> + </LI><LI><A HREF="#3.2">3.2 Control from LIRC (Linux Infrared Remote Control)</A> + </LI><LI><A HREF="#3.3">3.3 Streaming from network or pipes</A> + </LI></UL> +</LI><LI><A HREF="cd-dvd.html#4">4. CD/DVD section</A> + <UL><LI><A HREF="cd-dvd.html#4.1">4.1 CD drives</A> + </LI><LI><A HREF="cd-dvd.html#4.2">4.2 DVD playback</A> + </LI><LI><A HREF="cd-dvd.html#4.3">4.3 DVD playback FAQ</A> + </LI></UL> +</LI><LI><A HREF="faq.html">5. FAQ section</A> + <UL><LI><A HREF="faq.html#5.1">5.1 Compilation</A> + </LI><LI><A HREF="faq.html#5.2">5.2 General questions</A> + </LI><LI><A HREF="faq.html#5.3">5.3 File playing problems</A> + </LI><LI><A HREF="faq.html#5.4">5.4 Video/audio driver problems</A> + </LI><LI><A HREF="faq.html#5.5">5.5 Feature requests</A> + </LI></UL> +</LI><LI><A HREF="#6">6. Misc OS'es</A> + <UL><LI><A HREF="#6.1">6.1 Debian packaging</A> + </LI><LI><A HREF="#6.2">6.2 FreeBSD</A> + </LI><LI><A HREF="#6.3">6.3 Solaris 8</A> + </LI><LI><A HREF="#6.4">6.4 StrongARM</A> + </LI></UL> +</LI><LI><A HREF="#A">A. Authors</A> +</LI><LI><A HREF="#B">B. Mailing lists</A> +</LI><LI><A HREF="bugreports.html">C. How to report bugs</A> + +</LI></UL></P> <P><HR></P> -<PRE> -<P> - <A HREF="#1">1. Introduction</A> -</P> -<P> - <A HREF="#1.1">1.1 Overview</A> - <A HREF="#1.2">1.2 History</A> - <A HREF="#1.3">1.3 Installation</A> - <A HREF="#1.4">1.4 What about the GUI?</A> -</P> -<P> - <A HREF="#2">2. Features</A> -</P> -<P> - <A HREF="codecs.html">2.1 Video Formats, Audio & Video Codecs</A> - <A HREF="codecs.html#2.1.1">2.1.1 Supported input formats</A> - <A HREF="codecs.html#2.1.2">2.1.2 Supported audio & video codecs</A> - <A HREF="codecs.html#2.1.2.1">2.1.2.1 DivX4</A> - <A HREF="codecs.html#2.1.2.2">2.1.2.2 ffmpeg's DivX/libavcodec</A> - <A HREF="codecs.html#2.1.2.3">2.1.2.3 Hardware AC3 decoding</A> - <A HREF="codecs.html#2.1.4">2.1.4 Codec importing howto</A> - <A HREF="codecs.html#2.1.4.1">2.1.4.1 VFW codecs</A> - <A HREF="codecs.html#2.1.4.2">2.1.4.2 DirectShow codecs</A> -</P> -<P> - <A HREF="video.html">2.2 Video & Audio output devices</A> - <A HREF="video.html#2.2.1">2.2.1 Video output devices</A> - <A HREF="video.html#2.2.1.1">2.2.1.1 MTRR</A> - <A HREF="video.html#2.2.1.2">2.2.1.2 Xv</A> - <A HREF="video.html#2.2.1.2.1">2.2.1.2.1 3dfx cards</A> - <A HREF="video.html#2.2.1.2.2">2.2.1.2.2 S3 cards</A> - <A HREF="video.html#2.2.1.2.3">2.2.1.2.3 nVidia cards</A> - <A HREF="video.html#2.2.1.2.4">2.2.1.2.4 ATI cards</A> - <A HREF="video.html#2.2.1.3">2.2.3.2 DGA</A> - <A HREF="video.html#2.2.1.3.1">2.2.1.3.1 Summary</A> - <A HREF="video.html#2.2.1.3.2">2.2.1.3.2 What is DGA</A> - <A HREF="video.html#2.2.1.3.3">2.2.1.3.3 Installing DGA support for MPlayer</A> - <A HREF="video.html#2.2.1.3.4">2.2.1.3.4 Resolution switching</A> - <A HREF="video.html#2.2.1.3.5">2.2.1.3.5 DGA & MPlayer</A> - <A HREF="video.html#2.2.1.3.6">2.2.1.3.6 Features of the DGA driver</A> - <A HREF="video.html#2.2.1.3.7">2.2.1.3.7 Speed issues</A> - <A HREF="video.html#2.2.1.3.8">2.2.1.3.8 Known bugs</A> - <A HREF="video.html#2.2.1.3.9">2.2.1.3.9 Future work</A> - <A HREF="video.html#2.2.1.3.A">2.2.1.3.A Some modelines</A> - <A HREF="video.html#2.2.1.3.B">2.2.1.3.B Bug Reports</A> - <A HREF="video.html#2.2.1.4">2.2.1.4 SDL</A> - <A HREF="video.html#2.2.1.5">2.2.1.5 SVGAlib</A> - <A HREF="video.html#2.2.1.6">2.2.1.6 Framebuffer output (FBdev)</A> - <A HREF="video.html#2.2.1.7">2.2.1.7 Matrox framebuffer (mga_vid)</A> - <A HREF="video.html#2.2.1.8">2.2.1.8 SiS 6326 framebuffer (sis_vid)</A> - <A HREF="video.html#2.2.1.9">2.2.1.9 3dfx YUV support</A> - <A HREF="video.html#2.2.1.10">2.2.1.10 OpenGL output</A> - <A HREF="video.html#2.2.1.11">2.2.1.11 AAlib - text mode displaying</A> - <A HREF="video.html#2.2.1.A">2.2.1.A TVout</A> - <A HREF="video.html#2.2.1.A.1">2.2.1.A.1 Matrox cards</A> - <A HREF="sound.html#2.2.2">2.2.2 Audio output devices</A> - <A HREF="sound.html#2.2.2.1">2.2.2.1 Soundcard experiences, recommendations</A> -</P> -<P> - <A HREF="#3">3. Usage</A> -</P> -<P> - <A HREF="#3.1">3.1 Control from keyboard</A> - <A HREF="#3.2">3.2 Control from LIRC (Linux Infrared Remote Control)</A> - <A HREF="#3.3">3.3 Streaming from network or pipes</A> -</P> -<P> - <A HREF="cd-dvd.html#4">4. CD/DVD section</A> -</P> -<P> - <A HREF="cd-dvd.html#4.1">4.1 CD drives</A> - <A HREF="cd-dvd.html#4.2">4.2 DVD playback</A> - <A HREF="cd-dvd.html#4.3">4.3 DVD playback FAQ</A> -</P> -<P> - <A HREF="faq.html">5. FAQ section</A> -</P> -<P> - <A HREF="faq.html#5.1">5.1 Compilation</A> - <A HREF="faq.html#5.2">5.2 General questions</A> - <A HREF="faq.html#5.3">5.3 File playing problems</A> - <A HREF="faq.html#5.4">5.4 Video/audio driver problems</A> - <A HREF="faq.html#5.5">5.5 Feature requests</A> -</P> -<P> - <A HREF="#6">6. Misc OS'es</A> -</P> -<P> - <A HREF="#6.1">6.1 Debian packaging</A> - <A HREF="#6.2">6.2 FreeBSD</A> - <A HREF="#6.3">6.3 Solaris 8</A> - <A HREF="#6.4">6.4 StrongARM</A> -</P> -<P> - <A HREF="#A">A. Authors</A> -</P> -<P> - <A HREF="#B">B. Mailing lists</A> -</P> -<P> - <A HREF="bugreports.html">C. How to report bugs</A> -</P> -</PRE> -<P><HR></P> +<P><B><A NAME=1>1. Introduction</A></B></P> + +<P><B><A NAME=1.1>1.1. Overview</A></B></P> + +<P><B>MPlayer</B> 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 +even DivX movies too. The another big feature of mplayer is the wide range of +supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, +AAlib, but you can use SDL (and this way all drivers of SDL) and some +lowlevel card-specific drivers (for Matrox) too! Most of them supports +software or hardware scaling, so you can enjoy movies in fullscreen. And what +about the nice big antialiased shaded subtitles (7 supported types!!!) with +hungarian, english, cyrillic, czech, korean fonts, and OSD?</P> -<P><PRE> - <A NAME=1>1. Introduction</A> - - - <A NAME=1.1>1.1. Overview</A> - - <B>MPlayer</B> 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 - even DivX movies too. The another big feature of mplayer is the wide range of - supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, - AAlib, but you can use SDL (and this way all drivers of SDL) and some - lowlevel card-specific drivers (for Matrox) too! Most of them supports - software or hardware scaling, so you can enjoy movies in fullscreen. And what - about the nice big antialiased shaded subtitles (7 supported types!!!) with - hungarian, english, cyrillic, czech, korean fonts, and OSD? +<P>I didn't write any codecs, just some players. I spent +a lot of time finding the best way to parse bad damaged input files +(both MPEG and AVI) and to do perfect A-V sync with seeking ability. +My player is rock solid playing damaged MPEG files (useful for some VCDs), +and it plays bad AVI files which are unplayable with the famous +windows media player. Even AVI files without index chunk are playable, and +you can rebuild their indexes with the -idx option, thus enabling seeking! +As you see, stability and quality are the most important things for me, +but the speed is also amazing.</P> - I didn't write any codecs, just some players. I spent - a lot of time finding the best way to parse bad damaged input files - (both MPEG and AVI) and to do perfect A-V sync with seeking ability. - My player is rock solid playing damaged MPEG files (useful for some VCDs), - and it plays bad AVI files which are unplayable with the famous - windows media player. Even AVI files without index chunk are playable, and - you can rebuild their indexes with the -idx option, thus enabling seeking! - As you see, stability and quality are the most important things for me, - but the speed is also amazing. - +<P><B><A NAME=1.2>1.2. History</A></B></P> - <A NAME=1.2>1.2. History</A> +<P>This began a year ago... +I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN, +xine,xanim,avifile,xmmp) but they all have some problem. Mostly with special +files or with audio/video sync. Most of them is unable to play both MPEG1, +MPEG2 and AVI (DivX) files. Many players have image quality or speed problems +too. So I've decided to write/modify one...</P> - This began a year ago... - I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN, - xine,xanim,avifile,xmmp) but they all have some problem. Mostly with special - files or with audio/video sync. Most of them is unable to play both MPEG1, - MPEG2 and AVI (DivX) files. Many players have image quality or speed problems - too. So I've decided to write/modify one... - - - mpg12play v0.1-v0.3: +<P><UL> +<LI><B>mpg12play v0.1-v0.3:</B><BR> The first try, hacked together in a half hour! I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3, but there were image quality and speed problems with it. - - mpg12play v0.5-v0.87: +<LI><B>mpg12play v0.5-v0.87:</B><BR> Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff, but it was slow and was written in C++ (I hate C++!!!) - - mpg12play v0.9-v0.95pre5: - Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse. +<LI><B>mpg12play v0.9-v0.95pre5:</B><BR> + Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse. It's great, optimized very fast C code with perfect image quality and 100% MPEG standard conformance. - - <B>MPlayer</B> v0.3-v0.9: +<LI><B>MPlayer v0.3-v0.9:</B><BR> It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI player 'avip' based on avifile's Win32 DLL loader. - - <B>MPlayer</B> v0.10: +<LI><B>MPlayer v0.10:</B><BR> The MPEG and AVI player in a single binary! - - <B>MPlayer</B> v0.11: +<LI><B>MPlayer v0.11:</B><BR> Some new developers joined and from 0.11 the mplayer project is a team-work! Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding. - - <B>MPlayer</B> v0.17 "The IdegCounter" +<LI><B>MPlayer v0.17 "The IdegCounter"</B><BR> The release version of the 0.11pre after 4 months of heavy development! Try it, and be amazed! Thousands of new features added... and of course old code was improved too, bugs removed etc. - - <B>MPlayer</B> 0.18 "The BugCounter" +<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 ! - +</UL></P> - <A NAME=1.3>1.3. Installation</A> +<P><B><A NAME=1.3>1.3. Installation</A></B></P> - If you plan to use <B>MPlayer</B> 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! However, you can use our codecs package with avifile. +<P>If you plan to use <B>MPlayer</B> 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! However, you can use our codecs package with avifile.</P> + +<P>If you own a Matrox G200/G400/G450 card, then please see the <A HREF="video.html#2.2.1.7">2.2.1.7</A> +section in order to gain big speedup. It is important to do these steps +_before_ compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be +built.</P> + +<P>If you plan to use the ProjectMayo's <B>DivX4</B> codec, check the +<A HREF="codecs.html#2.1.2.1">2.1.2.1</A> section before compiling.</P> - If you own a Matrox G200/G400/G450 card, then please see the <A HREF="video.html#2.2.1.7">2.2.1.7</A> - section in order to gain big speedup. It is important to do these steps - _before_ compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be - built. +<P>Then build <B>MPlayer</B>:</P> + +<PRE> ./configure + make + make install</PRE> - If you plan to use the ProjectMayo's <B>DivX4</B> codec, check the - <A HREF="codecs.html#2.1.2.1">2.1.2.1</A> section before compiling. - - Then build <B>MPlayer</B>: +<P>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.</P> +<P>Though not mandatory, the fonts should be installed in order to gain +OSD, and subtitle functionality. Download mp_font3.zip and optional +(if exists) language updates.</P> - ./configure - make - make install +<PRE> mkdir ~/.mplayer/font + cd ~/.mplayer/font + unzip mp_font3.zip + unzip mp_font3_hu.zip</PRE> - 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. - - Though not mandatory, the fonts should be installed in order to gain - OSD, and subtitle functionality. Download mp_font3.zip and optional - (if exists) language updates. +<P><B><A NAME=1.4>1.4. What about the GUI?</A></B></P> +<P>I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console. +So the player has only keyboard control from the controlling console/xterm now. +There is a GUI development for the player, coordinated by Pontscho/Fresh! +It's still under development, but it will be merged and released real soon. +BTW he needs some nice skins, if you are a good graphician, contact him!!!</P> - mkdir ~/.mplayer/font - cd ~/.mplayer/font - unzip mp_font3.zip - unzip mp_font3_hu.zip +<P><B><A NAME=2>2. Features</A></B></P> - - <A NAME=1.4>1.4. What about the GUI ?</A> +<P><A NAME=2.1>2.1. <A HREF="codecs.html">Video Formats, Audio & Video Codecs</A></P> - I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console. - So the player has only keyboard control from the controlling console/xterm now. - There is a GUI development for the player, coordinated by Pontscho/Fresh! - It's still under development, but it will be merged and released real soon. - BTW he needs some nice skins, if you are a good graphician, contact him!!! +<P><A NAME=2.2>2.2. <A HREF="video.html">Video</A> & <A HREF="sound.html">Audio</A> output devices</P> - - <A NAME=2>2. Features</A> - - - <A NAME=2.1>2.1. <A HREF="codecs.html">Video Formats, Audio & Video Codecs</A></A> +<P><B><A NAME=3>3. Usage</A></B></P> - - <A NAME=2.2>2.2. <A HREF="video.html">Video</A> & <A HREF="sound.html">Audio</A> output devices</A> - - - <A NAME=3>3. Usage</A> +<P><TABLE BORDER=0> +<TD> </TD><TD>file</TD><TD> </TD><TD><CODE>mplayer [options] [path/]filename</CODE></TD><TR> +<TD></TD><TD>VCD</TD><TD></TD><TD><CODE>mplayer [options] -vcd trackno /dev/cdrom</CODE></TD><TR> +<TD></TD><TD>DVD</TD><TD></TD><TD><CODE>mplayer [options] -dvd titleno [/dev/dvd]</CODE></TD><TR> +<TD></TD><TD>net</TD><TD></TD><TD><CODE>mplayer [options] http://site.com/file.[mpg|avi]</CODE></TD><TR> +</TABLE></P> - file: mplayer [options] [path/]filename - VCD: mplayer [options] -vcd trackno /dev/cdrom - DVD: mplayer [options] -dvdauth /dev/dvd filename.VOB - net: mplayer [options] http://site.com/file.[mpg|avi] - - mplayer -vo x11 /mnt/Films/Contact/contact2.mpg +<P><PRE> mplayer -vo x11 /mnt/Films/Contact/contact2.mpg mplayer -vcd 2 /dev/cdrom mplayer -afm 3 /mnt/DVDtrailers/alien4.vob mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob - mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi - - - <A NAME=3.1>3.1. Control from keyboard</A> + mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi</PRE></P> - <- or -> seek backward/forward 10 seconds - up or down seek backward/forward 1 minute - pgup/pgdown seek backward/forward 10 minutes - p or SPACE pause movie (press any key) - q or ESC stop playing and quit program - + or - adjust audio delay by +/- 0.1 second - / or * decrease/increase volume - o toggle OSD: none / seek / seek+timer - m toggle using master/pcm volume - z or x adjust subtitle delay by +/- 0.1 second +<P><B><A NAME=3.1>3.1. Control from keyboard</A></B></P> + +<P><TABLE BORDER=0> +<TD> </TD><TD><- or -></TD><TD> </TD><TD>seek backward/forward 10 seconds</TD><TR> +<TD></TD><TD>up or down</TD><TD></TD><TD>seek backward/forward 1 minute</TD><TR> +<TD></TD><TD>pgup/pgdown</TD><TD></TD><TD>seek backward/forward 10 minutes</TD><TR> +<TD></TD><TD>p or SPACE</TD><TD></TD><TD>pause movie (press any key)</TD><TR> +<TD></TD><TD>q or ESC</TD><TD></TD><TD>stop playing and quit program</TD><TR> +<TD></TD><TD>+ or -</TD><TD></TD><TD>adjust audio delay by +/- 0.1 second</TD><TR> +<TD></TD><TD>/ or *</TD><TD></TD><TD>decrease/increase volume</TD><TR> +<TD></TD><TD>o</TD><TD></TD><TD>toggle OSD: none / seek / seek+timer</TD><TR> +<TD></TD><TD>m</TD><TD></TD><TD>toggle using master/pcm volume</TD><TR> +<TD></TD><TD>z or x</TD><TD></TD><TD>adjust subtitle delay by +/- 0.1 second</TD><TR> - (the following keys are valid only when using DirectShow DivX codec) +<TD COLSPAN=4><P><I>(the following keys are valid only when using DirectShow DivX codec)</I></P></TD><TR> - 1 or 2 adjust contrast - 3 or 4 adjust brightness - 5 or 6 adjust ? - 7 or 8 adjust saturation +<TD></TD><TD>1 or 2</TD><TD></TD><TD>adjust contrast</TD><TR> +<TD></TD><TD>3 or 4</TD><TD></TD><TD>adjust brightness</TD><TR> +<TD></TD><TD>5 or 6</TD><TD></TD><TD>adjust ?</TD><TR> +<TD></TD><TD>7 or 8</TD><TD></TD><TD>adjust saturation</TD><TR> +</TABLE></P> - - <A NAME=3.2>3.2. Control from LIRC</A> +<P><B><A NAME=3.2>3.2. Control from LIRC</A></B></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 www.lirc.org. +<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> - If you have installed the lirc-package, you can compile <B>MPlayer</B> with LIRC - support using ./configure --enable-lirc +<P>If you have installed the lirc-package, you can compile <B>MPlayer</B> with LIRC +support using ./configure --enable-lirc</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 - anything about LIRC there's no support compiled in. That's it :-) +<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 +anything about LIRC there's no support compiled in. That's it :-)</P> - The application name for <B>MPlayer</B> is - oh wonder - mplayer_lirc. - It understands the following commands: +<P>The application name for <B>MPlayer</B> is - oh wonder - mplayer_lirc. +It understands the following commands:</P> - PAUSE - pause playing. Any other keystroke will continue replay. - QUIT - exit mplayer - RWND - 10 secs back - FRWND - 60 secs back - FWD - skip 10 secs - FFWD - skip 60 secs - INCVOL - increase volume one percent - DECVOL - decrease volmue one percent - MASTER - use master mixer channel - PCM - use pcm mixer channel +<P><TABLE BORDER=0> +<TD> </TD><TD>PAUSE</TD><TD> </TD><TD>pause playing. Any other keystroke will continue replay.</TD><TR> +<TD></TD><TD>QUIT</TD><TD></TD><TD>exit mplayer</TD><TR> +<TD></TD><TD>RWND</TD><TD></TD><TD>10 secs back</TD><TR> +<TD></TD><TD>FRWND</TD><TD></TD><TD>60 secs back</TD><TR> +<TD></TD><TD>FWD</TD><TD></TD><TD>skip 10 secs</TD><TR> +<TD></TD><TD>FFWD</TD><TD></TD><TD>skip 60 secs</TD><TR> +<TD></TD><TD>INCVOL</TD><TD></TD><TD>increase volume one percent</TD><TR> +<TD></TD><TD>DECVOL</TD><TD></TD><TD>decrease volmue one percent</TD><TR> +<TD></TD><TD>MASTER</TD><TD></TD><TD>use master mixer channel</TD><TR> +<TD></TD><TD>PCM</TD><TD></TD><TD>use pcm mixer channel</TD><TR> +</TABLE></P> - Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an - excerpt from my .lircrc: +<P> Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an +excerpt from my .lircrc:</P> - begin +<P><PRE> begin remote = CU-SX070 prog = mplayer_lirc button = Tape_Play @@ -323,419 +295,446 @@ prog = mplayer_lirc button = Tape_Stop config = QUIT - end - - If you don't like the standard location for the lirc-config file (~/.lircrc) - use the -lircconf [filename] switch to specify another file. - + end</PRE></P> - <A NAME=3.3>3.3. Streaming from network or pipes</A> +<P>If you don't like the standard location for the lirc-config file (~/.lircrc) +use the -lircconf [filename] switch to specify another file.</P> - <B>MPlayer</B> can play media from network, by using the HTTP protocol, and even - beta ASF streaming (FROM network) is available. - Configuring it is simple, just recompile <B>MPlayer</B> with - +<P><B><A NAME=3.3>3.3. Streaming from network or pipes</A></B></P> - ./configure --enable-streaming - +<P><B>MPlayer</B> can play media from network, by using the HTTP protocol, and even +beta ASF streaming (FROM network) is available. +Configuring it is simple, just recompile <B>MPlayer</B> with</P> - <B>MPlayer</B> can read from stdin (NOT named pipes). This can be for example - used to play from FTP : +<P><CODE> ./configure --enable-streaming</CODE></P> - - wget ftp://micorsops.com/something.avi -O - | mplayer - +<P><B>MPlayer</B> can read from stdin (NOT named pipes). This can be for example +used to play from FTP:</P> +<P><CODE> wget ftp://micorsops.com/something.avi -O - | mplayer -</CODE></P> - <A NAME=4>4. <A HREF="faq.html">FAQ section</A></A> - +<P><B><A NAME=4>4. <A HREF="faq.html">FAQ section</A></A></B></P> - <A NAME=5>5. <A HREF="cd-dvd.html">CD/DVD section</A></A> - +<P><B><A NAME=5>5. <A HREF="cd-dvd.html">CD/DVD section</A></A></B></P> - <A NAME=6>6. Misc OS'es</A> - +<P><B><A NAME=6>6. Misc OS'es</A></B></P> - <A NAME=6.1>6.1. Debian packaging</A> +<P><B><A NAME=6.1>6.1. Debian packaging</A></B></P> - To build the package, get the cvs version, or .tgz and uncompress it, - and cd into programs directory: - +<P>To build the package, get the cvs version, or .tgz and uncompress it, +and cd into programs directory:</P> - cd main - fakeroot debian/rules binary +<P><PRE> cd main + fakeroot debian/rules binary</PRE></P> - - (... mplayer detects hardware/software, builds itself and.. ) - dpkg-deb: building package `mplayer' in `../mplayer_0.18-1_i386.deb'. +<P>(... mplayer detects hardware/software, builds itself and.. ) +dpkg-deb: building package `mplayer' in `../mplayer_0.18-1_i386.deb'.</P> - And now just become root, and : +<P>And now just become root, and:</P> - - dpkg -i ../mplayer_0.18-1_i386.deb as root. +<P><PRE> dpkg -i ../mplayer_0.18-1_i386.deb as root.</PRE></P> +<P>Here's how it looks like:</P> - Here's how it looks like: - - 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) Unpacking replacement mplayer ... - Setting up mplayer (0.18-1) ... + Setting up mplayer (0.18-1) ...</PRE></P> - <A NAME=6.2>6.2. FreeBSD</A> +<P><B><A NAME=6.2>6.2. FreeBSD</A></B></P> - To build the package you will need GNU make (gmake, /usr/ports/devel/gmake), - native BSD make will not work. +<P>To build the package you will need GNU make (gmake, /usr/ports/devel/gmake), +native BSD make will not work.</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>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> - If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a - symbolic link : ln -s /dev/(your_cdrom_device) /dev/cdrom +<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> - There's no DVD support for FreeBSD yet. - Feel free to add it :-) +<P>There's no DVD support for FreeBSD yet. +Feel free to add it :-)</P> - <A NAME=6.3>6.3. Solaris 8</A> - - AVI file playback works best on Solaris x86, because you have the - option to use the win32 codecs on the x86 platform. On Solaris SPARC, - you'll find quite a few AVI files with non working video and/or - audio playback, because the video/audio codecs using the win32 DLLs - are not available. However, <B>DivX/OpenDivX</B> movies should work, - when using libavcodec. +<P><B><A NAME=6.3>6.3. Solaris 8</A></B></P> - To build the package you will need GNU make (gmake, /opt/sfw/gmake), native - Solaris make will not work. Typical error you get when building with solaris' - make instead of GNU make: +<P>AVI file playback works best on Solaris x86, because you have the +option to use the win32 codecs on the x86 platform. On Solaris SPARC, +you'll find quite a few AVI files with non working video and/or +audio playback, because the video/audio codecs using the win32 DLLs +are not available. However, <B>DivX/OpenDivX</B> movies should work, +when using libavcodec.</P> +<P>To build the package you will need GNU make (gmake, /opt/sfw/gmake), native +Solaris make will not work. Typical error you get when building with solaris' +make instead of GNU make:</P> - % /usr/ccs/bin/make - make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen - +<P><PRE> % /usr/ccs/bin/make + make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen</P></PRE> - On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter - if GNU C/C++ compiler is configured with or without the GNU assembler. +<P>On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter +if GNU C/C++ compiler is configured with or without the GNU assembler.</P> - On Solaris x86, you need the GNU assembler and the GNU C/C++ - compiler, configured to use the GNU assembler! The mplayer code on - the x86 platform makes heavy use of MMX, SSE and 3DNOW! - instructions that cannot be compiled using Sun's assembler - /usr/ccs/bin/as. +<P>On Solaris x86, you need the GNU assembler and the GNU C/C++ +compiler, configured to use the GNU assembler! The mplayer code on +the x86 platform makes heavy use of MMX, SSE and 3DNOW! +instructions that cannot be compiled using Sun's assembler +<CODE>/usr/ccs/bin/as</CODE>.</P> - The configure script tries to find out, which assembler program is - used by your "gcc" command (in case the autodetection fails, use - the "--as=/whereever/you/have/installed/gnu-as" option to tell the - configure script where it can find GNU "as" on your system). +<P>The configure script tries to find out, which assembler program is +used by your "gcc" command (in case the autodetection fails, use +the "--as=/whereever/you/have/installed/gnu-as" option to tell the +configure script where it can find GNU "as" on your system).</P> - Error message from configure on a Solaris x86 system using GCC - without GNU assembler: +<P>Error message from configure on a Solaris x86 system using GCC +without GNU assembler:</P> - % configure +<P><PRE> % configure ... Checking assembler (/usr/ccs/bin/as) ... , failed - Please upgrade(downgrade) binutils to 2.10.1... + Please upgrade(downgrade) binutils to 2.10.1...</PRE></P> - (Solution: Install and use a gcc configured with "--with-as=gas") +<P>(Solution: Install and use a gcc configured with "--with-as=gas")</P> - Typical error you get when building with a GNU C compiler that does - not use GNU as: +<P>Typical error you get when building with a GNU C compiler that does +not use GNU as:</P> - % gmake +<P><PRE> % gmake ... 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 "(stdin)", line 3567 : Syntax error - ... more "Illegal mnemonic" and "Syntax error" errors ... + ... more "Illegal mnemonic" and "Syntax error" errors ...</PRE></P> + +<P>For DVD support you must have the patched libcss installed. Patch: +<A HREF="http://www.tools.de/solaris/mplayer/">http://www.tools.de/solaris/mplayer/</A>.</P> + +<P>Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a +capacity >4GB:</P> + +<P><UL><LI>The sd(7D) driver on solaris 8 x86 driver has bug when accessing a +disk block >4GB on a device using a logical blocksize != DEV_BSIZE +(i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk +address modulo 4GB is accessed. +(http://groups.yahoo.com/group/solarisonintel/message/22516) +<LI>The similar bug is present in the hsfs(7FS) filesystem code (aka +ISO9660), hsfs currently does not support partitions/disks >4GB, +all data is accessed modulo 4GB +(http://groups.yahoo.com/group/solarisonintel/message/22592) +</UL></P> + +<P><B><A NAME=6.4>6.4. StrongARM</A></B></P> + +<P><B>MPlayer</B> is reported to compile on StrongARM. Use the following command line:</P> + +<P><PRE> ./configure --target=arm-linux --disable-css --with-x11libdir=/usr/arm/lib + --with-x11incdir=/usr/arm/lib --disable-gcc-checking</PRE></P> + +<P><B><A NAME=A>Appendix A - Authors</A></B></P> + +<P>NOTE: Do *NOT* send bugreports, help & feature requests directly to the authors!</P> + +<P>Read Appendix <A HREF="#C">C</A> and subscribe to mplayer-users mailing lists.</P> + +<P ALIGN=center><B><U>The <B>MPlayer</B> project:</U></B></P> +<P><UL> +<LI>Árpád Gereöffy (A'rpi/ESP-team): [arpi@thot.banki.hu] +<UL><LI>player code (mpeg stream demultiplexer and avi/asf parser, A-V sync, seek...) +</LI><LI>mp3lib, based on mpglib sources [MP3 audio decoder] +</LI><LI>getch2 [keyboard handler] +</LI><LI>some changes in libmpeg2 code (progressive frames, bitrate & fps support) +</LI><LI>libvo improvements: adding OpenGL support, bugfix in mga driver... +</LI><LI>triple buffering & YUY2 support (for DivX/MPEG4) into mga_vid driver +</LI><LI>scripts in the TVout directory (TVout on Matrox G400DH, read documentation) +</LI><LI>hacking DivX/Mpeg4 VfW codecs to get YUV output +</LI><LI>opendivx decoder speed optimizations (see opendivx/ChangeLog) +</LI><LI>OSD & SUB display code +</LI><LI>ffmpeg/libavcodec integration +</LI><LI>DivX4Linux (ProjectMayo) support (see documentation) +</LI></UL> + +</LI><LI>Zoltán Ponekker (Pontscho/Fresh!): [pontscho@makacs.poliod.hu] +<UL><LI>configure script and Makefiles for easy compile +</LI><LI>GUI system (near complete!?) +</LI><LI>3DNow! support into mp3lib +</LI><LI>3DNow! support into fastmemcpy.h +</LI><LI>various X11 driver changes (keyboard handling, fullscreen, bpp detect, etc) +</LI><LI>libvo: adding xmga driver, and fullscreen support to xv +</LI><LI>audio mixer (volume) support +</LI></UL> + +</LI><LI>Gábor Lénárt (LGB): [lgb@lgb.hu] +<UL><LI>./configure script improvements +</LI><LI>Makefile improvements +</LI><LI>prelimenary DVD support +</LI><LI>another GUI code (is that so..?) +</LI><LI>various X11 cleanups and fixes +</LI></UL> - For DVD support you must have the patched libcss installed. Patch: - http://www.tools.de/solaris/mplayer/ +</LI><LI>Gábor Bérczi (Gabucino): [gabucino@k2.jozsef.kando.hu] +<UL><LI>documentation maintainer +</LI><LI>hungarian translation of documentation +</LI><LI>second webpage design&gfx +</LI><LI>webpage maintainer +</LI><LI>testing, codecs quality & speed comparsions +</LI><LI>IRC channel #<B>MPlayer</B> operator +(devel channel, users earn kickban) +</LI><LI>experimental MINIX port :) +</LI></UL> + +</LI><LI>Szabolcs Berecz (Szabi): [szabi@inf.elte.hu] +<UL><LI>codecs.conf file parser +</LI><LI>config file and command line parser +</LI><LI>mga_vid fixes, module option etc. +</LI><LI>fbdev support in libvo +</LI><LI>type #7 subtitle support +</LI></UL> + +</LI><LI>László Megyer (Lez, Laaz): [lez@sch.bme.hu] +<UL><LI>SUB reader +</LI><LI>screensaver+DPMS disable for libvo +</LI></UL> + +</LI><LI>Gyula László (Chass, Tégla): [chass-@freemail.hu] +<UL><LI>first fonts (mp_font1.zip) +</LI><LI>third (current) homepage design&gfx +</LI></UL> + +</LI><LI>Zoltán Márk Vicián (Se7en): [se7en@sch.bme.hu] +<UL><LI>SVGAlib support in libvo +</LI></UL> + +</LI><LI>Alex Beregszaszi (Al3x): [alex@naxine.org] +<UL><LI>ALSA output driver in libao2 +</LI><LI>vo_ggi output driver in libvo (www.ggi-project.org) +</LI></UL> + +</LI><LI>Andreas Ackermann (Acki): [asackerm@stud.informatik.uni-erlangen.de] +<UL><LI>LIRC support (see documentation) +</LI><LI>DGA support in libvo +</LI></UL> +</LI><LI>Felix Bünemann (Atmos): [atmosfear@users.sourceforge.net] +<UL><LI>SDL driver maintainer +</LI><LI>Additional YUV formats fixes +</LI><LI>New font (mp_font2.zip) +</LI><LI>PNG file output support in libvo +</LI><LI>flipping support (for Indeo 3/4, etc) +</LI><LI>SDL audio driver in libao2 +</LI><LI>RAW PCM/WAVE file writer for libao2 +</LI></UL> - Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a - capacity >4GB: +</LI><LI>TeLeNiEkO: [telenieko@telenieko.com] +<UL><LI>spanish translation of documentation +</LI></UL> + +</LI><LI>Michael Graffam: [mgraffam@idsi.net] +<UL><LI>XF86VidMode support to vo_x11 and vo_dga +</LI><LI>Video mode switching code to vo_dga +</LI></UL> + +</LI><LI>Jens Hoffmann: [hoffmajs@gmx.de] +<UL><LI>Additional YUV formats support +</LI><LI>found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization +</LI></UL> + +</LI><LI>Nick Kurshev: [nickols_k@mail.ru] +<UL><LI>memcpy optimizations for AMD K7 and Intel Pentium III (fastmemcpy.h) +</LI><LI>CDROM tune info +</LI><LI>further 3DNow! optimizations into mp3lib and libac3 and ffmpeg +</LI><LI>russian translation of documentation +</LI></UL> + +</LI><LI>German Gomez Garcia: [german@piraos.com] +<UL><LI>DVD .ifo parser and chapter selection [not yet in the main trunk] +</LI><LI>SPDIF AC3 output for SBLive! +</LI></UL> + +</LI><LI>Dariush Pietrzak (Eyck): [eyck@incubus.ar.lublin.pl] +<UL><LI>debian packaging support (see debian/* and this documentation) +</LI><LI>support for vplayer subtitle format +</LI><LI>prelimenary support for .RT subtitle format +</LI></UL> + +</LI><LI>Marcus Comstedt: [marcus@idonex.se] +<UL><LI>initial solaris8-x86 support +</LI></UL> - - The sd(7D) driver on solaris 8 x86 driver has bug when accessing a - disk block >4GB on a device using a logical blocksize != DEV_BSIZE - (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk - address modulo 4GB is accessed. - (http://groups.yahoo.com/group/solarisonintel/message/22516) +</LI><LI>Jürgen Keil and Marcus Comstedt: [jk@tools.de] [marcus@idonex.se] +<UL><LI>patched <B>MPlayer</B> to work on Solaris 8 x86 +</LI><LI>configure fixes +</LI><LI>various fixes (win32, configure, etc) +</LI><LI>SUN audio driver in libao2 +</LI></UL> + +</LI><LI>Vladimir Kushnir: [vkushnir@Alfacom.net] +<UL><LI>patched <B>MPlayer</B> to work on FreeBSD x86 +</LI></UL> + +</LI><LI>Bertrand BAUDET: [bertrand_baudet@yahoo.com] +<UL><LI>network streaming support +</LI></UL> + +</LI><LI>Artur Zaprzala: <zybi@fanthom.irc.pl> +<UL><LI>Complete font generator prog + OSD font (TOOLS/subfont-c) +</LI></UL> + +</LI><LI>lanzz@lanzz.org: +<UL><LI>GIMP font generator plugin (TOOLS/subfont-gimp) +</LI></UL> + +</LI><LI>Adam Tla/lka: [atlka@pg.gda.pl] +<UL><LI>osd/sub review, fixes, optimization, utf8 support +</LI></LI>various fixes +</LI></UL> + +</LI><LI>Folke Ashberg: [folke@ashberg.de] +<UL><LI>native AAlib driver (-vo aa) +</LI></UL> + +</LI></UL></P> + +<P>Main testers:</P> + +<P><UL> +<LI>Tibor Balázs (Tibcu) +<LI>Péter Sasi (SaPe) +<LI>Christoph H. Lampert +<LI>Attila Kinali +<LI>Dirk Vornheder +</UL></P> + +<P ALIGN=center><B><U>The codecs, libs:</U></B></P> + +<P><UL> +<LI>Aaron Holtzman: [aholtzma@engr.uvic.ca] +<UL><LI>ac3dec (and libac3) author [AC3 audio decoder] +</LI><LI>mga_vid driver [Matrox G200/G400 YUV Back-end Scaler] +</LI><LI>mpeg2dec [Fast MPEG1/MPEG2 video decoder, currently used in player] +</LI></UL> + +</LI><LI>Michel Lespinasse: [walken@zoy.org] +<UL><LI>did large libmpeg2 changes for better speed and mpeg conformance +</LI></UL> + +</LI><LI>Eugene Kuznetsov: [divx@euro.ru] +<UL><LI>avifile author [AVI player library for linux, using Win32 VfW/ACM codecs] +</LI><LI>technical help about AVI and ASF formats, and how to get YUV using VfW... +</LI><LI>divx4linux techical support +</LI></UL> + +</LI><LI>Zdenek Kabelac: [kabi@informatics.muni.cz] +<UL><LI>current avifile maintainer(?) +</LI><LI>some technical help about the win32 stuff and timers +</LI></UL> + +</LI><LI>Gerard Lantau: [glantau@yahoo.fr] +<UL><LI>ffmpeg/libavcodec author,maintainer (opensource mpeg, mjpeg, divx en/decoder) +</LI></UL> + +</LI><LI>Project Mayo: [http://www.projectmayo.com] +<UL><LI>the OpenDivX codec authors +</LI></UL> + +</LI><LI>Michael Hipp: +<UL><LI>mpglib author [isn't used directly but some parts in mp3lib] +</LI></UL> - - The similar bug is present in the hsfs(7FS) filesystem code (aka - ISO9660), hsfs currently does not support partitions/disks >4GB, - all data is accessed modulo 4GB - (http://groups.yahoo.com/group/solarisonintel/message/22592) +</LI><LI>Mark Podlipec: +<UL><LI>xa_gsm.c author [MS-GSM audio codec] + [from a GSM library by Jutta Degener and Carsten Bormann] +</LI></UL> + +</LI></UL></P> + +<P>Their code is not used in current player version, but I've got some ideas or +other technical help from:</P> + +<P><UL> +<LI>John F. McGowan http://www.jmcgowan.com/ +<UL><LI>AVI FAQ author/collector. [site with many useful docs on codecs and avi fmt] +</LI></UL> +</LI><LI>Dirk Farin: [farin@ti.uni-mannheim.de] +<UL><LI>dvdview author [MPEG1/MPEG2 video decoder, used in v0.5-v0.8] +</LI></UL> + +</LI><LI>Adam Williams: [broadcast@earthling.net] +<UL><LI>libmpeg3 (and xmovie) author [MPEG1/MPEG2 video decoder, used in v0.1-v0.4] +</LI></UL> + +</UL></P> + +<P><B><A NAME=B>Appendix B - Mailing lists</A></B></P> + +<P>There are some public mailing lists on <B>MPlayer</B>. Subscribing can be +achieved on the following addresses:</P> + +<P><UL> +<LI>MPlayer core/hungarian developers list:<BR> +<A HREF="http://mp.dev.hu/mailman/listinfo/mplayer-devel">http://mp.dev.hu/mailman/listinfo/mplayer-devel</A> +<P>I dunno, it is the FLAME list in hungarian language :) +Also some talking about mplayer core team internals, like mplayer +party, sponsors etc can be here.</P> - <A NAME=6.4>6.4. StrongARM</A> +</LI><LI>MPlayer developers list:<BR> +<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng">http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng</A> +<P>This list is about mplayer development! Talking about interface/API changes, +new libraryes, code optimization, ./configure changes, and send patches here. +Do NOT send bugreports, user questions, feature requests here! +This list should be kept low-traffic.</P> - <B>MPlayer</B> is reported to compile on StrongARM. Use the following command line: +</LI><LI>MPlayer users list:<BR> +<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-users">http://lists.sourceforge.net/lists/listinfo/mplayer-users</A> +<P><UL> +<LI>send bugreports here (after reading DOCS/BUGS, Appendix <A HREF="#C">C</A>)</LI> +<LI>send feature requests here (after reading DOCS/TODO)</LI> +<LI>send user questions here (after reading all this documentation)</LI> +</UL></P> + +</LI><LI>MPlayer & Matrox G200/G400/G450 users:<BR> +<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-matrox">http://lists.sourceforge.net/lists/listinfo/mplayer-matrox</A> +<P>Send matrox-related questions here<UL> +<LI>things about mga_vid</LI> +<LI>matrox's official beta drivers (for X 4.x.x)</LI> +<LI>and about matroxfb-TVout stuff.</LI></UL></P> +</LI><LI>mpg12play-portable developers:<BR> +<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play">http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play</A> +<P>This list is for talking about mplayer ports to non-x86 platforms +(IRIX, Solaris-SPARC, Alpha, Commodore64, Sharp Calculator, +Teapot etc...)</P> - ./configure --target=arm-linux --disable-css --with-x11libdir=/usr/arm/lib - --with-x11incdir=/usr/arm/lib --disable-gcc-checking +</LI><LI>MPlayer announce:<BR> +<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-announce">http://lists.sourceforge.net/lists/listinfo/mplayer-announce</A> +<P>Very low traffic list :) +And it's read-only. I'll post something shit there if a new release is done.</P> + +</LI><LI>MPlayer CVS-log: <BR> +<A HREF="http://mp.dev.hu/mailman/listinfo/mplayer-cvslog">http://mp.dev.hu/mailman/listinfo/mplayer-cvslog</A> +<P>Send only questions about CVS changes here. +(if you don't understand why a change is required or you've better fix) +Be sure in that your target developer reads this list!</P> + +</LI></UL></P> + +<P>NOTE: language of above lists are ENGLISH, unless explicitly stated +otherwise. Please do not send messages using other language!</P> - <A NAME=A>Appendix A - Authors</A> - -NOTE: Do *NOT* send bugreports, help & feature requests directly to the authors! -===== Read Appendix <A HREF="#C">C</A> and subscribe to mplayer-users mailing lists. - -========================== The <B>MPlayer</B> project: =============================== - -Árpád Gereöffy (A'rpi/ESP-team): [arpi@thot.banki.hu] -- player code (mpeg stream demultiplexer and avi/asf parser, A-V sync, seek...) -- mp3lib, based on mpglib sources [MP3 audio decoder] -- getch2 [keyboard handler] -- some changes in libmpeg2 code (progressive frames, bitrate & fps support) -- libvo improvements: adding OpenGL support, bugfix in mga driver... -- triple buffering & YUY2 support (for DivX/MPEG4) into mga_vid driver -- scripts in the TVout directory (TVout on Matrox G400DH, read documentation) -- hacking DivX/Mpeg4 VfW codecs to get YUV output -- opendivx decoder speed optimizations (see opendivx/ChangeLog) -- OSD & SUB display code -- ffmpeg/libavcodec integration -- DivX4Linux (ProjectMayo) support (see documentation) - -Zoltán Ponekker (Pontscho/Fresh!): [pontscho@makacs.poliod.hu] -- configure script and Makefiles for easy compile -- GUI system (near complete!?) -- 3DNow! support into mp3lib -- 3DNow! support into fastmemcpy.h -- various X11 driver changes (keyboard handling, fullscreen, bpp detect, etc) -- libvo: adding xmga driver, and fullscreen support to xv -- audio mixer (volume) support - -Gábor Lénárt (LGB): [lgb@lgb.hu] -- ./configure script improvements -- Makefile improvements -- prelimenary DVD support -- another GUI code (is that so..?) -- various X11 cleanups and fixes - -Gábor Bérczi (Gabucino): [gabucino@k2.jozsef.kando.hu] -- documentation maintainer -- hungarian translation of documentation -- second webpage design&gfx -- webpage maintainer -- testing, codecs quality & speed comparsions -- IRC channel #<B>MPlayer</B> operator - (devel channel, users earn kickban) -- experimental MINIX port - -Szabolcs Berecz (Szabi): [szabi@inf.elte.hu] -- codecs.conf file parser -- config file and command line parser -- mga_vid fixes, module option etc. -- fbdev support in libvo -- type #7 subtitle support - -László Megyer (Lez, Laaz): [lez@sch.bme.hu] -- SUB reader -- screensaver+DPMS disable for libvo - -Gyula László (Chass, Tégla): [chass-@freemail.hu] -- first fonts (mp_font1.zip) -- third (current) homepage design&gfx - -Zoltán Márk Vicián (Se7en): [se7en@sch.bme.hu] -- SVGAlib support in libvo - -Alex Beregszaszi (Al3x): [alex@naxine.org] -- ALSA output driver in libao2 -- vo_ggi output driver in libvo (www.ggi-project.org) - -Andreas Ackermann (Acki): [asackerm@stud.informatik.uni-erlangen.de] -- LIRC support (see documentation) -- DGA support in libvo - -Felix Bünemann (Atmos): [atmosfear@users.sourceforge.net] -- SDL driver maintainer -- Additional YUV formats fixes -- New font (mp_font2.zip) -- PNG file output support in libvo -- flipping support (for Indeo 3/4, etc) -- SDL audio driver in libao2 -- RAW PCM/WAVE file writer for libao2 - -TeLeNiEkO: [telenieko@telenieko.com] -- spanish translation of documentation - -Michael Graffam: [mgraffam@idsi.net] -- XF86VidMode support to vo_x11 and vo_dga -- Video mode switching code to vo_dga - -Jens Hoffmann: [hoffmajs@gmx.de] -- Additional YUV formats support -- found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization - -Nick Kurshev: [nickols_k@mail.ru] -- memcpy optimizations for AMD K7 and Intel Pentium III (fastmemcpy.h) -- CDROM tune info -- further 3DNow! optimizations into mp3lib and libac3 and ffmpeg -- russian translation of documentation - -German Gomez Garcia: [german@piraos.com] -- DVD .ifo parser and chapter selection [not yet in the main trunk] -- SPDIF AC3 output for SBLive! - -Dariush Pietrzak (Eyck): [eyck@incubus.ar.lublin.pl] -- debian packaging support (see debian/* and this documentation) -- support for vplayer subtitle format -- prelimenary support for .RT subtitle format - -Marcus Comstedt: [marcus@idonex.se] -- initial solaris8-x86 support - -Jürgen Keil and Marcus Comstedt: [jk@tools.de] [marcus@idonex.se] -- patched <B>MPlayer</B> to work on Solaris 8 x86 -- configure fixes -- various fixes (win32, configure, etc) -- SUN audio driver in libao2 - -Vladimir Kushnir: [vkushnir@Alfacom.net] -- patched <B>MPlayer</B> to work on FreeBSD x86 - -Bertrand BAUDET: [bertrand_baudet@yahoo.com] -- network streaming support - -Artur Zaprzala: [zybi@fanthom.irc.pl] -- Complete font generator prog + OSD font (TOOLS/subfont-c) - -lanzz@lanzz.org: -- GIMP font generator plugin (TOOLS/subfont-gimp) - -Adam Tla/lka: [atlka@pg.gda.pl] -- osd/sub review, fixes, optimization, utf8 support -- various fixes - -Folke Ashberg: [folke@ashberg.de] -- native AAlib driver (-vo aa) - -Main testers: - Tibor Balázs (Tibcu) - Péter Sasi (SaPe) - Christoph H. Lampert - Attila Kinali - Dirk Vornheder - -========================== The codecs, libs: ================================= - -Aaron Holtzman: [aholtzma@engr.uvic.ca] -- ac3dec (and libac3) author [AC3 audio decoder] -- mga_vid driver [Matrox G200/G400 YUV Back-end Scaler] -- mpeg2dec [Fast MPEG1/MPEG2 video decoder, currently used in player] - -Michel Lespinasse: [walken@zoy.org] -- did large libmpeg2 changes for better speed and mpeg conformance - -Eugene Kuznetsov: [divx@euro.ru] -- avifile author [AVI player library for linux, using Win32 VfW/ACM codecs] -- technical help about AVI and ASF formats, and how to get YUV using VfW... -- divx4linux techical support - -Zdenek Kabelac: [kabi@informatics.muni.cz] -- current avifile maintainer(?) -- some technical help about the win32 stuff and timers - -Gerard Lantau: [glantau@yahoo.fr] -- ffmpeg/libavcodec author,maintainer (opensource mpeg, mjpeg, divx en/decoder) - -Project Mayo: [http://www.projectmayo.com] -- the OpenDivX codec authors - -Michael Hipp: -- mpglib author [isn't used directly but some parts in mp3lib] - -Mark Podlipec: -- xa_gsm.c author [MS-GSM audio codec] - [from a GSM library by Jutta Degener and Carsten Bormann] - -Their code is not used in current player version, but I've got some ideas or -other technical help from: - -John F. McGowan http://www.jmcgowan.com/ -- AVI FAQ author/collector. [site with many useful docs on codecs and avi fmt] - -Dirk Farin: [farin@ti.uni-mannheim.de] -- dvdview author [MPEG1/MPEG2 video decoder, used in v0.5-v0.8] - -Adam Williams: [broadcast@earthling.net] -- libmpeg3 (and xmovie) author [MPEG1/MPEG2 video decoder, used in v0.1-v0.4] +<P><B><A NAME=C><A HREF="bugreports.html">Appendix C</A> - How to report bugs</A></B></P> - <A NAME=B>Appendix B - Mailing lists</A> - - There are some public mailing lists on <B>MPlayer</B>. Subscribing can be - achieved on the following addresses: - - - <B>MPlayer</B> core/hungarian developers list: - http://mp.dev.hu/mailman/listinfo/mplayer-devel - - I dunno, it is the FLAME list in hungarian language :) - Also some talking about mplayer core team internals, like mplayer - party, sponsors etc can be here. - - - <B>MPlayer</B> developers list: - http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng - - This list is about mplayer development! Talking about interface/API changes, - new libraryes, code optimization, ./configure changes, and send patches here. - Do NOT send bugreports, user questions, feature requests here! - This list should be kept low-traffic. - - - <B>MPlayer</B> users list: - http://lists.sourceforge.net/lists/listinfo/mplayer-users - - - send bugreports here (after reading DOCS/BUGS, Appendix <A HREF="#C">C</A>) - - send feature requests here (after reading DOCS/TODO) - - send user questions here (after reading all this documentation) - - - <B>MPlayer</B> & Matrox G200/G400/G450 users: - http://lists.sourceforge.net/lists/listinfo/mplayer-matrox - - Send matrox-related questions here, - - things about mga_vid, - - matrox's official beta drivers (for X 4.x.x) - - and about matroxfb-TVout stuff. - - - mpg12play-portable developers: - http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play - - This list is for talking about mplayer ports to non-x86 platforms - (IRIX, Solaris-SPARC, Alpha, Commodore64, Sharp Calculator, - Teapot etc...) - - - <B>MPlayer</B> announce: - http://lists.sourceforge.net/lists/listinfo/mplayer-announce - - Very low traffic list :) - And it's read-only. I'll post something shit there if a new release - is done. - - - <B>MPlayer</B> CVS-log: - http://mp.dev.hu/mailman/listinfo/mplayer-cvslog - - Send only questions about CVS changes here. - (if you don't understand why a change is required or you've better fix) - Be sure in that your target developer reads this list! - - NOTE: language of above lists are ENGLISH, unless explicitly stated - otherwise. Please do not send messages using other language! - - - <A NAME=C><A HREF="bugreports.html">Appendix C</A> - How to report bugs</A> - -</PRE> +<BR> +<HR>MPlayer documentation project </BODY> - </HTML>
--- a/DOCS/faq.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/faq.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,314 +1,458 @@ <HTML> - <BODY> -<PRE> +<P><B><A NAME=5>5. FAQ section</A></B></P> + +<TABLE BORDER=0 WIDTH=100% ALIGN=left> + +<TD COLSPAN=3><P><B><A NAME=5.1>5.1 Compilation</A></B></P> +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD> </TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What's the problem with gcc 2.96 ? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or +RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY +unsupported by <B>MPlayer</B>, because it simply SKIPS MMX 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 +too.<BR>** DO NOT USE gcc 2.96 !!! ** +</TD><TR><TD COLSPAN=3> </TD><TR> - <A NAME=5>5. FAQ section</A> +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +No :) Their gcc 3.0.1 was compiled with gcc 2.96, so they are +buggy shit too. +</TD><TR><TD COLSPAN=3> </TD><TR> +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Now then. What should I use? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Any of gcc 2.95 series. +</TD><TR><TD COLSPAN=3> </TD><TR> - <A NAME=5.1>5.1. Compilation</A> +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +SDL output doesn't work or compile. Problem is .... +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It is tested with newest SDL (probably runs on 1.1.7+). +It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: What's the problem with gcc 2.96 ? - </B>A: gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or - RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY - unsupported by <B>MPlayer</B>, because it simply SKIPS MMX 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 - too. - ** DO NOT USE gcc 2.96 !!! ** +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I am still having trouble compiling with SDL support. gcc says something +about "undefined reference to `SDL_EnableKeyRepeat'" What's now? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Where did you install the SDL library? If you installed in /usr/local +(the default) then edit the top level config.mak and add +"-L/usr/local/lib " after "X_LIBS=" Now type make. You're done! +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +It doesn't compile, and it misses uint64_t inttypes.h and similar things... +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +copy etc/inttypes.h to <B>MPlayer</B> directory (cp etc/inttypes.h .) +try again... if fail, contact us +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--! - </B>A: No :) Their gcc 3.0.1 was compiled with gcc 2.96, so they are - buggy shit too. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have Pentium III but ./configure doesn't detect SSE +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but +be prepared for problems) +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have G200/G400, how to compile/use mga_vid driver? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Read all this documentation. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Are there rpm/deb/... packages of <B>MPlayer</B>? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +You can make a .deb package for yourself, check section <A HREF="documentation.html#6.1">6.1</A>. +It's _STRONGLY_ discouraged to use precompiled packages +of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time +options and optimizations! +Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team! +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: Now then. What should I use? - </B>A: Any of gcc 2.95 series. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +During 'make', MPlayer complains about X11 libraries. I don't understand, +I DO have X installed!? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +...but you don't have the X development package installed. Or not +correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under +Debian. Also check if the /usr/X11 symlink exists (this can be a problem on +Mandrake systems). It can be created with the<BR> + <CODE>$ ln -sf /usr/X11R6 /usr/X11</CODE><BR> + command. Also check the /usr/include/X11 link :<BR> + <CODE>$ ln -sf /usr/X11R6/include/X11 /usr/include/X11</CODE><BR> +Your distribution may differ from the Linux Filesystem Standard. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What about DGA driver? I can't find it!!! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +./configure autodetects your DGA driver. If -vo help doesn't show +DGA, then there's a problem with your X installation. +Try ./configure --enable-dga (and RTFM) +Alternatively, try SDL's DGA driver with '-vo sdl:dga' options. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: SDL output doesn't work or compile. Problem is .... - </B>A: It is tested with newest SDL (probably runs on 1.1.7+). - It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I can't compile SVGAlib.. I'm using 2.3/2.4 kernel. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I compiled MPlayer with libcss/libdivxdecore support, but when +I try to start it, it says:<BR> +<CODE>> error while loading shared libraries: libcss.so.0: cannot load +shared object file: No such file or directory</CODE><BR> +I checked up on the file and it IS there in /usr/local/lib. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +What are you doing on Linux? Can't you install a library? Why do +we get these questions? It's not <B>MPlayer</B> specific at all! Add +/usr/local/lib to <B>/etc/ld.so.conf</B> and run <B>ldconfig</B> . +Or install it to /usr/lib , because if you can't solve the /usr/local +problem, you are careless enough to do such things. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD COLSPAN=3><B><A NAME=5.2>5.2. General questions</A></B> +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I am still having trouble compiling with SDL support. gcc says something - about "undefined reference to `SDL_EnableKeyRepeat'" What's now? - </B>A: Where did you install the SDL library? If you installed in /usr/local - (the default) then edit the top level config.mak and add - "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done! +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What about DVD playing ? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Read the CD/DVD section . +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +-xy option doesn't work with x11 driver (-vo x11) +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +x11 driver doesn't support scaling, but XF86VidMode support is now +used: you must specify the -vm and the -fs switch, and you're done. +Make sure you have the right Modelines in your XF86Config file, and +try if the DGA driver (and SDL's DGA driver, see RTFM) works for you. +It's much faster. If SDL's DGA works too, use that, it'll be EVEN faster! +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things... - </B>A: copy etc/inttypes.h to <B>MPlayer</B> directory (cp etc/inttypes.h .) - try again... if fail, contact us +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What is the meaning of numbers in the status line? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +See: <CODE>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0</CODE><BR> +<UL> +<LI>A: audio position in seconds +<LI>V: video position in seconds +<LI>A-V: audio-video difference in seconds (delay) +<LI>ct: total A-V sync correction done +<LI>frames played (counting from last seek) +<LI>video codec cpu usage in percent (for mpeg it includes video_out too!) +<LI>video_out cpu usage for avi, 0 for mpg (see above) +<LI>audio codec cpu usage in percent +<LI>frames needed to drop to maintain A-V sync +</UL> +<I>Most of them are for debug purposes, and will be removed soon.</I> +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I have Pentium III but ./configure doesn't detect SSE - </B>A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but - be prepared for problems) +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Why is video_out cpu usage zero (0%) for mpeg files? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's not zero, but it's built in into codec, so can't be measured separated. +You should try to play the file using -vo null and then -vo ... and check +the difference to see video_out speed... +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What's XMMP? (is it XMMS or XMPS but mispelled?) +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's a new project, see http://frozenproductions.com for details +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +There are error messages about file not found /usr/lib/win32/.... +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Download & install w32codec.zip from *our* FTP +(avifile's codec package has different DLL set) +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I have G200/G400, how to compile/use mga_vid driver? - </B>A: Read all this documentation. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Are there any mailing lists on MPlayer? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Yes! See RTFM on how to subscribe them! +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I've found a nasty bug when I tried to play my favourite video!! +Who should I inform? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +See Appendix <A HREF="bugreports.html">C</A>. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have problems playing files with ... codec. Can I use'em? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Check http://mplayer.sourceforge.net/DOCS/codecs.html, +if it doesn't contain your codec, read +http://mplayer.sourceforge.net/DOCS/CODECS, and contact us. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Umm, what is "IdegCounter"? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +A mixture of a hungarian and an english word. In english, "Ideg" means +"nerve", and is pronounced as something like "ydaegh" . It was first used +to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance +of CVS code ;) +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +LIRC doesn't work, because ... +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Are you sure you use "mplayer_lirc" instead of "mplayer"? +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Subtitles are very nice, the most beautiful I've ever seen, but they slow +down the playing! I know it's unlikely... +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +After running ./configure , edit config.h and replace #undef FAST_OSD with +<CODE>#define FAST_OSD</CODE>. Then recompile. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: Are there rpm/deb/... packages of <B>MPlayer</B>? - </B>A: You can make a .deb package for yourself, check section <A HREF="documentation.html#6.1">6.1</A> . - It's _STRONGLY_ discouraged to use precompiled packages - of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time - options and optimizations! - Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team! +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +The OSD is flickering! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +You use a vo driver with single buffering (x11,xv). With xv, +use -double option. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +What exactly is this libavcodec? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's from Gerard Lantau's ffmpeg package (http://ffmpeg.sourceforge.net). +It has C language DivX ;-) and OpenDivX alpha 47 codec. Some benchmarks +showed that its DivX seems to be even faster than DirectShow codec without +preprocessing, and only a few percent slower than ProjectMayo's DivX4 +decoder. It uses YV12 pixel format, so old Voodoo users can use it for YUV. +Also, open the possibility to play DivX on virtually every computer that +has a C compiler. Kinda great stuff, isn't it? +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +But configure tells me "Checking for libavcodec ... no"! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +You need to get libavcodec from FFmpeg's CVS. Read the instructions in +the <A HREF="codecs.html#2.1.2.2">ffmpeg section</A>. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD COLSPAN=3> +<B><A NAME=5.3>5.3. File playing problems</A></B> +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +...... works with avifile/aviplay while doesn't with MPlayer. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +<B>MPlayer</B> != avifile +The only common thing between these players is the Win32 DLL loader. +The codecs (dll) sets, syncronization, demultiplexing etc is totaly +different and shouldn't be compared. +If something works with aviplay it doesn't mean that <B>MPlayer</B> should do +it and vice versa. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Audio goes out of sync playing .avi file. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Try with -bps or -nobps option +if still bad, send me (upload to ftp) that file, I'll check. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: During 'make', <B>MPlayer</B> complains about X11 libraries. I don't understand, - I DO have X installed!? - </B>A: ...but you don't have the X development package installed. Or not - correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under - Debian. Also check if the /usr/X11 symlink exists (this can be a problem on - Mandrake systems). It can be created with the - $ ln -sf /usr/X11R6 /usr/X11 - command. Also check the /usr/include/X11 link : - $ ln -sf /usr/X11R6/include/X11 /usr/include/X11 - Your distribution may differ from the Linux Filesystem Standard. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Indeo 3.x/4.x movies are viewed upside-down!!!? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's a known bug (really it's a bug/limitation of the DLL codec) +Try if your vo driver supports the -flip switch. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok). +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's a known bug (really it's a bug/limitation of the DLL codec). +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I've got 'MPlayer interrupted by signal 11' in module audio_setup or +decode_audio. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +This is highly unlikely, since the mp3lib rewrite. Contact us, it may be +a bug. Possibly it's a damaged file, try with -afm 4. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +MPlayer exits with something error when using l3codeca.acm. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Check 'ldd /usr/local/bin/mplayer' output. If it contains<BR> + <CODE>libc.so.6 => /lib/libc.so.6 (0x4???????)</CODE><BR> +where "?" is any number then it's ok, the error is not here. If it is:<BR> + <CODE>libc.so.6 => /lib/libc.so.6 (0x00??????)</CODE><BR> +then there is problem with your kernel/libc. Maybe you are using some +security patches (for example Solar Designer's OpenWall patch) which +forces loading libraries to very low addresses. +Because l3codeca.acm is a non-relocatable DLL, it must be loaded to +0x00400000, we can't change this. You should use non-patched kernel, +or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: What about DGA driver? I can't find it!!! - </B>A: ./configure autodetects your DGA driver. If -vo help doesn't show - DGA, then there's a problem with your X installation. - Try ./configure --enable-dga (and RTFM) - Alternatively, try SDL's DGA driver with '-vo sdl:dga' options. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 +sound too slow. When I use -nosound switch, everything is ok (but quiet). +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Those files probably have 48Khz audio, and your soundcard/driver can't play +it correctly. Audio downsampling isn't implemented in <B>MPlayer</B> (yet). +Maybe use the SDL driver, with <B>-ao:sdl</B> +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video". +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't +use <B>MPlayer</B> on different CPU than it was compiled on. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel. - </B>A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes.. +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Use the -fsmode switch. See example.conf or manpage. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +But it works with avifile! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +So what? +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I compiled <B>MPlayer</B> with libcss/libdivxdecore support, but when - I try to start it, it says : - > error while loading shared libraries: libcss.so.0: cannot load - > shared object file: No such file or directory - I checked up on the file and it IS there in /usr/local/lib. - </B>A: What are you doing on Linux? Can't you install a library? Why do - we get these questions? It's not <B>MPlayer</B> specific at all! Add - /usr/local/lib to <B>/etc/ld.so.conf</B> and run <B>ldconfig</B> . - Or install it to /usr/lib , because if you can't solve the /usr/local - problem, you are careless enough to do such things. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Then avifile is better! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Then use avifile, it has nice GUI and nice C++ code :) +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I got this playing mpeg files: Can't find codec for video format 0x10000001! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/ +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +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>A:</TD><TD> +The KDE arts sound daemon is blocking the sound device, either wait the time +until video starts or you disable the arts-daemon in kontrollcenter. +If you want to use arts sound, specify audio output via SDL (ao=sdl), and +make sure your SDL can handle arts sound. Yet another option is to start +mplayer with artsdsp. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have an AVI that plays with grey screen with -vc odivx, and green with -vc divx4 . +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf. +</TD><TR><TD COLSPAN=3> </TD><TR> + +<TD COLSPAN=3> +<B><A NAME=5.4>5.4. Video/audio driver problems (vo/ao)</A></B> +</TD><TR><TD COLSPAN=3> </TD><TR> - <A NAME=5.2>5.2. General questions</A> - - <B>Q: What about DVD playing ? - </B>A: Read the CD/DVD section . - - <B>Q: -xy option doesn't work with x11 driver (-vo x11) - </B>A: x11 driver doesn't support scaling, but XF86VidMode support is now - used: you must specify the -vm and the -fs switch, and you're done. - Make sure you have the right Modelines in your XF86Config file, and - try if the DGA driver (and SDL's DGA driver, see RTFM) works for you. - It's much faster. If SDL's DGA works too, use that, it'll be EVEN - faster! - - <B>Q: what is the meaning of numbers in the status line? - </B>A: see: - </B>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0 - - </B>A: audio position in seconds - - V: video position in seconds - - A-V: audio-video difference in seconds (delay) - - ct: total A-V sync correction done - - frames played (counting from last seek) - - video codec cpu usage in percent (for mpeg it includes video_out too!) - - video_out cpu usage for avi, 0 for mpg (see above) - - audio codec cpu usage in percent - - frames needed to drop to maintain A-V sync - Most of them are for debug purposes, and will be removed soon. - - <B>Q: Why is video_out cpu usage zero (0%) for mpeg files? - </B>A: It's not zero, but it's built in into codec, so can't be measured separated. - You should try to play the file using -vo null and then -vo ... and check - the difference to see video_out speed... - - <B>Q: What's XMMP? (is it XMMS or XMPS but mispelled?) - </B>A: It's a new project, see http://frozenproductions.com for details - - <B>Q: There are error messages about file not found /usr/lib/win32/.... - </B>A: Download & install w32codec.zip from *our* FTP - (avifile's codec package has different DLL set) - - <B>Q: Are there any mailing lists on <B>MPlayer</B>? - </B>A: Yes! See RTFM on how to subscribe them! - - <B>Q: I've found a nasty bug when I tried to play my favourite video!! - Who should I inform? - </B>A: See Appendix <A HREF="bugreports.html">C</A> . - - <B>Q: I have problems playing files with ... codec. Can I use'em? - </B>A: Check http://mplayerhq.hu/MPlayer/DOCS/codecs.html, - if it doesn't contain your codec, read - http://mplayerhq.hu/MPlayer/DOCS/CODECS, and contact us. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Ok, -vo help shows DGA driver, but it is babbling about permissions! +Help me! +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It works only if running as root! It's a DGA limitation. +You should become to root (su -), and try again. +Another solution is making mplayer SUID root, but its NOT RECOMMENDED!<BR> + <CODE>chown root /usr/local/bin/mplayer</CODE><BR> + <CODE>chmod 750 /usr/local/bin/mplayer</CODE><BR> + <CODE>chmod +s /usr/local/bin/mplayer</CODE><BR> +<B>!!!! BUT STAY TUNED !!!!</B><BR> +This is a *BIG* security risk! *NEVER* do this on a server or on a computer +can be accessed by more people than only you because they can gain root +privilegies through suid root mplayer!!!<BR> +!!!! SO YOU HAVE BEEN WARNED ... !!!! +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: Umm, what is "IdegCounter" ? - </B>A: A mixture of a hungarian and an english word. In english, "Ideg" means - "nerve", and is pronounced as something like "ydaegh" . It was first used - to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance - of CVS code ;) - - <B>Q: LIRC doesn't work, because ... - </B>A: Are you sure you use "mplayer_lirc" instead of "mplayer" ? - - <B>Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow - down the playing! I know it's unlikely... - </B>A: After running ./configure , edit config.h and replace #undef FAST_OSD with - #define FAST_OSD . Then recompile. - - <B>Q: The OSD is flickering! - </B>A: You use a vo driver with single buffering (x11,xv). With xv, - use -double option. - - <B>Q: What exactly is this libavcodec? - </B>A: It's from Gerard Lantau's ffmpeg package (http://ffmpeg.sourceforge.net). - It has C language DivX ;-) and OpenDivX alpha 47 codec. Some benchmarks - showed that its DivX seems to be even faster than DirectShow codec without - preprocessing, and only a few percent slower than ProjectMayo's DivX4 - decoder. It uses YV12 pixel format, so old Voodoo users can use it for YUV. - Also, open the possibility to play DivX on virtually every computer that - has a C compiler. Kinda great stuff, isn't it? - - <B>Q: But configure tells me "Checking for libavcodec ... no"! - </B>A: You need to get libavcodec from FFmpeg's CVS. Read the instructions in - the <A HREF="codecs.html#2.1.2.2">ffmpeg section</A> . - - - <A NAME=5.3>5.3. File playing problems</A> - - <B>Q: ...... works with avifile/aviplay while doesn't with <B>MPlayer</B> - </B>A: <B>MPlayer</B> != avifile - The only common thing between these players is the Win32 DLL loader. - The codecs (dll) sets, syncronization, demultiplexing etc is totaly - different and shouldn't be compared. - If something works with aviplay it doesn't mean that <B>MPlayer</B> should do - it and vice versa. - - <B>Q: audio goes out of sync playing .avi file - </B>A: try with -bps or -nobps option - if still bad, send me (upload to ftp) that file, I'll check. - - <B>Q: Indeo 3.x/4.x movies are viewed upside-down!!!? - </B>A: It's a known bug (really it's a bug/limitation of the DLL codec) - Try if your vo driver supports the -flip switch. - - <B>Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok) - </B>A: It's a known bug (really it's a bug/limitation of the DLL codec) - - <B>Q: I've got '<B>MPlayer</B> interrupted by signal 11' in module audio_setup or - decode_audio. - </B>A: This is highly unlikely, since the mp3lib rewrite. Contact us, it may be - a bug. Possibly it's a damaged file, try with -afm 4 . +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +When using Xvideo, my Voodoo 3/Banshee says:<BR> +X Error of failed request: BadAccess (attempt to access private resource denied)<BR> + Major opcode of failed request: 147 (MIT-SHM)<BR> + Minor opcode of failed request: 1 (X_ShmAttach)<BR> + Serial number of failed request: 26<BR> + Current serial number in output stream:27<BR> +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Your driver is old, update it. Either download (at least) DRI version 0.6 +from <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A>, +or use the DRI cvs. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: <B>MPlayer</B> exits with something error when using l3codeca.acm - </B>A: Check 'ldd /usr/local/bin/mplayer' output. If it contains - libc.so.6 => /lib/libc.so.6 (0x4???????) - where "?" is any number then it's ok, the error is not here. If it is: - libc.so.6 => /lib/libc.so.6 (0x00??????) - then there is problem with your kernel/libc. Maybe you are using some - security patches (for example Solar Designer's OpenWall patch) which - forces loading libraries to very low addresses. - Because l3codeca.acm is a non-relocatable DLL, it must be loaded to - 0x00400000, we can't change this. You should use non-patched kernel, - or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm. - - <B>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 - sound too slow. When I use -nosound switch, everything is ok (but quiet). - </B>A: Those files probably have 48Khz audio, and your soundcard/driver can't play - it correctly. Audio downsampling isn't implemented in <B>MPlayer</B> (yet). - Maybe use the SDL driver, with <B>-ao:sdl</B> - - <B>Q: <B>MPlayer</B> dies with "<B>MPlayer</B> interrupted by signal 4 in module: decode_video". - </B>A: Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't - use <B>MPlayer</B> on different CPU than it was compiled on. - - <B>Q: I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 - modes.. - </B>A1: Use the -fsmode switch. See example.conf or manpage. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee! +It says:<BR> +...<BR> +Xvideo image format: 0x32315659 (YV12) planar<BR> +Xvideo image format: 0x30323449 (I420) planar<BR> +... +</B></TD><TR><TD></TD><TD VALIGN=top>A1:</TD><TD> +See the previous answer. +</TD><TR><TD></TD><TD VALIGN=top>A2:</TD><TD> +Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains +a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format +for output, thus it should work for you. Compile in libavcodec support. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: But it works with avifile ! - </B>A: So what? - - <B>Q: Then avifile is better ! - </B>A: Then use avifile, it has nice GUI and nice C++ code :) - - <B>Q: I got this playing mpeg files: Can't find codec for video format 0x10000001 ! - </B>A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/ - - <B>Q: 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>A: The KDE arts sound daemon is blocking the sound device, either wait the time - until video starts or you disable the arts-daemon in kontrollcenter. - If you want to use arts sound, specify audio output via SDL (ao=sdl), and - make sure your SDL can handle arts sound. Yet another option is to start - mplayer with artsdsp. - - <B>Q: I have an AVI that plays with grey screen with -vc odivx, and green - with -vc divx4 . - </B>A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf. - - - <A NAME=5.4>5.4. Video/audio driver problems (vo/ao)</A> - - <B>Q: Ok, -vo help shows DGA driver, but it is babbling about permissions! - Help me! - </B>A: It works only if running as root! It's a DGA limitation. - You should become to root (su -), and try again. - - Another solution is making mplayer SUID root, but its NOT RECOMMENDED! +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...). +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +Your opengl driver doesn't support dynamic texture changes (glTexSubImage) +It's known not to work with nVidia's binary shit. +It's known to work with Utah-GLX/DRI and Matrox G400 card. Also with +DRI and Radeon card. It won't work with DRI others than these. +it will not work with 3DFX cards because the 256x256 texture size limit. +</TD><TR><TD COLSPAN=3> </TD><TR> - chown root /usr/local/bin/mplayer - chmod 750 /usr/local/bin/mplayer - chmod +s /usr/local/bin/mplayer - - !!!! BUT STAY TUNED !!!! - This is a *BIG* security risk! *NEVER* do this on a server or on a computer - can be accessed by more people than only you because they can gain root - privilegies through suid root mplayer!!! - !!!! SO YOU HAVE BEEN WARNED ... !!!! +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +I have an nVidia TNT/TNT2 card, and I have a band with strange colours, +right under the movie! Whose fault is this? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards, +and we can't do anything about it, it's not our bug. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: When using Xvideo, my Voodoo 3/Banshee says: - X Error of failed request: BadAccess (attempt to access private resource - denied) - Major opcode of failed request: 147 (MIT-SHM) - Minor opcode of failed request: 1 (X_ShmAttach) - Serial number of failed request: 26 - Current serial number in output stream:27 - </B>A: Your driver is old, update it. Either download (at least) DRI version 0.6 - from http://dri.sourceforge.net , or use the DRI cvs. +<TD COLSPAN=3> +<B><A NAME=5.5>5.5. Feature requests</A></B> +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee ! - It says: - ... - Xvideo image format: 0x32315659 (YV12) planar - Xvideo image format: 0x30323449 (I420) planar - ... - </B>A1: See the previous answer. - A2: Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains - a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format - for output, thus it should work for you. Compile in libavcodec support. - - <B>Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...) - </B>A: your opengl driver doesn't support dynamic texture changes (glTexSubImage) - it's known not to work with nVidia's binary shit. - it's known to work with Utah-GLX/DRI and Matrox G400 card. Also with - DRI and Radeon card. It won't work with DRI others than these. - it will not work with 3DFX cards because the 256x256 texture size limit. +<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> +Is there a hint on how to watch QuickTime and RealMedia movies in MPlayer? +</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> +There's no way to do it. Therefore these formats deserve to die in flames. +Theoretically you can reverse engineer Real codecs built for Linux (they +are available as .so files), but in practice that's really difficult, even +if you know how the compiler used by Real is making assembler code. +As for QuickTime, it's possible to play some old movies and this +capability will be added to mplayer soon, but newer clips are all Sorenson +encoded, and that codec is built-in deep in the QT executable, there's +no way to use it. +</TD><TR><TD COLSPAN=3> </TD><TR> - <B>Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colours, - right under the movie! Whose fault is this? - </B>A: It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards, - and we can't do anything about it, it's not our bug. - - - <A NAME=5.5>5.5. Feature requests</A> +</TABLE> - <B>Q: Is there a hint on how to watch QuickTime and RealMedia movies in MPlayer? - </B>A: There's no way to do it. Therefore these formats deserve to die in flames. - Theoretically you can reverse engineer Real codecs built for Linux (they - are available as .so files), but in practice that's really difficult, even - if you know how the compiler used by Real is making assembler code. - As for QuickTime, it's possible to play some old movies and this - capability will be added to mplayer soon, but newer clips are all Sorenson - encoded, and that codec is built-in deep in the QT executable, there's - no way to use it. - -</PRE> +<BR> +<HR>MPlayer documentation project </BODY> - </HTML>
--- a/DOCS/sound.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/sound.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,84 +1,88 @@ <HTML> - <BODY> -<PRE> - - <A NAME=2.2.2>2.2.2. Audio output devices</A> +<P><B><A NAME=2.2.2>2.2.2. Audio output devices</A></P></B> - - OSS (ioctl) driver - - SDL driver (supports up/downsampling, esd, arts etc) - - native ALSA 0.5 driver - - native ALSA 0.9 driver (buggy, use OSS emulation!) - - ESD (through SDL) - - ARTS (through SDL) - - SUN audio driver (/dev/audio) for BSD and Solaris8 users +<P><UL> +<LI>OSS (ioctl) driver +<LI>SDL driver (supports up/downsampling, esd, arts etc) +<LI>native ALSA 0.5 driver +<LI>native ALSA 0.9 driver (buggy, use OSS emulation!) +<LI>ESD (through SDL) +<LI>ARTS (through SDL) +<LI>SUN audio driver (/dev/audio) for BSD and Solaris8 users +</UL></P> - - <A NAME=2.2.2.1>2.2.2.1. Soundcard experiences, recommendations</A> +<P><B><A NAME=2.2.2.1>2.2.2.1. Soundcard experiences, recommendations</A></B></P> - Aureal Vortex 2: - OSS/Free: no driver - OSS : OK - ALSA : no driver - Max kHz : 48 - Driver : <A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A> - Driver2 : from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A> - (buffer size increased to 64k) +<P><TABLE BORDER=0 WIDTH=100%> +<TD COLSPAN=3><B>Aureal Vortex 2</B></TD><TR> +<TD> </TD><TD>OSS/Free:</TD><TD>no driver</TD><TR> +<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>no driver</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> +<TD></TD><TD>Driver:</TD><TD><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD><TR> +<TD></TD><TD>Driver2:</TD><TD> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A><BR> +(<I>buffer size increased to 64k</I>)</TD><TR> - GUS PnP: - OSS/Free: no driver - OSS : OK - ALSA : OK - Max kHz : 48 +<TD COLSPAN=3><B>GUS PnP</B></TD><TR> +<TD></TD><TD>OSS/Free:</TD><TD>no driver</TD><TR> +<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>OK</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> + +<TD COLSPAN=3><B>SB Live!</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>(?)</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - SB Live!: - OSS : OK - ALSA : (?) - Max kHz : 48 +<TD COLSPAN=3><B>SB AWE 64</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>max 44kHz</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>48kHz sounds shit</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - SB AWE 64 OSS : max 44kHz - ALSA : 48kHz sounds shit - Max kHz : 48 +<TD COLSPAN=3><B>Gravis UltraSound ACE</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>max 44Khz. <I>Also has problems with the +new sound code.</I></TD><TR> +<TD></TD><TD>ALSA:</TD><TD>OK</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - Gravis UltraSound ACE: - OSS : max 44Khz. Also has problems with the - new sound code. - ALSA : OK - Max kHz : 48 +<TD COLSPAN=3><B>Gravis UltraSound MAX</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>OK (?)</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - Gravis UltraSound MAX: - OSS : OK - ALSA : OK (?) - Max kHz : 48 +<TD COLSPAN=3><B>ESS 688</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>OK (?)</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - ESS 688: - OSS : OK - ALSA : OK (?) - Max kHz : 48 +<TD COLSPAN=3><B>C-Media cards (which ones?)</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>not OK (hissing) (?)</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>OK (?)</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>?</TD><TR> - C-Media cards (which ones?) - OSS : not OK (hissing) (?) - ALSA : OK (?) - Max kHz : ? +<TD COLSPAN=3><B>PC Speaker or DAC</B></TD><TR> +<TD></TD><TD>OSS:</TD><TD>OK (<I>use the SDL driver : -ao sdl</I>)</TD><TR> +<TD></TD><TD>ALSA:</TD><TD>no driver</TD><TR> +<TD></TD><TD>Max kHz:</TD><TD>the driver emulates 44.1 maybe more</TD><TR> +<TD></TD><TD>Driver:</TD><TD><A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A></TD><TR> +</TABLE></P> - PC Speaker or DAC: - OSS : OK (use the SDL driver : -ao sdl) - ALSA : no driver - Max kHz : the driver emulates 44.1 maybe more - Driver : <A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A> - - - use at least 2.4 if possible, 2.2 isn't tested - - if sound clicks when playing from CD-ROM, turn on IRQ unmasking ! +<P><UL> +<LI> use at least 2.4 if possible, 2.2 isn't tested +<LI> if sound clicks when playing from CD-ROM, turn on IRQ unmasking ! for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!) This is recommended anyways... (for XMMS, etc...) - Read section <A HREF="cd-dvd.html#4.1">4.1</A> . - - don't use your soundcard by other application ( for ex. XMMS ) ! + Read section <A HREF="cd-dvd.html#4.1">4.1</A>. +<LI> don't use your soundcard by other application ( for ex. XMMS ) ! if you use ESD, start MPlayer with the '-vo sdl:esd' option ! - - Please tell us how MPlayer and your soundcard(s) worked together! +<LI> Please tell us how MPlayer and your soundcard(s) worked together! +</UL></P> -</PRE> +<BR> +<HR> +MPlayer documentation project </BODY> - </HTML>
--- a/DOCS/video.html Fri Aug 24 16:28:26 2001 +0000 +++ b/DOCS/video.html Fri Aug 24 18:48:13 2001 +0000 @@ -1,115 +1,113 @@ <HTML> - <BODY> -<PRE> +<P><B><A NAME=2.2.1>2.2.1. Video output devices</A></B></P> - <A NAME=2.2.1>2.2.1. Video output devices</A> +<TABLE BORDER=0> + +<TD COLSPAN=4><P><B>General:</B></P></TD><TR> - General: - - x11: X11 with optional SHM extension - - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling) - - gl: OpenGL renderer, so far works only with : - - all cards with Utah-GLX - - Matrox cards with X/DRI >=4.0.3 - - Radeon with X/DRI CVS - - dga: X11 DGA extension - - fbdev:Output to general framebuffers - - svga: Output to SVGAlib - - sdl: 1.1.7 : supports software scaling - 1.1.8 : supports Xvideo (hardware scaling/fullscreen) - 1.2.0 : supports AAlib (-vo aa is very recommended, see below!) - - ggi: similar to SDL - - aa: textmode rendering with AAlib +<TD> </TD><TD VALIGN=top>x11</TD><TD> </TD><TD>X11 with optional SHM extension</TD><TR> +<TD></TD><TD VALIGN=top>xv</TD><TD></TD><TD>X11 using overlays with the Xvideo extension (hardware YUV & scaling)</TD><TR> +<TD></TD><TD VALIGN=top>gl</TD><TD></TD><TD>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>dga</TD><TD></TD><TD>X11 DGA extension</TD><TR> +<TD></TD><TD VALIGN=top>fbdev</TD><TD></TD><TD>Output to general framebuffers</TD><TR> +<TD></TD><TD VALIGN=top>svga</TD><TD></TD><TD>Output to SVGAlib</TD><TR> +<TD></TD><TD VALIGN=top>sdl</TD><TD></TD><TD> + <CODE>1.1.7:</CODE> supports software scaling<BR> + <CODE>1.1.8:</CODE> supports Xvideo (hardware scaling/fullscreen)<BR> + <CODE>1.2.0:</CODE> supports AAlib (-vo aa is very recommended, see below!)</TD><TR> +<TD></TD><TD VALIGN=top>ggi</TD><TD></TD><TD>similar to SDL</TD><TR> +<TD></TD><TD VALIGN=top>aa</TD><TD></TD><TD>textmode rendering with AAlib</TD><TR> + +<TD COLSPAN=4><P><B>Card specific:</B></P></TD><TR> - Card specific: - - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device - - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window - (Xv emulation on X 3.3.x !) - - syncfb: Matrox G400 YUV support on framebuffer (obsoleted, use mga/xmga) - - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe - broken) +<TD> </TD><TD VALIGN=top>mga</TD><TD> </TD><TD>Matrox G200/G400 hardware YUV overlay via the mga_vid device</TD><TR> +<TD></TD><TD VALIGN=top>xmga</TD><TD></TD><TD>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>syncfb</TD><TD></TD><TD>Matrox G400 YUV support on framebuffer (obsoleted, use mga/xmga)</TD><TR> +<TD></TD><TD VALIGN=top>3dfx</TD><TD></TD><TD>Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe +broken)</TD><TR> + +<TD COLSPAN=4><P><B>Special:</B></P></TD><TR> - Special: - - png: PNG files output (use -z switch to set compression) - - pgm: PGM files output (for testing purposes or ffmpeg encoding) - - md5: MD5sum output (for MPEG conformance tests) - - odivx:OpenDivX AVI File writer (use -br to set encoding bitrate) - - null: Null output (for speed tests/benchmarking) +<TD> </TD><TD VALIGN=top>png</TD><TD> </TD><TD>PNG files output (use -z switch to set compression)</TD><TR> +<TD></TD><TD VALIGN=top>pgm</TD><TD></TD><TD>PGM files output (for testing purposes or ffmpeg encoding)</TD><TR> +<TD></TD><TD VALIGN=top>md5</TD><TD></TD><TD>MD5sum output (for MPEG conformance tests)</TD><TR> +<TD></TD><TD VALIGN=top>odivx</TD><TD></TD><TD>OpenDivX AVI File writer (use -br to set encoding bitrate)</TD><TR> +<TD></TD><TD VALIGN=top>null</TD><TD></TD><TD>Null output (for speed tests/benchmarking)</TD><TR> +</TABLE> - NOTE: check the following subsections for details and requirements! +<P>NOTE: <I>check the following subsections for details and requirements!</I></P> - <A NAME=2.2.1.1>2.2.1.1. MTRR</A> - - It is VERY recommended to set MTRR registers up properly, because they can - give a big performance boost. First you have to find the base address. - You have 3 ways to find it: +<P><B><A NAME=2.2.1.1>2.2.1.1. MTRR</A></B></P> - - from X11 startup messages, for example: - - (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000 - (--) SVGA: Linear framebuffer at 0xD8000000 - - - from /proc/pci (use lspci -v command): +<P>It is VERY recommended to set MTRR registers up properly, because they can +give a big performance boost. First you have to find the base address. +You have 3 ways to find it:</P> - 01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525 - Memory at d8000000 (32-bit, prefetchable) - - - from mga_vid kernel driver messages (use dmesg): - - mga_mem_base = d8000000 +<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> +<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> +<LI>from mga_vid kernel driver messages (use dmesg): +<P><CODE>mga_mem_base = d8000000</CODE></P> +</UL></P> - Then let's find the memory size. This is very easy, just convert video ram - size to hexadecimal, or use this table: - +<P>Then let's find the memory size. This is very easy, just convert video ram +size to hexadecimal, or use this table:</P> - 1 MB 0x100000 - 2 MB 0x200000 - 4 MB 0x400000 - 8 MB 0x800000 - 16 MB 0x1000000 - 32 MB 0x2000000 +<TABLE BORDER=0> +<TD> </TD><TD>1 MB</TD><TD WIDTH=10%></TD><TD>0x100000</TD><TR> +<TD></TD><TD>2 MB</TD><TD></TD><TD>0x200000</TD><TR> +<TD></TD><TD>4 MB</TD><TD></TD><TD>0x400000</TD><TR> +<TD></TD><TD>8 MB</TD><TD></TD><TD>0x800000</TD><TR> +<TD></TD><TD>16 MB</TD><TD></TD><TD>0x1000000</TD><TR> +<TD></TD><TD>32 MB</TD><TD></TD><TD>0x2000000</TD><TR> +</TABLE> - You know base address and memory size, let's setup mtrr registers! - For example, for the Matrox card above (base=0xd8000000) with 32MB - ram (size=0x2000000) just execute: +<P>You know base address and memory size, let's setup mtrr registers! +For example, for the Matrox card above (base=0xd8000000) with 32MB +ram (size=0x2000000) just execute:</P> - echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr - - - Not all CPUs support MTRRs. For example older K6-2's [around 266Mhz, - stepping 0] doesn't support MTRR, but stepping 12's do ('cat /proc/cpuinfo' - to check it). +<P><CODE> echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr</CODE></P> - <A NAME=2.2.1.2>2.2.1.2. Xv</A> +<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).</P> - Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines - using the XVideo extension. This is what the option '-vo xv' uses. - In order to make this work, be sure to check the following: - - You have to use XFree86 4.0.2 or newer (former versions don't have XVideo) - - Your card actually supports harware acceleration (modern cards do) - - X loads the XVideo extension, it's something like this: - - - (II) Loading extension XVideo - +<P><B><A NAME=2.2.1.2>2.2.1.2. Xv</A></B></P> - in /var/log/XFree86.0.log - +<P>Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines +using the XVideo extension. This is what the option '-vo xv' uses. +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>X loads the XVideo extension, it's something like this: - NOTE : this loads only the XFree86's extension. In a good install, this is - always loaded, and doesn't mean that the _card's_ XVideo support is - loaded! +<P><CODE> (II) Loading extension XVideo</CODE></P> +<P>in /var/log/XFree86.0.log</P> - - Your card has Xv support under Linux. To check, try 'xvinfo', it is the - part of the XFree86 distribution. It should display a long text, similar - to this: +<P>NOTE: this loads only the XFree86's extension. In a good install, this is +always loaded, and doesn't mean that the _card's_ XVideo support is loaded!</P> - +<LI>Your card has Xv support under Linux. To check, try 'xvinfo', it is the +part of the XFree86 distribution. It should display a long text, similar +to this: +<PRE> X-Video Extension version 2.2 screen #0 Adaptor #0: "Savage Streams Engine" @@ -133,239 +131,234 @@ number of planes: 3 type: YUV (planar) (...etc...) - - - It must support YUY2 packed, and YV12 planar pixel formats to be - usable with <B>MPlayer</B>. +</PRE> - - And finally, check if <B>MPlayer</B> was compiled with 'xv' support. - ./configure prints this. +<P>It must support YUY2 packed, and YV12 planar pixel formats to be +usable with <B>MPlayer</B>.</P> - - <A NAME=2.2.1.2.1>2.2.1.2.1. 3dfx cards</A> +<LI>And finally, check if <B>MPlayer</B> was compiled with 'xv' support. +./configure prints this. - Older 3dfx drivers were known to have problems with XVideo acceleration, - it didn't support either YUY2 or YV12, and so. Verify that you have - XFree86 version 4.1.0 or greater, it works ok. Alternatively, you can use - <A HREF="http://dri.sourceforge.net">DRI</A> cvs. - If you experience strange effects using -vo xv, try SDL (it has XVideo too) - and see if it helps. Check the <A HREF="#2.2.1.4">SDL section</A> for details. +</UL></P> + +<P><B><A NAME=2.2.1.2.1>2.2.1.2.1. 3dfx cards</A></B></P> - - <A NAME=2.2.1.2.2>2.2.1.2.2. S3 cards</A> - - S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3 - or greater. As for S3 Virge.. sell it. +<P>Older 3dfx drivers were known to have problems with XVideo acceleration, +it didn't support either YUY2 or YV12, and so. Verify that you have +XFree86 version 4.1.0 or greater, it works ok. Alternatively, you can use +<A HREF="http://dri.sourceforge.net">DRI</A> cvs. +If you experience strange effects using -vo xv, try SDL (it has XVideo too) +and see if it helps. Check the <A HREF="#2.2.1.4">SDL section</A> for details.</P> - <A NAME=2.2.1.2.3>2.2.1.2.3. nVidia cards</A> +<P><B><A NAME=2.2.1.2.2>2.2.1.2.2. S3 cards</A></B></P> + +<P>S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3 +or greater. As for S3 Virge.. sell it.</P> + +<P><B><A NAME=2.2.1.2.3>2.2.1.2.3. nVidia cards</A></B></P> - nVidia isn't a very good choice under Linux.. You'll have to use the - binary nVidia driver, available at nVidia's website. The standard X - driver doesn't support XVideo for these cards, due to nVidia's closed - sources/specifications. +<P>nVidia isn't a very good choice under Linux.. You'll have to use the +binary nVidia driver, available at nVidia's website. The standard X +driver doesn't support XVideo for these cards, due to nVidia's closed +sources/specifications.</P> - - Riva128 cards don't have XVideo support even with the nvidia driver :( - Complain to NVidia. +<P><UL><LI>Riva128 cards don't have XVideo support even with the nvidia driver :( +Complain to NVidia.</UL></P> - <A NAME=2.2.1.2.4>2.2.1.2.4. ATI cards</A> +<P><B><A NAME=2.2.1.2.4>2.2.1.2.4. ATI cards</A></B></P> - The GATOS driver has VSYNC enabled by default. It means that decoding speed - (!) is synced to the monitor's refresh rate. If playing seems to be slow, try - disabling VSYNC somehow, or set refresh rate to n*(fps of the movie) Hz. +<P>The GATOS driver has VSYNC enabled by default. It means that decoding speed +(!) is synced to the monitor's refresh rate. If playing seems to be slow, try +disabling VSYNC somehow, or set refresh rate to n*(fps of the movie) Hz.</P> - <A NAME=2.2.1.3>2.2.1.3. DGA</A> +<P><B><A NAME=2.2.1.3>2.2.1.3. DGA</A></B></P> - <A NAME=2.2.1.3.1>2.2.1.3.1. Summary</A> +<P><B><A NAME=2.2.1.3.1>2.2.1.3.1. Summary</A></B></P> - This document tries to explain in some words what DGA is in general and - what the DGA video output driver for mplayer can do (and what it can't). +<P>This document tries to explain in some words what DGA is in general and +what the DGA video output driver for mplayer can do (and what it can't).</P> - <A NAME=2.2.1.3.2>2.2.1.3.2. What is DGA</A> +<P><B><A NAME=2.2.1.3.2>2.2.1.3.2. What is DGA</A></B></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. - 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 - as root or by setting the suid bit on the mplayer excecutable (NOT - recommended!). +<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. +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 +as root or by setting the suid bit on the mplayer excecutable (NOT +recommended!).</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>There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was +introduced with XFree 4.0.1.</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>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> - 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 - versa. +<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 +versa. </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 - driver that controls this chip. So it does not work on every system ... +<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 +driver that controls this chip. So it does not work on every system ...</P> -<A NAME=2.2.1.3.3>2.2.1.3.3. Installing DGA support for <B>MPlayer</B></A> +<P><B><A NAME=2.2.1.3.3>2.2.1.3.3. Installing DGA support for MPlayer</A></B></P> + +<P>First make sure X loads the DGA extension, see in /var/log/XFree86.0.log:</P> + +<P> <CODE>(II) Loading extension XFree86-DGA</CODE></P> + +<P>See, XFree86 4.0.x or greater is VERY RECOMMENDED! +<B>MPlayer</B>'s DGA driver is autodetected on ./configure, or you can force it +with --enable-dga.</P> - First make sure X loads the DGA extension, see in /var/log/XFree86.0.log : +<P>If the driver couldn't switch to a smaller resolution, experiment with +switches -vm (only with X 3.3.x), -fs, -bpp, -zoom to find a video mode that +the movie fits in. There is no converter right now.. :(</P> +<P>Become ROOT. DGA needs root access to be able to write directly video memory. +If you want to run it as user, then install <B>MPlayer</B> SUID root:</P> - (II) Loading extension XFree86-DGA +<P><CODE> + <CODE>chown root /usr/local/bin/mplayer<BR> + <CODE>chmod 750 /usr/local/bin/mplayer<BR> + <CODE>chmod +s /usr/local/bin/mplayer<BR></CODE></P> - See, XFree86 4.0.x or greater is VERY RECOMMENDED! - <B>MPlayer</B>'s DGA driver is autodetected on ./configure, or you can force it - with --enable-dga. - - If the driver couldn't switch to a smaller resolution, experiment with - switches -vm (only with X 3.3.x), -fs, -bpp, -zoom to find a video mode that - the movie fits in. There is no converter right now.. :( - - Become ROOT. DGA needs root access to be able to write directly video memory. - If you want to run it as user, then install <B>MPlayer</B> SUID root: - - - chown root /usr/local/bin/mplayer - chmod 750 /usr/local/bin/mplayer - chmod +s /usr/local/bin/mplayer - - - Now it works as a simple user, too. - - - !!!! BUT STAY TUNED !!!! - This is a BIG security risk! Never do this on a server or on a computer - can be accessed by more people than only you because they can gain root - privilegies through suid root mplayer. - !!!! SO YOU HAVE BEEN WARNED ... !!!! +<P>Now it works as a simple user, too.</P> - Now use '-vo dga' option, and there you go! (hope so:) - You should also try if the '-vo sdl:dga' option works for you! It's much - faster!!! +<P><B>!!!! BUT STAY TUNED !!!!</B><BR> +This is a <B>BIG</B> security risk! Never do this on a server or on a computer +can be accessed by more people than only you because they can gain root +privilegies through suid root mplayer.<BR> +<B>!!!! SO YOU HAVE BEEN WARNED ... !!!!</B></P> + +<P>Now use '-vo dga' option, and there you go! (hope so:) +You should also try if the '-vo sdl:dga' option works for you! It's much +faster!!!</P> + +<P><B><A NAME=2.2.1.3.4>2.2.1.3.4. Resolution switching</A></B></P> + +<P>The DGA driver allows for switching the resolution of the output signal. +This avoids the need for doing (slow) software scaling and at the same +time provides a fullscreen image. Ideally it would switch to the exact +resolution (except for honouring aspect ratio) of the video data, but the +XServer only allows switching to resolutions predefined in +<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 +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> + +<P><B><A NAME=2.2.1.3.5>2.2.1.3.5. DGA & MPlayer</A></B></P> +<P>DGA is used in two places with <B>MPlayer</B>: The SDL driver can be made to make +use of it (-vo sdl:dga) and within the DGA driver (-vo dga). +The above said is true for both; in the following sections I'll explain +how the DGA driver for <B>MPlayer</B> works.</P> - <A NAME=2.2.1.3.4>2.2.1.3.4. Resolution switching</A> +<P><B><A NAME=2.2.1.3.6>2.2.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) - +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 +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 +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) +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 +results in much smoother movie replaying. It will tell you whether double- +buffering is enabled or not.</P> - The DGA driver allows for switching the resolution of the output signal. - This avoids the need for doing (slow) software scaling and at the same - time provides a fullscreen image. Ideally it would switch to the exact - resolution (except for honouring aspect ratio) of the video data, but the - XServer only allows switching to resolutions predefined in - /etc/X11/XF86Config (/etc/X11/XF86Config-4 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 - out which modes survive with the X11 log file. It can be found at: - /var/log/XFree86.0.log - See appendix A for some sample modeline definitions. +<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 +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 +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 +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.2.1.3.7>2.2.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 +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 +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 +is optimized.</P> + +<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 +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> - <A NAME=2.2.1.3.5>2.2.1.3.5. DGA & <B>MPlayer</B></A> +<P><B><A NAME=2.2.1.3.8>2.2.1.3.8. Known bugs</A></B></P> + +<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> - DGA is used in two places with <B>MPlayer</B>: The SDL driver can be made to make - use of it (-vo sdl:dga) and within the DGA driver (-vo dga). - The above said is true for both; in the following sections I'll explain - how the DGA driver for <B>MPlayer</B> works. +<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 +using of DGA +<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 +100000x100000 or the like ... +<LI>OSD only works with doublebuffering enabled +</UL></P> + +<P><B><A NAME=2.2.1.3.9>2.2.1.3.9. Future work</A></B></P> + +<P><UL><LI>use of the new X11 render interface for OSD +<LI>where is my TODO list ???? :-(((</UL></P> - <A NAME=2.2.1.3.6>2.2.1.3.6. Features of the DGA driver</A> - - 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) - - 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 - 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 - 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) - conversion has to be done. - - 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. - - 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 - 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 - video data. - - 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. - - - <A NAME=2.2.1.3.7>2.2.1.3.7. Speed issues</A> +<P><B><A NAME=2.2.1.3.A>2.2.1.3.A. Some modelines</A></B></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 - 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 - box ... - - 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. - - 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. - - 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. - - 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. - - - <A NAME=2.2.1.3.8>2.2.1.3.8. Known bugs</A> - - 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. - - o with XFree 4.0.3 and nv.o there is a bug resulting in strange colors - o ATI driver requires to switch mode back more than once after finishing - using of DGA - o some drivers simply fail to switch back to normal resolution (use - Ctrl-Alt-Keypad +, - to switch back manually) - o some drivers simply display strange colors - o some drivers lie about the amount of memory they map into the process's - address space, thus vo_dga won't use doublebuffering (SIS?) - o 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 - 100000x100000 or the like ... - o OSD only works with doublebuffering enabled - - - <A NAME=2.2.1.3.9>2.2.1.3.9. Future work</A> - - o use of the new X11 render interface for OSD - o where is my TODO list ???? :-((( - - - <A NAME=2.2.1.3.A>2.2.1.3.A. Some modelines</A> - +<PRE> Section "Modes" Identifier "Modes[0]" Modeline "800x600" 40 800 840 968 1056 600 601 605 628 @@ -376,301 +369,291 @@ Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan EndSection - - - These entries work fine with my Riva128 chip, using nv.o XServer driver - module. - - - <A NAME=2.2.1.3.B>2.2.1.3.B. Bug Reports</A> +</PRE> - 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: - - 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! - - - Acki (acki@acki-netz.de, www.acki-netz.de) +<P>These entries work fine with my Riva128 chip, using nv.o XServer driver +module.</P> - <A NAME=2.2.1.4>2.2.1.4. SDL</A> - - Here are some notes about SDL out in <B>MPlayer</B>. - - There are several commandline switches for SDL: +<P><B><A NAME=2.2.1.3.B>2.2.1.3.B. Bug Reports</A></B></P> - -vo sdl:name specifies sdl video driver to use (ie. aalib, - dga, x11) - -ao sdl:name specifies sdl audio driver to use (ie. dsp, - esd, arts) - -noxv disables Xvideo hardware acceleration - -forcexv tries to force Xvideo acceleration +<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 +also help. Thanks!</P> - SDL Keys: - - F toggles fullscreen/windowed mode - C cycles available fullscreen modes - W/S mappings for * and / (mixer control) - - KNOWN BUGS: - - Keys pressed under sdl:aalib console driver repeat forever. (use -vo aa !) - It's bug in SDL, I can't change it (tested with SDL 1.2.1). + +<P><I>Acki (acki@acki-netz.de, www.acki-netz.de)</I></P> - <A NAME=2.2.1.5>2.2.1.5. SVGAlib</A> +<P><B><A NAME=2.2.1.4>2.2.1.4. SDL</A></B></P> - If you don't have X, you can use the SVGAlib target! Be sure not to use the - -fs switch, since it toggles the usage of the software scaler, and it's - SLOOOW now, unless you have a real fast CPU (and/or MTRR?). :( +<P>Here are some notes about SDL out in <B>MPlayer</B>.</P> - Of course you'll have to install svgalib and its development package in - order for <B>MPlayer</B> build its SVGAlib driver (autodetected, but can be - forced), and don't forget to edit /etc/vga/libvga.config to suit your - card & monitor. - <A NAME=2.2.1.6>2.2.1.6. Framebuffer output (FBdev)</A> +<P><TABLE BORDER=0> +<TD COLSPAN=4><P><B>There are several commandline switches for SDL:</B></P></TD><TR> +<TD> </TD><TD>-vo sdl:name</TD><TD> </TD><TD> +specifies sdl video driver to use (ie. aalib, dga, x11)</TD><TR> +<TD></TD><TD>-ao sdl:name</TD><TD></TD><TD>specifies sdl audio driver to use (ie. dsp, +esd, arts)</TD><TR> +<TD></TD><TD>-noxv</TD><TD></TD><TD>disables Xvideo hardware acceleration</TD><TR> +<TD></TD><TD>-forcexv</TD><TD></TD><TD>tries to force Xvideo acceleration</TD><TR> - Whether to build the FBdev target is autodetected during ./configure . - Read the framebuffer documentation in the kernel sources - (Documentation/fb/*) for info on how to enable it, etc.. ! +<TD COLSPAN=4><P><B>SDL Keys:</B></P></TD><TR> - If your card doesn't support VBE 2.0 standard (older ISA/PCI - cards, such as S3 Trio64), only VBE 1.2 (or older?) : - Well, VESAfb is still available, but you'll have to load SciTech Display - Doctor (formerly UniVBE) before booting Linux. Use a DOS boot disk or - whatever. And don't forget to register your UniVBE ;)) +<TD></TD><TD>F</TD><TD></TD><TD>toggles fullscreen/windowed mode</TD><TR> +<TD></TD><TD>C</TD><TD></TD><TD>cycles available fullscreen modes</TD><TR> +<TD></TD><TD>W/S</TD><TD></TD><TD>mappings for * and / (mixer control)</TD><TR> - The FBdev output takes some additional parameters above the others: +</TABLE></P> - -fb specify the framebuffer device to use (/dev/fd0) - -fbmode mode name to use (according to /etc/fb.modes) - -fbmodeconfig config file of modes (default /etc/fb.modes) - monitor_hfreq - monitor_vfreq IMPORTANT values, see example.conf - monitor_dotclock +<P><B>KNOWN BUGS:</B></P> +<P><UL><LI>Keys pressed under sdl:aalib console driver repeat forever. (use -vo aa !) +It's bug in SDL, I can't change it (tested with SDL 1.2.1). +</UL></P> - If you want to change to a specific mode, then use +<P><B><A NAME=2.2.1.5>2.2.1.5. SVGAlib</A></B></P> + +<P>If you don't have X, you can use the SVGAlib target! Be sure not to use the +-fs switch, since it toggles the usage of the software scaler, and it's +SLOOOW now, unless you have a real fast CPU (and/or MTRR?). :(</P> - mplayer -vm -fbmode (NameOfMode) filename +<P>Of course you'll have to install svgalib and its development package in +order for <B>MPlayer</B> build its SVGAlib driver (autodetected, but can be +forced), and don't forget to edit /etc/vga/libvga.config to suit your +card & monitor.</P> - -vm alone will choose the most suitable mode from /etc/fb.modes . Can be - used together with -x and -y options too. The -flip option is supported only - if the movie's pixel format matches the video mode's pixel format. - Pay attention to the bpp value, fbdev driver tries to use the current, - or if you specify the -bpp option, then that. - -zoom option isn't supported (software scaling is slow). -fs option - isn't supported. You can't use 8bpp (or less) modes. +<P><B><A NAME=2.2.1.6>2.2.1.6. Framebuffer output (FBdev)</A></B></P> + +<P>Whether to build the FBdev target is autodetected during ./configure . +Read the framebuffer documentation in the kernel sources +(Documentation/fb/*) for info on how to enable it, etc.. !</P> - NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer, - and don't ask for it, since it's not an <B>MPlayer</B> limitation. +<P>If your card doesn't support VBE 2.0 standard (older ISA/PCI +cards, such as S3 Trio64), only VBE 1.2 (or older?) : +Well, VESAfb is still available, but you'll have to load SciTech Display +Doctor (formerly UniVBE) before booting Linux. Use a DOS boot disk or +whatever. And don't forget to register your UniVBE ;))</P> - - <A NAME=2.2.1.7>2.2.1.7. Matrox framebuffer (mga_vid)</A> +<P>The FBdev output takes some additional parameters above the others:</P> - This section is about the Matrox G200/G400/G450 BES (Back-End Scaler) - 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. - - To use it, you first have to compile mga_vid.o : +<P><TABLE BORDER=0> +<TD> </TD><TD>-fb</TD><TD> </TD><TD> +specify the framebuffer device to use (/dev/fd0)</TD><TR> +<TD></TD><TD>-fbmode</TD><TD></TD><TD>mode name to use (according to /etc/fb.modes)</TD><TR> +<TD></TD><TD>-fbmodeconfig</TD><TD></TD><TD> config file of modes (default /etc/fb.modes)</TD><TR> +<TD></TD><TD>-monitor_hfreq</TD><TD></TD><TD ROWSPAN=3>IMPORTANT values, see example.conf</TD><TR> +<TD></TD><TD>-monitor_vfreq</TD><TD></TD><TR> +<TD></TD><TD>-monitor_dotclock</TD><TD></TD><TR> +</TABLE></P> +<P>If you want to change to a specific mode, then use</P> - cd drivers - make - +<P><CODE> mplayer -vm -fbmode (NameOfMode) filename</CODE></P> - Then create /dev/mga_vid device : - - - mknod /dev/mga_vid c 178 0 - +<P><UL><LI><B>-vm</B> alone will choose the most suitable mode from /etc/fb.modes . Can be +used together with -x and -y options too. The -flip option is supported only +if the movie's pixel format matches the video mode's pixel format. +Pay attention to the bpp value, fbdev driver tries to use the current, +or if you specify the -bpp option, then that. +<LI><B>-zoom</B> option isn't supported (software scaling is slow). -fs option +isn't supported. You can't use 8bpp (or less) modes.</UL></P> - and load the driver with +<P>NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer, +and don't ask for it, since it's not an <B>MPlayer</B> limitation.</P> - - insmod mga_vid.o +<P><B><A NAME=2.2.1.7>2.2.1.7. Matrox framebuffer (mga_vid)</A></B></P> +<P>This section is about the Matrox G200/G400/G450 BES (Back-End Scaler) +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> - You should verify the memory size detection using the 'dmesg' command. If - it's bad, use the mga_ram_size option (rmmod mga_vid first), specify card's - memory size in MB: +<P><CODE> cd drivers<BR> + make</CODE></P> +<P>Then create /dev/mga_vid device:</P> - insmod mga_vid.o mga_ram_size=16 - +<P><CODE> mknod /dev/mga_vid c 178 0</CODE></P> - To make it load/unload automatically when needed, insert the following line - at the end of /etc/modules.conf : +<P>and load the driver with</P> + +<P><CODE> insmod mga_vid.o</CODE></P> - - alias char-major-178 mga_vid +<P>You should verify the memory size detection using the 'dmesg' command. If +it's bad, use the mga_ram_size option (rmmod mga_vid first), specify card's +memory size in MB:</P> - - Then run +<P><CODE> insmod mga_vid.o mga_ram_size=16</CODE></P> +<P>To make it load/unload automatically when needed, insert the following line +at the end of /etc/modules.conf:</P> - depmod -a +<P><CODE> alias char-major-178 mga_vid</CODE></P> +<P>Then run</P> - Now you have to (re)compile <B>MPlayer</B>, ./configure will detect /dev/mga_vid - and build the 'mga' driver. Using it from <B>MPlayer</B> goes by '-vo mga' if - you have matroxfb console, or '-vo xmga' under XFree86 3.x.x or 4.x.x . +<P><CODE> depmod -a</CODE></P> - Note: '-vo xmga' works under XFree86 4.x.x, but it conflicts with the Xv - driver, so avoid using both. If you messed up Xv with mga, try running - <B>MPlayer</B> with '-vo mga' . It should fix Xv. +<P>Now you have to (re)compile <B>MPlayer</B>, ./configure will detect /dev/mga_vid +and build the 'mga' driver. Using it from <B>MPlayer</B> goes by '-vo mga' if +you have matroxfb console, or '-vo xmga' under XFree86 3.x.x or 4.x.x.</P> + +<P>Note: '-vo xmga' works under XFree86 4.x.x, but it conflicts with the Xv +driver, so avoid using both. If you messed up Xv with mga, try running +<B>MPlayer</B> with '-vo mga' . It should fix Xv.</P> - <A NAME=2.2.1.8>2.2.1.8. SiS 6326 framebuffer (sis_vid)</A> +<P><B><A NAME=2.2.1.8>2.2.1.8. SiS 6326 framebuffer (sis_vid)</A></B></P> + +<P>SiS 6326 YUV Framebuffer driver -> sis_vid kernel driver</P> - SiS 6326 YUV Framebuffer driver -> sis_vid kernel driver +<P>Its interface should be compatible with the mga_vid, but the driver was not +updated after the mga_vid changes, so it's outdated now. Volunteers +needed to test it and bring the code up-to-date.</P> - Its interface should be compatible with the mga_vid, but the driver was not - updated after the mga_vid changes, so it's outdated now. Volunteers - needed to test it and bring the code up-to-date. +<P><B><A NAME=2.2.1.9>2.2.1.9. 3dfx YUV support</A></B></P> +<P>3dfx has native YUV+scaler support, using /dev/3dfx (tdfx.o driver?) +The /dev/3dfx kernel driver exists only for 2.2.x kernels, for use with +Glide 2.x Linux ports. It's not tested with <B>MPlayer</B>, and so no more +supported. Volunteers needed to test it and bring the code up-to-date.</P> - <A NAME=2.2.1.9>2.2.1.9. 3dfx YUV support</A> +<P><B><A NAME=2.2.1.10>2.2.1.10. OpenGL output</A></B></P> - 3dfx has native YUV+scaler support, using /dev/3dfx (tdfx.o driver?) - The /dev/3dfx kernel driver exists only for 2.2.x kernels, for use with - Glide 2.x Linux ports. It's not tested with <B>MPlayer</B>, and so no more - supported. Volunteers needed to test it and bring the code up-to-date. - - - <A NAME=2.2.1.10>2.2.1.10. OpenGL output</A> +<P><B>MPlayer</B> support displaying movies using OpenGL. Unfortunately, not all +drivers support this ability. For example the Utah-GLX drivers +(for XFree86 3.3.6) have it, with all cards. +See <A HREF="http://utah-glx.sourceforge.net">http://utah-glx.sourceforge.net</A> +for details about how to install it.</P> - <B>MPlayer</B> support displaying movies using OpenGL. Unfortunately, not all - drivers support this ability. For example the Utah-GLX drivers - (for XFree86 3.3.6) have it, with all cards. - See <A HREF="http://utah-glx.sourceforge.net">http://utah-glx.sourceforge.net</A> for details about how to install it. +<P>XFree86(DRI) >= 4.0.3 supports it only with Matrox, and Radeon cards. +See <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A> for download, +and installation instructions.</P> - XFree86(DRI) >= 4.0.3 supports it only with Matrox, and Radeon cards. - See <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A> for download, and installation instructions. +<P><B><A NAME=2.2.1.11>2.2.1.11. AAlib - text mode displaying</B></P> - - <A NAME=2.2.1.11>2.2.1.11. AAlib - text mode displaying</A> +<P><B>AAlib</B> is a library for displaying graphics in text mode, using powerful +ASCII renderer. There are LOTS of programs already supporting it, like Doom, +Quake, etc. MPlayer contains a very usable driver for it. +If ./configure detects aalib installed, the aalib libvo driver will be built.</P> - <B>AAlib</B> is a library for displaying graphics in text mode, using powerful - ASCII renderer. There are LOTS of programs already supporting it, like Doom, - Quake, etc. MPlayer contains a very usable driver for it. - If ./configure detects aalib installed, the aalib libvo driver will be built. - - You can use some keys in the AA Window to change rendering options: - 1 : decrease contrast - 2 : increase contrast - 3 : decrease brightness - 4 : increase brightness - 5 : switch fast rendering on/off - 6 : set dithering mode (none, error distribution, floyd steinberg) - 7 : invert image - a : toggles between aa and mplayer control) +<P><TABLE BORDER=0> +<TD COLSPAN=4><P><B>You can use some keys in the AA Window to change rendering options:</B></P></TD><TR> +<TD> </TD><TD>1</TD><TD> </TD><TD>decrease contrast</TD><TR> +<TD></TD><TD>2</TD><TD></TD><TD>increase contrast</TD><TR> +<TD></TD><TD>3</TD><TD></TD><TD>decrease brightness</TD><TR> +<TD></TD><TD>4</TD><TD></TD><TD>increase brightness</TD><TR> +<TD></TD><TD>5</TD><TD></TD><TD>switch fast rendering on/off</TD><TR> +<TD></TD><TD>6</TD><TD></TD><TD>set dithering mode (none, error distribution, floyd steinberg)</TD><TR> +<TD></TD><TD>7</TD><TD></TD><TD>invert image</TD><TR> +<TD></TD><TD>a</TD><TD></TD><TD>toggles between aa and mplayer control)</TD><TR> + +<TD COLSPAN=4><P><B>The following command line options can be used:</B></P></TD><TR> - - The following command line options can be used: - -aaosdcolor=V : change osd color - -aasubcolor=V : change subtitle color - where V can be: (0/normal, 1/dark, 2/bold, 3/boldfont, 4/reverse, - 5/special) +<TD></TD><TD>-aaosdcolor=V</TD><TD></TD><TD>change osd color</TD><TR> +<TD></TD><TD>-aasubcolor=V</TD><TD></TD><TD>change subtitle color</TD><TR> +<TD COLSPAN=3></TD><TD><P><I>where V can be: (0/normal, 1/dark, 2/bold, 3/boldfont, 4/reverse, 5/special)</P></TD><TR> - AAlib itselves provides a large sum of options. - Here are some important: - -aadriver : set recommended aa driver (X11, curses, linux) - -aaextended : use all 256 characters - -aaeight : use eight bit ascii - -aahelp : prints out all aalib options - +<TD COLSPAN=4><P><B>AAlib itselves provides a large sum of options. +Here are some important:</P></B></TD><TR> + +<TD></TD><TD>-aadriver</TD><TD></TD><TD>set recommended aa driver (X11, curses, linux)</TD><TR> +<TD></TD><TD>-aaextended</TD><TD></TD><TD>use all 256 characters</TD><TR> +<TD></TD><TD>-aaeight</TD><TD></TD><TD>use eight bit ascii</TD><TR> +<TD></TD><TD>-aahelp</TD><TD></TD><TD>prints out all aalib options</TD><TR> +</TABLE></P> + +<P>NOTE: the rendering is very CPU intensive, especially when using AA-on-X +(using aalib on X), and it's least CPU intensive on standard, +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> - NOTE: the rendering is very CPU intensive, especially when using AA-on-X - (using aalib on X), and it's least CPU intensive on standard, - non-framebuffer console. Use SVGATextMode to set up a big textmode, - then enjoy! (secondary head Hercules cards rock :)) (anyone can enhance - fbdev to do conversion/dithering to hgafb? Would be neat :) - - Use the -framedrop option if your comp isn't fast enough to render all - frames! +<P>Use the -framedrop option if your comp isn't fast enough to render all frames!</P> - Playing on terminal you'll get better speed and quality using the linux - driver, not curses (-aadriver linux). But therefore you need write - access on /dev/vcsa(terminal)! That isn't autodetected by aalib, bu - vo_aa tries to find the best mode. See - http://aa-project.sourceforge.net/tune/ for further tuning issues. +<P>Playing on terminal you'll get better speed and quality using the linux driver, not +curses (-aadriver linux). But therefore you need write access on /dev/vcsa<terminal>! +That isn't autodetected by aalib, bu vo_aa tries to find the best mode. +See http://aa-project.sourceforge.net/tune/ for further tuning issues.</P> - - <A NAME=2.2.1.A>2.2.1.A. TV-out support</A> +<P><B><A NAME=2.2.1.A>2.2.1.A. TV-out support</A></B></P> - - <A NAME=2.2.1.A.1>2.2.1.A.1. Matrox cards</A> +<P><B><A NAME=2.2.1.A.1>2.2.1.A.1. Matrox cards</A></B></P> - <I> What I'd love to see in mplayer is the the same feature that I see in my - windows box. When I start a movie in windows (in a window or in full screen) - the movie is also redirected to the tv-out and I can also see it full screen - on my tv. I love this feature and was wondering how hard it would be to add - such a feature to mplayer.</I> +<P><I> What I'd love to see in mplayer is the the same feature that I see in my +windows box. When I start a movie in windows (in a window or in full screen) +the movie is also redirected to the tv-out and I can also see it full screen +on my tv. I love this feature and was wondering how hard it would be to add +such a feature to mplayer.</I></P> - It's a driver limitation. BES (Back-End Scaler, it's the overlay generator - and YUV scaling engine of G200/G400/G450 cards) works only with CRTC1. - Normally, CRTC1 (textmode, every bpp gfx and BES) is routed to HEAD1, - and CRTC2 (only 16/32bpp gfx) is routed to HEAD2 (TV-out). +<P>It's a driver limitation. BES (Back-End Scaler, it's the overlay generator +and YUV scaling engine of G200/G400/G450 cards) works only with CRTC1. +Normally, CRTC1 (textmode, every bpp gfx and BES) is routed to HEAD1, +and CRTC2 (only 16/32bpp gfx) is routed to HEAD2 (TV-out).</P> - Under linux, you have two choices to get TV-out working: +<P>Under linux, you have two choices to get TV-out working:</P> - 1. Using X 4.0.x + the HAL driver from matrox, so you'll get dual-head - support, and you'll be able to redirect second output to the TV. - Unfortunately it has Macrovision encryption enabled, so it will - only work on directly-connected TV, no through VCR. - Other problem is that Xv doesn't work on the second head. - (I don't know how Windows solve it, maybe it swaps the CRTCs between - the heads, or just uses YUV framebuffer of second DAC with some trick) +<P><UL> +<LI>Using X 4.0.x + the HAL driver from matrox, so you'll get dual-head +support, and you'll be able to redirect second output to the TV. +Unfortunately it has Macrovision encryption enabled, so it will +only work on directly-connected TV, no through VCR. +Other problem is that Xv doesn't work on the second head. +(I don't know how Windows solve it, maybe it swaps the CRTCs between +the heads, or just uses YUV framebuffer of second DAC with some trick) +<LI>Using matroxfb with dual-head support enabled (2.4.x kernels). +You'll be able to get a framebuffer console (using CRTC2, so it's +slow), and TV-out (using CRTC1, with BES support). +You have to forget X while using this kind of TV-out! :( +</UL></P> - 2. Using matroxfb with dual-head support enabled (2.4.x kernels). - You'll be able to get a framebuffer console (using CRTC2, so it's - slow), and TV-out (using CRTC1, with BES support). - You have to forget X while using this kind of TV-out! :( +<P>Follow these instructions:</P> - - Compile all the matrox-related things to modules in the kernel. - (you MUST compile them to modules, at least I couldn't get them - working built-in yet) - [reboot to new kernel & install modules, but don't load them yet!] - - cd TVout - ./compile.sh +<P><UL> +<LI>Compile all the matrox-related things to modules in the kernel. +(you MUST compile them to modules, at least I couldn't get them +working built-in yet) +[reboot to new kernel & install modules, but don't load them yet!] +<P><CODE> + cd TVout<BR> + ./compile.sh</CODE></P> +<LI>Run the 'modules' script from the TV-out directory of mplayer. +It will switch your console to framebuffer. +Change to tty1 (ALT+F1)! +Now run the script 'independent', it will set up your tty's: +<P>tty 1,2: fb console, CRTC2, head 1 (monitor)<BR> +tty 3,4,5...: framebuffer+BES, CRTC1, head 2 (TV-out)</P> +You should run the scripts TV-* and Mon-* to set up resolutions: +<P>change to tty1 (ALT+F1), and run Mon-* (one of them)<BR> +change to tty3 (ALT+F3) and then back to tty1 (ALT+F1)</P> +(this change will select tty3 on /dev/fb1 - tricky)<BR> +<P>run TV-* (one of them)</P> +(now you'll get a console on your PAL TV - don't know about NTSC) +<P>Now if you start mplayer (on tty1), the picture will show up on +the tty3, so you'll see it on your TV or second monitor.</P> +</UL></P> - - Run the 'modules' script from the TV-out directory of mplayer. - It will switch your console to framebuffer. - Change to tty1 (ALT+F1)! - Now run the script 'independent', it will set up your tty's: - tty 1,2: fb console, CRTC2, head 1 (monitor) - tty 3,4,5...: framebuffer+BES, CRTC1, head 2 (TV-out) - You should run the scripts TV-* and Mon-* to set up resolutions: - change to tty1 (ALT+F1), and run Mon-* (one of them) - change to tty3 (ALT+F3) and then back to tty1 (ALT+F1) - (this change will select tty3 on /dev/fb1 - tricky) - run TV-* (one of them) - (now you'll get a console on your PAL TV - don't know about NTSC) +<P>Yes, it is a bit 'hack' now. But I'm waiting for the marvel +project to be finished, it will provide real TV-out drivers, I hope.</P> - Now if you start mplayer (on tty1), the picture will show up on - the tty3, so you'll see it on your TV or second monitor. - - Yes, it is a bit 'hack' now. But I'm waiting for the marvel - project to be finished, it will provide real TV-out drivers, I hope. +<P>My current problem is that BES is working only with CRTC1. So picture +will always shown up on head routed to CRTC1 (normaly the monitor), +so i have to swap CRTC's, but this way your console will framebuffer +(CRTC2 can't do text-mode) and a bit slow (no acceleration). :(</P> - My current problem is that BES is working only with CRTC1. So picture - will always shown up on head routed to CRTC1 (normaly the monitor), - so i have to swap CRTC's, but this way your console will framebuffer - (CRTC2 can't do text-mode) and a bit slow (no acceleration). :( - +<P><I>Anyway i also just get monochrome output on the tv ...</I> +Maybe you have NTSC TV? Or just didn't run one of TV-* scripts.</P> - <I> anyway i also just get monochrome output on the tv ...</I> - Maybe you have NTSC TV? Or just didn't run one of TV-* scripts. - - -</PRE> +<BR> +<HR>MPlayer documentation project </BODY> - </HTML>