2001-08-23 13:31:58 +00:00
|
|
|
|
<!doctype linuxdoc system>
|
|
|
|
|
|
|
|
|
|
<!-- This is a test -->
|
|
|
|
|
|
|
|
|
|
<article>
|
|
|
|
|
|
|
|
|
|
<!-- Title information -->
|
|
|
|
|
|
|
|
|
|
<title>
|
|
|
|
|
MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)
|
|
|
|
|
<url url="http://www.mplayerhq.hu/homepage/">
|
|
|
|
|
</title>
|
|
|
|
|
<author>
|
|
|
|
|
<name>
|
|
|
|
|
oparte na dokumentacji napisanej przez G<>bor B<>rczi (Gabucino)
|
|
|
|
|
<tt/<gabucino@k2.jozsef.kando.hu/>
|
|
|
|
|
<newline></name>
|
|
|
|
|
<and>
|
|
|
|
|
<name>t<>umaczenie i migracja do linuxdoc Dariush Pietrzak<tt/<eyck@ghost.anime.pl/>
|
|
|
|
|
<newline></name>
|
|
|
|
|
</author>
|
2001-08-23 14:11:23 +00:00
|
|
|
|
<date>$Id$</date>
|
2001-08-23 13:31:58 +00:00
|
|
|
|
|
|
|
|
|
<abstract>
|
|
|
|
|
Dokument ten opisuje odgrywarke MPlayer, dokument jest w fazie test<73>w.
|
|
|
|
|
<url url="http://mplayer.dev.hu/">
|
|
|
|
|
</abstract>
|
|
|
|
|
|
|
|
|
|
<!-- Table of contents -->
|
|
|
|
|
<toc>
|
|
|
|
|
|
|
|
|
|
<!-- Begin the document -->
|
|
|
|
|
|
|
|
|
|
<sect>
|
|
|
|
|
<heading>Wprowadzenie</>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>O programie</>
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
<bf>MPlayer</> jest odgrywark<72> film<6C>w. Wy<57>wietla wi<77>kszo<7A><6F> plik<69>w MPEG,
|
|
|
|
|
AVI oraz ASF korzystaj<61>c z wielu w<>asnych oraz Win32 DLL kodek<65>w.
|
|
|
|
|
Mo<EFBFBD>esz r<>wnie<69> ogl<67>da<64> VCD, DVD oraz filmy w DivX. Kolejn<6A> du<64><75> zalet<65>
|
|
|
|
|
mplayera jest szeroki wachlarz sterownik<69>w wyj<79>cia. Mplayer dzia<69>a z X11, Xv,
|
|
|
|
|
DGA, OpenGL, SVGAlib, fbdev, ale mo<6D>esz te<74> korzysta<74> z GGI iSDL ( i w ten spos<6F>b
|
|
|
|
|
z wielu sterownik<69>w dostarczanych przez SDL - na przyk<79>ad AAlib ) oraz z
|
|
|
|
|
niskopoziomowych sterownik<69>w specyficznych dla danej karty (dla Matrox G200/400/450).
|
|
|
|
|
Wi<57>kszo<7A><6F> dost<73>pnych sterownik<69>w udost<73>pnia softwarowe lub hardwarowe skalowania,
|
|
|
|
|
mo<EFBFBD>esz wi<77>c radowa<77> si<73> ogl<67>daniem film w trybie pe<70>noekranowym.
|
|
|
|
|
A co powiesz na du<64>e antyaliasowane podtytu<74>y z cieniem ( 7 supportowanych typ<79>w!!)
|
|
|
|
|
z w<>gierskimi, angielskimi, czeskimi, korea<65>skimi fontami, cyrylic<69> oraz OSD?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Historia</>
|
|
|
|
|
<p>
|
|
|
|
|
Wszystko zacz<63><7A>o si<73> rok temu...(2000)
|
|
|
|
|
Pr<EFBFBD>bowa<EFBFBD>em wielu odgrywarek pod linuxa (mtv,xmps,dvdview,livid/oms,VideoLAN,
|
|
|
|
|
xine,xanim,avifile,xmmp) ale ka<6B>da mia<69>a jaki<6B> feler. G<><47>wnie w przypadku
|
|
|
|
|
szczeg<EFBFBD>lnych plik<69>w lub z synchronizacj<63> audio/video. Wi<57>kszo<7A><6F> z nich nie
|
|
|
|
|
potrafi<EFBFBD>a odgrywa<77> zar<61>wno plik<69>w MPEG1/2 jak i AVI(DivX). Wiele z nich
|
|
|
|
|
mia<EFBFBD>o r<>wnie<69> problemy z jako<6B>ci<63> obrazu oraz pr<70>dkosci<63>.
|
|
|
|
|
Postanowi<EFBFBD>em wi<77>c napisa<73>/zmodyfikowa<77> now<6F>....
|
|
|
|
|
|
|
|
|
|
<itemize>
|
|
|
|
|
|
|
|
|
|
<item>mpg12play v0.1-v0.3:
|
|
|
|
|
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.
|
|
|
|
|
<item>mpg12play v0.5-v0.87:
|
|
|
|
|
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++!!!)
|
|
|
|
|
<item>mpg12play v0.9-v0.95pre5:
|
|
|
|
|
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.
|
|
|
|
|
<item>MPlayer v0.3-v0.9:
|
|
|
|
|
It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
|
|
|
|
|
player 'avip' based on avifile's Win32 DLL loader.
|
|
|
|
|
<item>MPlayer v0.10:
|
|
|
|
|
The MPEG and AVI player in a single binary!
|
|
|
|
|
<item>MPlayer v0.11:
|
|
|
|
|
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.
|
|
|
|
|
<item>MPlayer v0.17 "The IdegCounter"
|
|
|
|
|
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.
|
|
|
|
|
<item>MPlayer 0.18 "The BugCounter"
|
|
|
|
|
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 !
|
|
|
|
|
</itemize>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As you see, I didn't write any codecs, just some players. Instead 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>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Installation</>
|
|
|
|
|
</sect1>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>What about the GUI?</>
|
|
|
|
|
<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>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
</sect>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect>
|
|
|
|
|
<heading>Features </>
|
|
|
|
|
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Obs<62>ugiwane formaty wej<65>cia </>
|
|
|
|
|
<p>
|
|
|
|
|
<itemize>
|
|
|
|
|
<item>VCD (Video CD) bezpo<70>rednio z CD-ROMu lub z obrazu .bin
|
|
|
|
|
<item>DVD, bezpo<70>rednio z Twojej p<>yty DVD, opcjonalnie u<>ywaj<61>c libcss do deszyfrowania
|
|
|
|
|
<item>MPEG 1/2 System Stream (PS/PES/VOB) i Elementary Stream (ES)
|
|
|
|
|
<item>RIFF AVI file format
|
|
|
|
|
<item>ASF 1.0 file format
|
|
|
|
|
<item>obs<62>uguje czytanie z pliku, stdin, DVD oraz sieci przez HTTP
|
|
|
|
|
</itemize>
|
|
|
|
|
Uwaga: o obs<62>udze quicktime (.mov/.qt) oraz realmedia (.ra/.rm) czytaj w FAQ-u!
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Obs<62>ugiwanie kodeki audio i video</>
|
|
|
|
|
<p>
|
|
|
|
|
<tscreen>
|
|
|
|
|
Sprawd<77> <url url="http://mplayer.sourceforge.net/DOCS/codecs.html">
|
|
|
|
|
znajdziesz tam kompletn<74>, codziennie od<6F>wie<69>an<61> list<73>!!!
|
|
|
|
|
</tscreen>
|
|
|
|
|
<itemize>Najwa<77>niejsze kodeki video:
|
|
|
|
|
<item>MPEG1 (VCD) and MPEG2 (DVD) video
|
|
|
|
|
<item>DivX, OpenDivX i inne warianty MPEG4
|
|
|
|
|
<item>Windows Media Video 7 (WMV1) wykorzystywany w plikach .wmv
|
|
|
|
|
<item>Intel Indeo codecs (3.1,3.2,4.1,5.0)
|
|
|
|
|
<item>MJPEG, ASV2 oraz inne formaty sprz<72>towe
|
|
|
|
|
</itemize>
|
|
|
|
|
<itemize>Najwa<77>niejsze kodeki audio:
|
|
|
|
|
<item>MPEG layer 2, and layer 3 (MP3) audio (natywny kod, z optymalizacjami 3dnow)
|
|
|
|
|
<item>AC3 dolby audio (natywny kod, z optymalizacjami 3dnow)
|
|
|
|
|
<item>Voxware audio
|
|
|
|
|
<item>alaw, msgsm, pcm and other simple old audio formats
|
|
|
|
|
</itemize>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Je<EFBFBD>li masz kodeka nie opisanego tutaj, oraz jeszcze nie obs<62>ugiwanego
|
|
|
|
|
przeczytaj <url url="http://mplayer.sourceforge.net/DOCS/codecs.html"> oraz DOCS/CODECS
|
|
|
|
|
by uzyska<6B> informacje jego statusie oraz jak mo<6D>na nam pom<6F>c doda<64> dla
|
|
|
|
|
niego obs<62>ug<75>.
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1>
|
2001-08-23 14:11:23 +00:00
|
|
|
|
<heading>Obs<62>ugiwane wyj<79>cia video </>
|
2001-08-23 13:31:58 +00:00
|
|
|
|
<p>
|
2001-08-23 14:11:23 +00:00
|
|
|
|
|
|
|
|
|
Og<EFBFBD>lne:
|
|
|
|
|
<itemize>
|
|
|
|
|
<item>x11: X11 z opcjonalnym rozszerzeniem SHM
|
|
|
|
|
<item>xv: X11 u<>ywaj<61>ce rozszerzenia XVideo (sprz<72>towe YUV oraz skalowanie)
|
|
|
|
|
<item>gl: renderer OpenGL, jak do tej pory dzia<69>a jedynie z:
|
|
|
|
|
<itemize>
|
|
|
|
|
<item>wszystkie karty z Utah-GLX
|
|
|
|
|
<item>Karty Matroxa z X/DRI >=4.0.3
|
|
|
|
|
<item>Radeon z X/DRI CVS
|
|
|
|
|
</itemize>
|
|
|
|
|
<item>dga: rozszerzenie X11 DGA
|
|
|
|
|
<item>fbdev:Wyj<79>cie na framebuffer
|
|
|
|
|
<item>svga: Wyj<79>cie do SVGAlib
|
|
|
|
|
<item>sdl: 1.1.7 : osb<73>uguje softwarowe skalowanie
|
|
|
|
|
1.1.8 : obs<62>uguje Xvideo (sprz<72>towe skalowanie/fullscreen)
|
|
|
|
|
1.2.0 : obs<62>uguje aalib (tryb textowy!)
|
|
|
|
|
<item>ggi: podobne do SDL
|
|
|
|
|
</itemize>
|
|
|
|
|
Specyficzne dla kart:
|
|
|
|
|
<itemize>
|
|
|
|
|
<item>mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
|
|
|
|
|
<item>xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
|
|
|
|
|
(Xv emulation on X 3.3.x !)
|
|
|
|
|
<item>syncfb: Matrox G400 YUV support on framebuffer (obsoleted, use mga/xmga)
|
|
|
|
|
<item>3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)
|
|
|
|
|
</itemize>
|
|
|
|
|
|
|
|
|
|
Specjalne:
|
|
|
|
|
<itemize>
|
|
|
|
|
<item>png: PNG files output (use -z switch to set compression)
|
|
|
|
|
<item>pgm: PGM files output (for testing purposes or ffmpeg encoding)
|
|
|
|
|
<item>md5: MD5sum output (for MPEG conformance tests)
|
|
|
|
|
<item>odivx:OpenDivX AVI File writer (use -br to set encoding bitrate)
|
|
|
|
|
<item>null: Null output (for speed tests/benchmarking)
|
|
|
|
|
</itemize>
|
|
|
|
|
|
|
|
|
|
UWAGA: sprawd<77> DOCS/VIDEOCARDS po szczeg<65>ly i wymagania!
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Obs<62>ugiwane urz<72>dzenia audio </>
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
<itemize>
|
|
|
|
|
<item>OSS (ioctl) driver
|
|
|
|
|
<item>SDL driver (supports up/downsampling, esd, arts etc)
|
|
|
|
|
<item>native ALSA 0.5 driver
|
|
|
|
|
<item>native ALSA 0.9 driver (buggy, use OSS emulation!)
|
|
|
|
|
<item>native ESD driver (under development?)
|
|
|
|
|
<item>SUN audio driver (/dev/audio) for BSD and Solaris8 users
|
|
|
|
|
</itemize>
|
|
|
|
|
UWAGA: sprawd<77> DOCS/SOUNDCARDS po szczeg<65>ly!
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Pr<50>dko<6B><6F> </>
|
|
|
|
|
<p>
|
|
|
|
|
Wi<EFBFBD>kszo<EFBFBD><EFBFBD> krytycznych cz<63><7A>ci jest optymalizowana dla MMX/MMXext/SSE/3DNow!/3DNow!Ex.
|
|
|
|
|
Mo<EFBFBD>esz poprawi<77> pr<70>dko<6B><6F> rednerowania ustawiaj<61><6A> rejestry MTRR, patrz dokumentacja w MTRR.
|
|
|
|
|
*Stare* benchmarki mo<6D>na znale<6C><65> w pliku DOCS/SPEED
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
</sect>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect>
|
|
|
|
|
<heading> U<>ytkowanie </>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
<verb>
|
|
|
|
|
plik: mplayer [options] [path/]filename
|
|
|
|
|
VCD: mplayer [options] -vcd trackno /dev/cdrom
|
|
|
|
|
DVD: mplayer [options] -dvdauth /dev/dvd filename.VOB
|
|
|
|
|
sie<69>: mplayer [options] http://site.com/file.[mpg|avi]
|
|
|
|
|
</verb>
|
|
|
|
|
</p>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Opcje </>
|
|
|
|
|
<p>
|
|
|
|
|
<verb>
|
|
|
|
|
patrz `mplayer -h' dla opcji
|
|
|
|
|
patrz `mplayer -vo help' by zobaczy<7A> list<73> dost<73>pnych urz<72>dze<7A> video
|
|
|
|
|
patrz `mplayer -ao help' by zobaczy<7A> list<73> dost<73>pnych urz<72>dze<7A> audio
|
|
|
|
|
</verb>
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Klawisze </>
|
|
|
|
|
<p>
|
|
|
|
|
<verb>
|
|
|
|
|
<- lub -> wyszukiwanie wprz<72>d/wstecz o 10 sekund
|
|
|
|
|
up lub down seek backward/forward 1 minute
|
|
|
|
|
p lub SPACE pause movie (press any key to continue)
|
|
|
|
|
q lub ^C stop playing and quit program
|
|
|
|
|
o toggle OSD : none / seek / seek+timer
|
|
|
|
|
/ oraz * decrease/increase volume
|
|
|
|
|
m toggle using master/pcm channel for volume setting
|
|
|
|
|
f toggle fullscreen (only with -vo sdl)
|
|
|
|
|
|
|
|
|
|
</verb>
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading>Przyk<79>ady </>
|
|
|
|
|
<p>
|
|
|
|
|
<tscreen><verb>
|
|
|
|
|
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
|
|
|
|
|
</verb></tscreen>
|
|
|
|
|
|
|
|
|
|
<bf>
|
|
|
|
|
Uwaga: aby u<>y<EFBFBD> urz<72>dzenia YUV Matroxa (-vo mga or xmga), b<>dziesz najpierw musia<69>
|
|
|
|
|
za<7A>adowa<77> sterownik do kernela: patrz DOCS/VIDEOCARDS .
|
|
|
|
|
</bf>
|
|
|
|
|
|
|
|
|
|
|
2001-08-23 13:31:58 +00:00
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
</sect>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect>
|
|
|
|
|
<heading> </>
|
|
|
|
|
<sect1>
|
|
|
|
|
<heading> </>
|
|
|
|
|
<p>
|
|
|
|
|
</p>
|
|
|
|
|
</sect1>
|
|
|
|
|
</sect>
|
|
|
|
|
|
|
|
|
|
|
2001-08-23 14:11:23 +00:00
|
|
|
|
|
|
|
|
|
|
2001-08-23 13:31:58 +00:00
|
|
|
|
</article>
|