2005-05-17 12:35:58 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<!-- Synced with: 1.80 -->
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<chapter id="ports" xreflabel="Ports">
|
|
|
|
|
<title>Porty</title>
|
|
|
|
|
|
|
|
|
|
<sect1 id="linux">
|
|
|
|
|
<title>Linux</title>
|
|
|
|
|
<para>
|
|
|
|
|
Hlavn<EFBFBD> v<>vojovou platformou je Linux na x86, a<>koli
|
|
|
|
|
<application>MPlayer</application> pracuje na mnoha jin<69>ch portech Linuxu.
|
|
|
|
|
Bin<EFBFBD>rn<EFBFBD> bal<61><6C>ky <application>MPlayer</application>u jsou dostupn<70> z n<>kolika
|
|
|
|
|
zdroj<EFBFBD>. Nicm<63>n<EFBFBD> <emphasis role="bold">nen<EFBFBD> <20><>dn<64> z t<>chto bal<61><6C>k<EFBFBD> podporov<6F>n</emphasis>.
|
|
|
|
|
Hlaste tedy probl<62>my jejich autor<6F>m, nikoli n<>m.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="debian">
|
|
|
|
|
<title>Vytvo<EFBFBD>en<EFBFBD> bal<61><6C>ku pro Debian</title>
|
|
|
|
|
<para>
|
|
|
|
|
Pro vytvo<76>en<65> bal<61><6C>ku pro Debian spus<75>te n<>sleduj<75>c<EFBFBD> p<><70>kaz v adres<65><73>i se
|
|
|
|
|
zdrojov<EFBFBD>m k<>dem <application>MPlayer</application>u:
|
|
|
|
|
|
|
|
|
|
<screen>fakeroot debian/rules binary</screen>
|
|
|
|
|
|
|
|
|
|
Pokud chcete p<>edat n<>jak<61> volby pro configure, m<><6D>ete nastavit prom<6F>nnou
|
|
|
|
|
prost<EFBFBD>ed<EFBFBD> <envar>DEB_BUILD_OPTIONS</envar>. Nap<61><70>klad, pokud chcete GUI a
|
|
|
|
|
podporu OSD menu, m<>li byste pou<6F><75>t:
|
|
|
|
|
|
|
|
|
|
<screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen>
|
|
|
|
|
|
|
|
|
|
Rovn<EFBFBD><EFBFBD> m<><6D>ete p<>edat n<>kter<65> prom<6F>nn<6E> do Makefile. Nap<61><70>klad, pokud chcete
|
|
|
|
|
kompilovat pomoc<6F> gcc 3.4 i v p<><70>pad<61>, <20>e to nen<65> v<>choz<6F> kompil<69>tor:
|
|
|
|
|
|
|
|
|
|
<screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen>
|
|
|
|
|
|
|
|
|
|
K vy<76>ist<73>n<EFBFBD> zdrojov<6F>ho stromu spus<75>te n<>sleduj<75>c<EFBFBD> p<><70>kaz:
|
|
|
|
|
|
|
|
|
|
<screen>fakeroot debian/rules clean</screen>
|
|
|
|
|
|
|
|
|
|
Jako root m<><6D>ete nainstalovat <filename>.deb</filename> bal<61><6C>ek obvykl<6B>m
|
|
|
|
|
zp<EFBFBD>sobem:
|
|
|
|
|
|
|
|
|
|
<screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Christian Marillat vytv<74><76>el jistou dobu neofici<63>ln<6C> Debian<61> bal<61><6C>ky
|
|
|
|
|
<application>MPlayer</application>u, <application>MEncoder</application>u a
|
|
|
|
|
na<EFBFBD>ich bitmapov<6F>ch font<6E>, m<><6D>ete si je st<73>hnout (apt-get) z
|
|
|
|
|
<ulink url="http://hpisi.nerim.net/">jeho dom<6F>c<EFBFBD> str<74>nky</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="rpm">
|
|
|
|
|
<title>Balen<EFBFBD> RPM</title>
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Dominik Mierzejewski vytvo<76>il a udr<64>uje ofici<63>ln<6C> RPM bal<61><6C>ky
|
|
|
|
|
<application>MPlayer</application>u pro Red Hat a Fedora Core. Ty jsou dostupn<70>
|
|
|
|
|
z jeho
|
|
|
|
|
<ulink url="http://rpm.greysector.net/mplayer/">repozit<EFBFBD><EFBFBD>e</ulink>.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-09-23 12:55:18 +00:00
|
|
|
|
RPM bal<61><6C>ky pro Mandrake/Mandriva jsou dostupn<70> z
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
|
|
|
|
|
SuSE za<7A>adilo do sv<73> distribuce zmrza<7A>enou verzi
|
|
|
|
|
<application>MPlayer</application>u. V posledn<64>ch verz<72>ch ji odstranili. Funk<6E>n<EFBFBD>
|
|
|
|
|
RPM naleznete na
|
|
|
|
|
<ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="arm">
|
|
|
|
|
<title>ARM</title>
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> pracuje na Linuxov<6F>ch PDA s ARM CPU nap<61>.
|
|
|
|
|
Sharp Zaurus, Compaq Ipaq. Nejjednodu<64><75><EFBFBD> zp<7A>sob jak si opat<61>it
|
|
|
|
|
<application>MPlayer</application> je, st<73>hnout si jej z n<>kter<65>ho
|
|
|
|
|
<ulink url="http://www.openzaurus.org">OpenZaurus</ulink> bal<61><6C>kov<6F>ho kan<61>lu.
|
|
|
|
|
Pokud si jej chcete skompilovat sami, m<>li byste nahl<68>dnout do adres<65><73>e
|
|
|
|
|
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink>
|
|
|
|
|
a
|
|
|
|
|
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink>
|
|
|
|
|
v buildroot OpenZaurus distribuce. Zde maj<61> v<>dy posledn<64> Makefile a patche pou<6F><75>van<61>
|
|
|
|
|
pro sestaven<65> CVS verze <application>MPlayer</application>u s
|
|
|
|
|
<systemitem class="library">libavcodec</systemitem>em.
|
|
|
|
|
Pokud pot<6F>ebujete GUI rozhran<61>, m<><6D>ete pou<6F><75>t xmms-embedded.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="bsd">
|
|
|
|
|
<title>*BSD</title>
|
|
|
|
|
<para>
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<application>MPlayer</application> b<><62><EFBFBD> na v<>ech zn<7A>m<EFBFBD>ch BSD verz<72>ch.
|
|
|
|
|
Existuj<EFBFBD> portovan<61>/pkgsrc/fink/atd verze
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<application>MPlayer</application>u, kter<65> lze pravd<76>podobn<62> snadn<64>ji pou<6F><75>t,
|
|
|
|
|
ne<EFBFBD> na<6E>e surov<6F> zdrojov<6F> k<>dy.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
K sestaven<65> <application>MPlayer</application>u budete pot<6F>ebovat GNU make
|
|
|
|
|
(gmake - nativn<76> BSD make nebude pracovat) a sou<6F>asnou verzi binutils.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud si <application>MPlayer</application> st<73><74>uje, <20>e nem<65><6D>e naj<61>t
|
|
|
|
|
<filename>/dev/cdrom</filename> nebo <filename>/dev/dvd</filename>,
|
|
|
|
|
vytvo<EFBFBD>te p<><70>slu<6C>n<EFBFBD> symbolick<63> link:
|
|
|
|
|
<screen>ln -s /dev/<replaceable>va<EFBFBD>e_cdrom_za<EFBFBD><EFBFBD>zen<EFBFBD></replaceable> /dev/cdrom</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Chcete-li pou<6F><75>vat Win32 DLL v <application>MPlayer</application>u, budete muset
|
|
|
|
|
rekompilovat j<>dro s volbou "<envar>USER_LDT</envar>"
|
|
|
|
|
(pokud nepou<6F><75>v<EFBFBD>te FreeBSD-CURRENT, kde je to v<>choz<6F>).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="freebsd">
|
|
|
|
|
<title>FreeBSD</title>
|
|
|
|
|
<para>
|
|
|
|
|
Pokud v<><76> procesor m<> SSE, rekompilujte j<>dro s volbami
|
|
|
|
|
"<envar>CPU_ENABLE_SSE</envar>" (vy<76>aduje FreeBSD-STABLE nebo patche
|
|
|
|
|
do j<>dra).
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="openbsd">
|
|
|
|
|
<title>OpenBSD</title>
|
|
|
|
|
<para>
|
|
|
|
|
Vzhledem k omezen<65>m v r<>zn<7A>ch verz<72>ch gas (GNU assembleru – pozn. p<>ekl.)
|
|
|
|
|
(relokace vs MMX), budete muset kompilovat ve dvou kroc<6F>ch:
|
|
|
|
|
Nejprve se ujist<73>te <20>e je nenativn<76> as jako prvn<76> ve va<76><61> <envar>$PATH</envar>
|
|
|
|
|
a prove<76>te <command>gmake -k</command>, pak zajist<73>te, aby se pou<6F>ila nativn<76>
|
|
|
|
|
verze a prove<76>te <command>gmake</command>.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Od OpenBSD 3.4 nen<65> ji<6A> v<><76>e uveden<65> metoda pot<6F>eba.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="darwin">
|
|
|
|
|
<title>Darwin</title>
|
|
|
|
|
<para>
|
|
|
|
|
Viz sekce <link linkend="macos">Mac OS</link>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<sect1 id="unix">
|
|
|
|
|
<title>Komer<EFBFBD>n<EFBFBD> Unix</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> byl portov<6F>n na mnoho komer<65>n<EFBFBD>ch variant
|
|
|
|
|
Unixu. Jeliko<6B> v<>vojov<6F> prost<73>ed<65> na t<>chto syst<73>mech b<>vaj<61> odli<6C>n<EFBFBD> od t<>ch
|
|
|
|
|
na svobodn<64>ch Unixech, budete muset prov<6F>st ru<72>n<EFBFBD> <20>pravy, aby se kompilace
|
|
|
|
|
povedla.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="solaris">
|
|
|
|
|
<title>Solaris</title>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> by m<>l b<><62>et na Solarisu 2.6 nebo nov<6F>j<EFBFBD><6A>m.
|
|
|
|
|
Pou<EFBFBD>ijte SUN audio rozhran<61> pomoc<6F> volby <option>-ao sun</option> pro p<>ehr<68>v<EFBFBD>n<EFBFBD>
|
|
|
|
|
zvuku.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Na <emphasis role="bold">UltraSPARC</emphasis><EFBFBD>ch, <application>MPlayer</application>
|
|
|
|
|
vyu<EFBFBD><EFBFBD>v<EFBFBD> jejich roz<6F><7A><EFBFBD>en<65> <emphasis role="bold">VIS</emphasis>
|
|
|
|
|
(ekvivalentn<74> MMX), zat<61>m jen v
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<systemitem class="library">libmpeg2</systemitem>,
|
|
|
|
|
<systemitem class="library">libvo</systemitem>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
a <systemitem class="library">libavcodec</systemitem>, ale nikoli v
|
|
|
|
|
<systemitem class="library">mp3lib</systemitem>. M<><4D>ete p<>ehr<68>vat VOB soubor
|
|
|
|
|
na 400MHz CPU. Budete k tomu pot<6F>ebovat nainstalovanou
|
|
|
|
|
<ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Pro kompilaci bal<61>ku budete pot<6F>ebovat GNU <application>make</application>
|
|
|
|
|
(<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), jeliko<6B>
|
|
|
|
|
nativn<EFBFBD> make Solarisu nebude pracovat. Typickou chybou kompilace s make
|
|
|
|
|
Solarisu nam<61>sto GNU make je:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>
|
|
|
|
|
% /usr/ccs/bin/make
|
|
|
|
|
make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Na Solarisu SPARC, pot<6F>ebujete GNU C/C++ Compiler; nez<65>le<6C><65> na tom, zda je
|
|
|
|
|
GNU C/C++ compiler konfigurov<6F>n s nebo bez GNU assembleru.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Na Solarisu x86, pot<6F>ebujete GNU assembler a GNU C/C++ compiler,
|
|
|
|
|
konfigurovan<EFBFBD> pro pou<6F>it<69> GNU assembleru! K<>d <application>MPlayer</application>u
|
|
|
|
|
na platform<72> x86 intenzivn<76> pou<6F><75>v<EFBFBD> MMX, SSE a 3DNOW! instrukce,
|
|
|
|
|
kter<EFBFBD> nem<65><6D>e b<>t kompilov<6F>ny Sun assemblerem <filename>/usr/ccs/bin/as</filename>.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Skript <filename>configure</filename> zkou<6F><75> zjistit, kter<65> assembler je pou<6F>it<69>
|
|
|
|
|
va<EFBFBD><EFBFBD>m p<><70>kazem "gcc" (v p<><70>pad<61> <20>e autodetekce sel<65>e, pou<6F>ijte volbu
|
|
|
|
|
<option>--as=<replaceable>/kdekoli/m<>te/nainstalov<6F>n/gnu-as</replaceable></option>
|
|
|
|
|
pro nastaven<65> <filename>configure</filename> skriptu tak, aby na<6E>el GNU
|
|
|
|
|
"as" na va<76>em syst<73>mu).
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Chybov<EFBFBD> zpr<70>va z <filename>configure</filename> na syst<73>mu Solaris x86
|
|
|
|
|
s pou<6F>it<69>m GCC bez GNU assembleru:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>
|
|
|
|
|
% configure
|
|
|
|
|
...
|
|
|
|
|
Checking assembler (/usr/ccs/bin/as) ... , failed
|
|
|
|
|
Please upgrade(downgrade) binutils to 2.10.1...
|
|
|
|
|
</screen>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
(<28>e<EFBFBD>en<65>: Nainstalujte a pou<6F>ijte gcc konfigurovan<61> s <option>--with-as=gas</option>)
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Typick<EFBFBD> chyba, kterou dostanete p<>i kompilaci pomoc<6F> GNU C kompil<69>toru, kter<65>
|
|
|
|
|
nepou<EFBFBD><EFBFBD>v<EFBFBD> GNU as:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>
|
|
|
|
|
% 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 ...
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
D<EFBFBD>ky chyb<79>m v Solarisu 8, nem<65><6D>ete p<>ehr<68>vat DVD disky v<>t<EFBFBD><74> ne<6E> 4 GB:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Ovlada<EFBFBD> sd(7D) na Solarisu 8 x86 m<> chybu v p<><70>stupu k diskov<6F>mu bloku >4GB
|
|
|
|
|
na za<7A><61>zen<65>ch, kter<65> maj<61> logical blocksize != DEV_BSIZE (<28>ili CD-ROM a DVD m<>dia).
|
|
|
|
|
D<EFBFBD>ky 32Bit int overflow, dostanete p<><70>stupovou diskovou adresu modulo 4GB
|
2005-05-17 12:35:58 +00:00
|
|
|
|
(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Tento probl<62>m neexistuje ve SPARC verzi Solarisu 8.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Podobn<EFBFBD> chyba je i v k<>du syst<73>mu soubor<6F> hsfs(7FS) (AKA ISO9660),
|
|
|
|
|
hsfs nemus<75> podporovat odd<64>ly/disky v<>t<EFBFBD><74> ne<6E> 4GB, ke v<>em dat<61>m je p<>istupov<6F>no
|
|
|
|
|
modulo 4GB
|
2005-05-17 12:35:58 +00:00
|
|
|
|
(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
|
2005-06-07 06:12:09 +00:00
|
|
|
|
Probl<EFBFBD>m hsfs m<><6D>e b<>t odstran<61>n nainstalov<6F>n<EFBFBD>m patche 109764-04 (sparc) / 109765-04 (x86).
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
2006-01-13 13:10:42 +00:00
|
|
|
|
</sect2>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<sect2 id="irix">
|
|
|
|
|
<title>IRIX</title>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
M<EFBFBD><EFBFBD>ete bu<62> zkusit nainstalovat program GNU install a (pokud jste si ho
|
|
|
|
|
nedali do glob<6F>ln<6C> cesty) odk<64>zat na jeho um<75>st<73>n<EFBFBD> pomoc<6F>:
|
|
|
|
|
<screen>./configure --with-install=<replaceable>/cesta/a/n<>zev/programu/install</replaceable></screen>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
nebo m<><6D>ete pou<6F><75>t v<>choz<6F> install dod<6F>van<61> s IRIXem 6.5. V tom p<><70>pad<61>
|
|
|
|
|
budete muset ru<72>n<EFBFBD> upravit <filename>Makefile</filename>.
|
|
|
|
|
Zm<EFBFBD><EFBFBD>te n<>sleduj<75>c<EFBFBD> dva <20><>dky:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<programlisting>
|
|
|
|
|
$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
|
|
|
|
|
|
|
|
|
|
$(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
|
|
|
|
|
</programlisting>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
na:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<programlisting>
|
|
|
|
|
$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
|
|
|
|
|
|
|
|
|
|
$(INSTALL) -m 644 codecs.conf $(CONFDIR)/
|
|
|
|
|
</programlisting>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Pak spus<75>te (z adres<65><73>e se zdrojov<6F>mi k<>dy <application>MPlayer</application>u):
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
a pokra<72>ujte kompilac<61> a instalac<61>.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
2006-01-13 13:10:42 +00:00
|
|
|
|
</sect2>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<sect2 id="hp-ux">
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<title>HP-UX</title>
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Joe Page hostuje podrobn<62> HP-UX <application>MPlayer</application>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<ulink url="http://users.rcn.com/joepage/mplayer_on_hpux11.htm">HOWTO</ulink>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
od Martina Ganssera na jeho dom<6F>c<EFBFBD> str<74>nce. Podle t<>chto instrukc<6B> by kompilace
|
|
|
|
|
m<EFBFBD>la prob<6F>hnout bez pot<6F><74><EFBFBD>. N<>sleduj<75>c<EFBFBD> informace jsou vyta<74>eny ze zm<7A>n<EFBFBD>n<EFBFBD>ho
|
|
|
|
|
HOWTO.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Pot<EFBFBD>ebujete GCC 3.4.0 nebo pozd<7A>j<EFBFBD><6A>, GNU make 3.80 nebo pozd<7A>j<EFBFBD><6A> a SDL 1.2.7 nebo pozd<7A>j<EFBFBD><6A>.
|
|
|
|
|
HP cc nevytvo<76><6F> funk<6E>n<EFBFBD> program, p<>edchoz<6F> verze GCC jsou chybov<6F>.
|
|
|
|
|
Pro funkci OpenGL mus<75>te nainstalovat Mesa a video rozhran<61> gl a gl2 by m<>ly
|
|
|
|
|
pracovat. Jejich rychlost v<>ak m<><6D>e b<>t velmi mal<61>, podle rychlosti CPU.
|
|
|
|
|
Dobrou n<>hradou za sp<73><70>e slab<61> nativn<76> HP-UX syst<73>m je GNU esound.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Vytvo<EFBFBD>te DVD za<7A><61>zen<65> pr<70>zkumem SCSI pomoc<6F>:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
# ioscan -fn
|
|
|
|
|
|
|
|
|
|
Class I H/W Path Driver S/W State H/W Type Description
|
|
|
|
|
...
|
|
|
|
|
ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
|
|
|
|
|
target 3 8/16/5.2 tgt CLAIMED DEVICE
|
|
|
|
|
disk 4 8/16/5.<emphasis role="bold">2</emphasis>.<emphasis role="bold">0</emphasis> sdisk CLAIMED DEVICE <emphasis role="bold">PIONEER DVD-ROM DVD-305</emphasis>
|
|
|
|
|
/dev/dsk/c1t2d0 <emphasis role="bold">/dev/rdsk/c1t2d0</emphasis>
|
|
|
|
|
target 4 8/16/5.7 tgt CLAIMED DEVICE
|
|
|
|
|
ctl <emphasis role="bold">1</emphasis> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator
|
|
|
|
|
/dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0
|
|
|
|
|
...
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
V<EFBFBD>stup na obrazovce ukazuje Pioneer DVD-ROM na SCSI adrese 2.
|
|
|
|
|
Instance karty pro hardwarovou cestu 8/16 je 1.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Vytvo<EFBFBD>te link ze surov<6F>ho za<7A><61>zen<65> na DVD za<7A><61>zen<65>.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
# ln -s /dev/rdsk/c<replaceable><SCSI bus instance></replaceable>t<replaceable><SCSI target ID></replaceable>d<replaceable><LUN></replaceable> /dev/<replaceable><device></replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
P<EFBFBD><EFBFBD>klad:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
# ln -s /dev/rdsk/c1t2d0 /dev/dvd
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
N<EFBFBD><EFBFBD>e uv<75>d<EFBFBD>me <20>e<EFBFBD>en<65> n<>kter<65>ch b<><62>n<EFBFBD>ch probl<62>m<EFBFBD>:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Spadne p<>i startu s hl<68><6C>en<65>m:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>
|
|
|
|
|
/usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
To znamen<65>, <20>e funkce <systemitem>.finite().</systemitem> nen<65>
|
|
|
|
|
dostupn<EFBFBD> ve standardn<64> HP-UX matematick<63> knihovn<76>.
|
|
|
|
|
M<EFBFBD>sto n<> je zde <systemitem>.isfinite().</systemitem>.
|
|
|
|
|
<EFBFBD>e<EFBFBD>en<EFBFBD>: Pou<6F>ijte posledn<64> Mesa depot soubor.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Spadne p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD> s hl<68><6C>en<65>m:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>
|
|
|
|
|
/usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<EFBFBD>e<EFBFBD>en<EFBFBD>: Pou<6F>ijte volbu extralibdir v configure
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<option>--with-extralibdir="/usr/lib -lrt"</option>
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
MPlayer havaruje (segfault) s hl<68><6C>en<65>m:
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<screen>
|
|
|
|
|
Pid 10166 received a SIGSEGV for stack growth failure.
|
|
|
|
|
Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.
|
|
|
|
|
Segmentation fault
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<EFBFBD>e<EFBFBD>en<EFBFBD>:
|
|
|
|
|
HP-UX kernel m<> v<>choz<6F> velikost z<>sobn<62>ku 8MB(?) na proces.(11.0 a
|
|
|
|
|
nov<EFBFBD>j<EFBFBD><EFBFBD> 10.20 patche v<>m umo<6D>n<EFBFBD> zv<7A><76>it <systemitem>maxssiz</systemitem> a<> na
|
|
|
|
|
350MB pro 32-bit programy). Mus<75>te zv<7A>t<EFBFBD>it <systemitem>maxssiz</systemitem>
|
|
|
|
|
a rekompilovat kernel (a restartovat). Pro tento <20><>el m<><6D>ete pou<6F><75>t SAM. (Kdy<64>
|
|
|
|
|
u<EFBFBD> to budete d<>lat, ov<6F><76>te parametr <systemitem>maxdsiz</systemitem> pro
|
|
|
|
|
maxim<EFBFBD>ln<EFBFBD> mno<6E>stv<74> pam<61>ti, kter<65> m<><6D>e program pou<6F><75>t. Z<>vis<69> na va<76>ich
|
|
|
|
|
aplikac<EFBFBD>ch, jestli je v<>choz<6F>ch 64MB dost nebo ne.)
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="aix">
|
|
|
|
|
<title>AIX</title>
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> lze <20>sp<73><70>n<EFBFBD> p<>elo<6C>it na AIX 5.1,
|
|
|
|
|
5.2 a 5.3, pomoc<6F> GCC 3.3 nebo vy<76><79><EFBFBD>. Kompilace
|
|
|
|
|
<application>MPlayer</application>u na AIX 4.3.3 a n<><6E>s<EFBFBD>ch nebyla
|
|
|
|
|
testov<EFBFBD>na. Velmi doporu<72>ujeme kompilovat
|
|
|
|
|
<application>MPlayer</application> pomoc<6F> GCC 3.4 nebo va<76><61><EFBFBD>,
|
|
|
|
|
nebo pokud kompilujete na
|
|
|
|
|
POWER5, vy<76>aduje se GCC 4.0.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ujist<EFBFBD>te se, <20>e pou<6F><75>v<EFBFBD>te GNU make
|
|
|
|
|
(<filename>/opt/freeware/bin/gmake</filename>) pro sestaven<65>
|
|
|
|
|
<application>MPlayer</application>u, jeliko<6B> p<>i pou<6F>it<69>
|
|
|
|
|
<filename>/usr/ccs/bin/make</filename> budete m<>t probl<62>my.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Detekce procesoru je st<73>le nedokon<6F>ena.
|
|
|
|
|
Testov<EFBFBD>ny byly n<>sleduj<75>c<EFBFBD> architektury:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>604e</para></listitem>
|
|
|
|
|
<listitem><para>POWER4</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>sleduj<EFBFBD>c<EFBFBD> architektury nebyly testov<6F>ny, ale m<>ly by pracovat:
|
|
|
|
|
</para>
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>POWER</para></listitem>
|
|
|
|
|
<listitem><para>POWER2</para></listitem>
|
|
|
|
|
<listitem><para>POWER3</para></listitem>
|
|
|
|
|
<listitem><para>POWER5</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Zvuk p<>es Ultimedia Services nen<65> podporov<6F>n, jeliko<6B> Ultimedia byla
|
|
|
|
|
opu<EFBFBD>t<EFBFBD>na v AIX 5.1; tud<75><64> je jedinou mo<6D>nost<73> pou<6F>it<69> ovlada<64><61> AIX Open
|
|
|
|
|
Sound System (OSS) od 4Front Technologies z <ulink
|
|
|
|
|
url="http://www.opensound.com/aix.html">http://www.opensound.com/aix.html</ulink>.
|
|
|
|
|
4Front Technologies dod<6F>v<EFBFBD> OSS ovlada<64>e zdarma pro osobn<62> a nekomer<65>n<EFBFBD> vyu<79>it<69>.
|
|
|
|
|
</para>
|
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
</sect2>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="windows">
|
|
|
|
|
<title>Windows</title>
|
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<para>Ano, <application>MPlayer</application> b<><62><EFBFBD> na Windows pod
|
|
|
|
|
<ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> a
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>.
|
2006-04-25 13:25:33 +00:00
|
|
|
|
Nem<65> zat<61>m ofici<63>ln<6C> GUI, ale verze pro p<><70>kazov<6F> <20><>dek je pln<6C> funk<6E>n<EFBFBD>.
|
|
|
|
|
M<>li byste nav<61>t<EFBFBD>vit konferenci
|
2005-09-23 12:55:18 +00:00
|
|
|
|
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink>
|
2006-04-25 13:25:33 +00:00
|
|
|
|
pro pomoc a posledn<64> informace.
|
|
|
|
|
Ofici<63>ln<6C> Windows bin<69>rky naleznete na
|
|
|
|
|
<ulink url="http://www.mplayerhq.hu/design7/dload.html">download str<74>nce</ulink>.
|
|
|
|
|
Instal<61>tor a jednoduch<63> GUI frontendy jsou dostupn<70> z extern<72>ch zdroj<6F>.
|
|
|
|
|
Odkazy na n<> jsme um<75>stili v sekci Windows na na<6E><61>
|
|
|
|
|
<ulink url="http://www.mplayerhq.hu/design7/projects.html#windows">str<EFBFBD>nce s
|
|
|
|
|
projekty</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>Pokud se chcete vyhnout pou<6F>it<69> p<><70>kazov<6F> <20><>dky, m<><6D>ete pou<6F><75>t mal<61> trik
|
|
|
|
|
s um<75>st<73>n<EFBFBD>m z<>stupce na pracovn<76> plochu, kter<65> bude obsahovat v sekci
|
|
|
|
|
spu<70>t<EFBFBD>n<EFBFBD> n<>co takov<6F>ho:
|
|
|
|
|
<screen><replaceable>c:\cesta\k\</replaceable>mplayer.exe %1</screen>
|
|
|
|
|
To nech<63> <application>MPlayer</application> p<>ehr<68>t jak<61>koli film, kter<65> je
|
|
|
|
|
p<>eta<74>en na z<>stupce. P<>idejte <option>-fs</option> pro celoobrazovkov<6F>
|
|
|
|
|
re<72>im.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>Nejlep<EFBFBD><EFBFBD>ch v<>sledk<64> dos<6F>hnete pou<6F>it<69>m nativn<76>ho DirectX video rozhran<61>
|
|
|
|
|
(<option>-vo directx</option>). Alternativami jsou OpenGL a SDL, ale v<>kon
|
|
|
|
|
OpenGL se velmi r<>zn<7A> na jednotliv<69>ch syst<73>mech a o SDL je zn<7A>mo, <20>e na
|
|
|
|
|
n<>kter<65>ch syst<73>mech drob<6F> video nebo pad<61>. Pokud je obraz rozsyp<79>n, zkuste
|
|
|
|
|
vypnout hardwarovou akceleraci pomoc<6F>
|
|
|
|
|
<option>-vo directx:noaccel</option>. St<53>hn<68>te si
|
|
|
|
|
<ulink
|
|
|
|
|
url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">hlavi<76>kov<6F>
|
|
|
|
|
soubory DirectX 7</ulink>
|
|
|
|
|
pro kompilaci v<>stupn<70>ho rozhran<61> DirectX. Nav<61>c budete muset m<>t
|
|
|
|
|
nainstalov<6F>ny DirectX 7 nebo vy<76><79><EFBFBD>, aby rozhran<61> pracovalo.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<para><link linkend="vidix">VIDIX</link> nyn<79> pracuje pod Windows jako
|
|
|
|
|
<option>-vo winvidix</option>, a<>koli je st<73>le experiment<6E>ln<6C>
|
|
|
|
|
a vy<76>aduje trochu manu<6E>ln<6C>ho nastavov<6F>n<EFBFBD>. St<53>hn<68>te si
|
|
|
|
|
<ulink
|
|
|
|
|
url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> nebo
|
|
|
|
|
<ulink
|
|
|
|
|
url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (s podporou MTRR)</ulink>
|
|
|
|
|
a zkop<6F>rujte jej do adres<65><73>e
|
|
|
|
|
<filename class="directory">libdha/dhahelperwin</filename> ve sv<73>m strom<6F> se
|
|
|
|
|
zdrojov<6F>mi k<>dy <application>MPlayer</application>u.
|
|
|
|
|
Otev<65>ete konzoli a p<>esu<73>te se do tohoto adres<65><73>e. Pak zadejte
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
|
|
|
|
<screen>gcc -o dhasetup.exe dhasetup.c</screen>
|
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
a spus<75>te
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
|
|
|
|
<screen>dhasetup.exe install</screen>
|
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
jako Administrator. Pak budete muset restartovat. Jakmile budete hotovi,
|
|
|
|
|
zkop<6F>rujte <systemitem class="library">.so</systemitem> soubory z
|
|
|
|
|
<filename class="directory">vidix/drivers</filename> do adres<65><73>e
|
|
|
|
|
<filename class="directory">mplayer/vidix</filename>
|
|
|
|
|
relativn<76>ho k va<76>emu <filename>mplayer.exe</filename>.</para>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<para>Pro nejlep<65><70> v<>sledky by m<>l <application>MPlayer</application> pou<6F><75>vat
|
|
|
|
|
barevn<76> prostor, kter<65> podporuje va<76>e video karta v hardware. Nane<6E>t<EFBFBD>st<73>
|
|
|
|
|
n<>kter<65> Windows ovlada<64>e grafick<63>ch karet <20>patn<74> hl<68>s<EFBFBD> n<>kter<65> barevn<76>
|
|
|
|
|
prostory jako podporovan<61> v hardware. Chcete-li zjistit kter<65>, zkuste
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>barevny_prostor</replaceable> <replaceable>film</replaceable></screen>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
2006-04-25 13:25:33 +00:00
|
|
|
|
kde <replaceable>barevny_prostor</replaceable> m<><6D>e b<>t barevn<76> prostor
|
|
|
|
|
vypsan<61> volbou <option>-vf format=fmt=help</option>. Pokud najdete
|
|
|
|
|
barevn<76> prostor, kter<65> va<76>e karta zvl<76>d<EFBFBD> zjevn<76> <20>patn<74>,
|
|
|
|
|
<option>-vf noformat=<replaceable>barevny_prostor</replaceable></option>
|
|
|
|
|
zak<61><6B>e jeho pou<6F>it<69>. P<>idejte si to do va<76>eho konfig souboru, aby z<>stal
|
|
|
|
|
zak<61>z<EFBFBD>n natrvalo.</para>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
|
|
|
|
|
<para>There are special codec packages for Windows available on our
|
2006-03-01 10:01:43 +00:00
|
|
|
|
<ulink url="http://www.mplayerhq.hu/design7/codecs.html">codecs page</ulink>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
to allow playing formats for which there is no native support yet.
|
|
|
|
|
Put the codecs somewhere in your path or pass
|
|
|
|
|
<option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option>
|
|
|
|
|
(alternatively
|
|
|
|
|
<option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option>
|
|
|
|
|
only on <application>Cygwin</application>) to <filename>configure</filename>.
|
|
|
|
|
We have had some reports that Real DLLs need to be writable by the user
|
|
|
|
|
running <application>MPlayer</application>, but only on some systems (NT4).
|
|
|
|
|
Try making them writable if you have problems.</para>
|
|
|
|
|
|
|
|
|
|
<para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
|
|
|
|
|
that Windows exposes on VCDs. It works like this (adjust for the drive letter
|
|
|
|
|
of your CD-ROM):</para>
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
|
|
|
|
|
|
|
|
|
|
<para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
|
|
|
|
|
of your DVD-ROM:</para>
|
|
|
|
|
|
|
|
|
|
<screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
|
|
|
|
|
|
|
|
|
|
<para>The <application>Cygwin</application>/<application>MinGW</application>
|
|
|
|
|
console is rather slow. Redirecting output or using the
|
|
|
|
|
<option>-quiet</option> option has been reported to improve performance on
|
|
|
|
|
some systems. Direct rendering (<option>-dr</option>) may also help.
|
2006-01-13 13:10:42 +00:00
|
|
|
|
If playback is jerky, try
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<option>-autosync 100</option>. If some of these options help you, you
|
|
|
|
|
may want to put them in your config file.</para>
|
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<note>
|
|
|
|
|
|
|
|
|
|
<para>On Windows the runtime CPU detection disables SSE support
|
|
|
|
|
because of recurring and hard-to-trace SSE-related crashes. If you
|
|
|
|
|
wish to have SSE support under Windows, you will have to compile without
|
|
|
|
|
runtime CPU-detection.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>If you have a Pentium 4 and are experiencing a crash using the
|
|
|
|
|
RealPlayer codecs, you may need to disable hyperthreading support.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
|
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<sect2 id="cygwin">
|
|
|
|
|
<title><application>Cygwin</application></title>
|
|
|
|
|
|
|
|
|
|
<para>You need to run <application>Cygwin</application> 1.5.0 or later in
|
|
|
|
|
order to compile <application>MPlayer</application>.</para>
|
|
|
|
|
|
|
|
|
|
<para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
|
|
|
|
|
<filename class="directory">/usr/local/include/</filename>.</para>
|
|
|
|
|
|
|
|
|
|
<para>Instructions and files for making SDL run under
|
|
|
|
|
<application>Cygwin</application> can be found on the
|
|
|
|
|
<ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="mingw">
|
|
|
|
|
<title><application>MinGW</application></title>
|
|
|
|
|
|
|
|
|
|
<para>Installing a version of <application>MinGW</application> that could
|
|
|
|
|
compile <application>MPlayer</application> used to be quite tricky, but it
|
|
|
|
|
works out of the box now. Just install <application>MinGW</application>
|
|
|
|
|
3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that
|
|
|
|
|
<application>MinGW</application> is installed.</para>
|
|
|
|
|
|
|
|
|
|
<para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
|
|
|
|
|
|
|
|
|
|
<para>MOV compressed header support requires
|
|
|
|
|
<ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which
|
|
|
|
|
<application>MinGW</application> does not provide by default.
|
|
|
|
|
Configure it with <option>--prefix=/mingw</option> and install
|
|
|
|
|
it before compiling <application>MPlayer</application>.</para>
|
|
|
|
|
|
2005-09-23 12:55:18 +00:00
|
|
|
|
<para>Complete instructions for building <application>MPlayer</application>
|
|
|
|
|
and necessary libraries can be found in the
|
|
|
|
|
<ulink url="http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>.</para>
|
|
|
|
|
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="macos">
|
|
|
|
|
<title>Mac OS</title>
|
|
|
|
|
<para>
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<application>MPlayer</application> does not work on Mac OS versions before
|
|
|
|
|
10, but should compile out-of-the-box on Mac OS X 10.2 and up.
|
|
|
|
|
The preferred compiler is the Apple version of
|
2005-09-23 12:55:18 +00:00
|
|
|
|
GCC 3.x or later. If you have Mac OS X 10.3.9 or later and QuickTime 7
|
|
|
|
|
you can use the macosx video output driver.
|
|
|
|
|
</para>
|
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<sect2 id="osx_gui">
|
|
|
|
|
<title>MPlayer OS X GUI</title>
|
2005-09-23 12:55:18 +00:00
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
You can get a native GUI for <application>MPlayer</application> together with
|
|
|
|
|
precompiled <application>MPlayer</application> binaries for Mac OS X from the
|
|
|
|
|
<ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project, but be
|
|
|
|
|
warned: that project is not active anymore.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Fortunately, <application>MPlayerOSX</application> has been taken over
|
|
|
|
|
by a member of the <application>MPlayer</application> team.
|
|
|
|
|
Preview releases are available from our
|
|
|
|
|
<ulink url="http://mplayerhq.hu/dload.html">download page</ulink>
|
|
|
|
|
and an official release should arrive soon.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
In order to build <application>MPlayerOSX</application> from source
|
|
|
|
|
yourself, you need the <systemitem>mplayerosx</systemitem>, the
|
|
|
|
|
<systemitem>main</systemitem> and a copy of the
|
|
|
|
|
<systemitem>main</systemitem> CVS module named
|
|
|
|
|
<systemitem>main_noaltivec</systemitem>.
|
|
|
|
|
<systemitem>mplayerosx</systemitem> is the GUI frontend,
|
|
|
|
|
<systemitem>main</systemitem> is MPlayer and
|
|
|
|
|
<systemitem>main_noaltivec</systemitem> is MPlayer built without AltiVec
|
|
|
|
|
support.
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-09-23 12:55:18 +00:00
|
|
|
|
To check out CVS modules use:
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
|
|
|
|
|
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P mplayerosx
|
|
|
|
|
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
|
|
|
|
|
</screen>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2005-09-23 12:55:18 +00:00
|
|
|
|
In order to build <application>MPlayerOSX</application> you will need to
|
|
|
|
|
set up something like this:
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
MPlayer_source_directory
|
|
|
|
|
|
|
|
|
|
|
|--->main (MPlayer CVS source)
|
|
|
|
|
|
|
|
|
|
|
|--->main_noaltivec (MPlayer CVS source configured with --disable-altivec)
|
|
|
|
|
|
|
|
|
|
|
|--->mplayerosx (MPlayer OS X CVS source)
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
You first need to build main and main_noaltivec.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Next, set a global variable:
|
|
|
|
|
|
|
|
|
|
<screen>export MACOSX_DEPLOYMENT_TARGET=10.3</screen>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</para>
|
2005-09-23 12:55:18 +00:00
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Then, configure:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
If you configure for a G4 or later CPU with AltiVec support, do as follows:
|
|
|
|
|
<screen>
|
|
|
|
|
./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
|
|
|
|
|
</screen>
|
|
|
|
|
If you configure for a G3-powered machine without AltiVec, use:
|
|
|
|
|
<screen>
|
|
|
|
|
./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
|
|
|
|
|
--disable-altivec
|
|
|
|
|
</screen>
|
|
|
|
|
You may need to edit <filename>config.mak</filename> and change
|
|
|
|
|
<systemitem>-mcpu</systemitem> and <systemitem>-mtune</systemitem>
|
|
|
|
|
from <systemitem>74XX</systemitem> to <systemitem>G3</systemitem>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Continue with
|
|
|
|
|
<screen>
|
|
|
|
|
make
|
|
|
|
|
</screen>
|
|
|
|
|
then go to the mplayerosx directory and type
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
make dist
|
|
|
|
|
</screen>
|
|
|
|
|
This will create a compressed <systemitem>.dmg</systemitem> archive
|
|
|
|
|
with the ready to use binary.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
You can also use the <application>Xcode</application> 2.1 project;
|
|
|
|
|
the old project for <application>Xcode</application> 1.x does
|
|
|
|
|
not work anymore.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
2006-01-13 13:10:42 +00:00
|
|
|
|
<sect1 id="exotic_platforms">
|
|
|
|
|
<title>Exotic Platforms</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> runs on a number of exotic platforms,
|
|
|
|
|
but most of the platform-specific changes from those systems have not been
|
|
|
|
|
merged back into the main source tree.
|
|
|
|
|
For build instructions you should refer to the system-specific documentation.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="qnx">
|
|
|
|
|
<title>QNX</title>
|
|
|
|
|
<para>
|
|
|
|
|
You'll need to download and install SDL for QNX. Then run
|
2006-04-25 13:25:33 +00:00
|
|
|
|
<application>MPlayer</application> with <option>-vo sdl:driver=photon</option>
|
2006-01-13 13:10:42 +00:00
|
|
|
|
and <option>-ao sdl:nto</option> options, it should be fast.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
The <option>-vo x11</option> output will be even slower than on Linux,
|
|
|
|
|
since QNX has only X <emphasis>emulation</emphasis> which is very slow.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="amiga">
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<title>Amiga/MorphOS (GeekGadgets)</title>
|
2005-09-23 12:55:18 +00:00
|
|
|
|
<para>
|
|
|
|
|
The people over at <ulink url="www.amigasoft.net">www.amigasoft.net</ulink>
|
|
|
|
|
make current <application>MPlayer</application> and
|
|
|
|
|
<application>MEncoder</application> packages.
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-05-17 12:35:58 +00:00
|
|
|
|
<para>
|
|
|
|
|
Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer
|
|
|
|
|
</application> for MorphOS. Sadly it's based on the 0.90 series.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
|
|
|
|
|
<application>MPlayer</application> 0.91 binary</ulink>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
|
|
|
|
|
<application>MPlayer</application> 0.91 source</ulink>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
|
|
|
|
|
<application>MEncoder</application> 1.0pre3 binary</ulink>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
2006-01-13 13:10:42 +00:00
|
|
|
|
</sect2>
|
2005-05-17 12:35:58 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
</chapter>
|