annotate DOCS/xml/cs/ports.xml @ 16425:7ca9d8c0ae47

Do not define NO_FREE, it causes a giant memleak with -loop 0 and a short file. If this causes problems these should be fixed instead of using this hack.
author reimar
date Wed, 07 Sep 2005 00:19:04 +0000
parents 555af2796848
children 78a6e833472f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-2"?>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
2 <!-- Synced with: 1.60 -->
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
3 <chapter id="ports" xreflabel="Ports">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
4 <title>Porty</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
5
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
6 <sect1 id="linux">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
7 <title>Linux</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
8 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
9 Hlavní vývojovou platformou je Linux na x86, ačkoli
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
10 <application>MPlayer</application> pracuje na mnoha jiných portech Linuxu.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
11 Binární balíčky <application>MPlayer</application>u jsou dostupné z několika
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
12 zdrojů. Nicméně <emphasis role="bold">není žádný z těchto balíčků podporován</emphasis>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
13 Hlaste tedy problémy jejich autorům, nikoli nám.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
14 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
15
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
16 <sect2 id="debian">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
17 <title>Vytvoření balíčku pro Debian</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
18 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
19 Pro vytvoření balíčku pro Debian spusťte následující příkaz v adresáři se
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
20 zdrojovým kódem <application>MPlayer</application>u:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
21
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
22 <screen>fakeroot debian/rules binary</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
23
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
24 Pokud chcete předat nějaké volby pro configure, můžete nastavit proměnnou
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
25 prostředí <envar>DEB_BUILD_OPTIONS</envar>. Například, pokud chcete GUI a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
26 podporu OSD menu, měli byste použít:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
27
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
28 <screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
29
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
30 Rovněž můžete předat některé proměnné do Makefile. Například, pokud chcete
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
31 kompilovat pomocí gcc 3.4 i v případě, že to není výchozí kompilátor:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
32
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
33 <screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
34
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
35 K vyčistění zdrojového stromu spusťte následující příkaz:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
36
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
37 <screen>fakeroot debian/rules clean</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
38
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
39 Jako root můžete nainstalovat <filename>.deb</filename> balíček obvyklým
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
40 způsobem:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
41
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
42 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
43 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
44
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
45 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
46 Christian Marillat vytvářel jistou dobu neoficiální Debianí balíčky
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
47 <application>MPlayer</application>u, <application>MEncoder</application>u a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
48 našich bitmapových fontů, můžete si je stáhnout (apt-get) z
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
49 <ulink url="http://hpisi.nerim.net/">jeho domácí stránky</ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
50 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
51 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
52
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
53 <sect2 id="rpm">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
54 <title>Balení RPM</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
55 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
56 Dominik Mierzejewski vytvořil a udržuje oficiální RPM balíčky
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
57 <application>MPlayer</application>u pro Red Hat a Fedora Core. Ty jsou dostupné
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
58 z jeho
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
59 <ulink url="http://rpm.greysector.net/mplayer/">repozitáře</ulink>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
60 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
61
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
62 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
63 RPM balíčky pro Mandrake jsou dostupné z
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
64 <ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
65 SuSE zařadilo do své distribuce zmrzačenou verzi
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
66 <application>MPlayer</application>u. V posledních verzích ji odstranili. Funkční
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
67 RPM naleznete na
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
68 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
69 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
70 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
71
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
72 <sect2 id="arm">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
73 <title>ARM</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
74 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
75 <application>MPlayer</application> pracuje na Linuxových PDA s ARM CPU např.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
76 Sharp Zaurus, Compaq Ipaq. Nejjednodušší způsob jak si opatřit
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
77 <application>MPlayer</application> je, stáhnout si jej z některého
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
78 <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> balíčkového kanálu.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
79 Pokud si jej chcete skompilovat sami, měli byste nahlédnout do adresáře
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
80 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
81 a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
82 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
83 v buildroot OpenZaurus distribuce. Zde mají vždy poslední Makefile a patche používané
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
84 pro sestavení CVS verze <application>MPlayer</application>u s
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
85 <systemitem class="library">libavcodec</systemitem>em.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
86 Pokud potřebujete GUI rozhraní, můžete použít xmms-embedded.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
87 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
88 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
89 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
90
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
91 <sect1 id="bsd">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
92 <title>*BSD</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
93 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
94 <application>MPlayer</application> běží na FreeBSD, OpenBSD, NetBSD,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
95 BSD/OS a Darwinu. Existují portované/pkgsrc/fink/atd verze
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
96 <application>MPlayer</application>u, které lze pravděpodobně snadněji použít,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
97 než naše surové zdrojové kódy.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
98 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
99
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
100 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
101 K sestavení <application>MPlayer</application>u budete potřebovat GNU make
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
102 (gmake - nativní BSD make nebude pracovat) a současnou verzi binutils.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
103 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
104
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
105 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
106 Pokud si <application>MPlayer</application> stěžuje, že nemůže najít
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
107 <filename>/dev/cdrom</filename> nebo <filename>/dev/dvd</filename>,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
108 vytvořte příslušný symbolický link:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
109 <screen>ln -s /dev/<replaceable>vaše_cdrom_zařízení</replaceable> /dev/cdrom</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
110 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
111
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
112 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
113 Chcete-li používat Win32 DLL v <application>MPlayer</application>u, budete muset
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
114 rekompilovat jádro s volbou &quot;<envar>USER_LDT</envar>&quot;
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
115 (pokud nepoužíváte FreeBSD-CURRENT, kde je to výchozí).
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
116 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
117
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
118
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
119 <sect2 id="freebsd">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
120 <title>FreeBSD</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
121 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
122 Pokud váš procesor má SSE, rekompilujte jádro s volbami
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
123 &quot;<envar>CPU_ENABLE_SSE</envar>&quot; (vyžaduje FreeBSD-STABLE nebo patche
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
124 do jádra).
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
125 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
126 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
127
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
128 <sect2 id="openbsd">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
129 <title>OpenBSD</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
130 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
131 Vzhledem k omezením v různých verzích gas (GNU assembleru &ndash; pozn. překl.)
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
132 (relokace vs MMX), budete muset kompilovat ve dvou krocích:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
133 Nejprve se ujistěte že je nenativní as jako první ve vaší <envar>$PATH</envar>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
134 a proveďte <command>gmake -k</command>, pak zajistěte, aby se použila nativní
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
135 verze a proveďte <command>gmake</command>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
136 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
137 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
138 Od OpenBSD 3.4 není již výše uvedená metoda potřeba.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
139 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
140 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
141
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
142 <sect2 id="darwin">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
143 <title>Darwin</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
144 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
145 Viz sekce <link linkend="macos">Mac OS</link>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
146 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
147 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
148 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
149
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
150 <sect1 id="solaris">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
151 <title>Sun Solaris</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
152 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
153 <application>MPlayer</application> by měl běžet na Solarisu 2.6 nebo novějším.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
154 Použijte SUN audio rozhraní pomocí volby <option>-ao sun</option> pro přehrávání
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
155 zvuku.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
156 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
157
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
158 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
159 Na <emphasis role="bold">UltraSPARC</emphasis>ích, <application>MPlayer</application>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
160 využívá jejich rozšíření <emphasis role="bold">VIS</emphasis>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
161 (ekvivalentní MMX), zatím jen v
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
162 <systemitem class="library">libmpeg2</systemitem>,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
163 <systemitem class="library">libvo</systemitem>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
164 a <systemitem class="library">libavcodec</systemitem>, ale nikoli v
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
165 <systemitem class="library">mp3lib</systemitem>. Můžete přehrávat VOB soubor
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
166 na 400MHz CPU. Budete k tomu potřebovat nainstalovanou
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
167 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
168 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
169
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
170 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
171 Pro kompilaci balíku budete potřebovat GNU <application>make</application>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
172 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), jelikož
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
173 nativní make Solarisu nebude pracovat. Typickou chybou kompilace s make
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
174 Solarisu namísto GNU make je:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
175 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
176 % /usr/ccs/bin/make
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
177 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
178 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
179 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
180
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
181 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
182 Na Solarisu SPARC, potřebujete GNU C/C++ Compiler; nezáleží na tom, zda je
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
183 GNU C/C++ compiler konfigurován s nebo bez GNU assembleru.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
184 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
185
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
186 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
187 Na Solarisu x86, potřebujete GNU assembler a GNU C/C++ compiler,
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
188 konfigurovaný pro použití GNU assembleru! Kód <application>MPlayer</application>u
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
189 na platformě x86 intenzivně používá MMX, SSE a 3DNOW! instrukce,
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
190 které nemůže být kompilovány Sun assemblerem <filename>/usr/ccs/bin/as</filename>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
191 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
192
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
193 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
194 Skript <filename>configure</filename> zkouší zjistit, který assembler je použitý
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
195 vaším příkazem &quot;gcc&quot; (v případě že autodetekce selže, použijte volbu
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
196 <option>--as=<replaceable>/kdekoli/máte/nainstalován/gnu-as</replaceable></option>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
197 pro nastavení <filename>configure</filename> skriptu tak, aby našel GNU
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
198 "as" na vašem systému).
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
199 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
200
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
201 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
202 Chybová zpráva z <filename>configure</filename> na systému Solaris x86
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
203 s použitím GCC bez GNU assembleru:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
204 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
205 % configure
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
206 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
207 Checking assembler (/usr/ccs/bin/as) ... , failed
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
208 Please upgrade(downgrade) binutils to 2.10.1...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
209 </screen>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
210 (Řešení: Nainstalujte a použijte gcc konfigurovaný s <option>--with-as=gas</option>)
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
211 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
212
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
213 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
214 Typická chyba, kterou dostanete při kompilaci pomocí GNU C kompilátoru, který
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
215 nepoužívá GNU as:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
216 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
217 % gmake
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
218 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
219 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
220 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
221 Assembler: mplayer.c
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
222 "(stdin)", line 3567 : Illegal mnemonic
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
223 "(stdin)", line 3567 : Syntax error
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
224 ... more "Illegal mnemonic" and "Syntax error" errors ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
225 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
226 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
227
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
228 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
229 Díky chybám v Solarisu 8, nemůžete přehrávat DVD disky větší než 4 GB:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
230 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
231
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
232 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
233 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
234 Ovladač sd(7D) na Solarisu 8 x86 má chybu v přístupu k diskovému bloku >4GB
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
235 na zařízeních, které mají logical blocksize != DEV_BSIZE (čili CD-ROM a DVD média).
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
236 Díky 32Bit int overflow, dostanete přístupovou diskovou adresu modulo 4GB
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
237 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
238 Tento problém neexistuje ve SPARC verzi Solarisu 8.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
239 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
240
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
241 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
242 Podobná chyba je i v kódu systému souborů hsfs(7FS) (AKA ISO9660),
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
243 hsfs nemusí podporovat oddíly/disky větší než 4GB, ke všem datům je přistupováno
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
244 modulo 4GB
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
245 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
246 Problém hsfs může být odstraněn nainstalováním patche 109764-04 (sparc) / 109765-04 (x86).
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
247 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
248 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
249 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
250
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
251 <sect1 id="irix">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
252 <title>Silicon Graphics Irix</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
253 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
254 You can either try to install the GNU install program, and (if you did
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
255 not put it in your global path) then point to the location with:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
256 <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
257 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
258
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
259 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
260 Or you can use the default install delivered with IRIX 6.5 in which case
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
261 you will have to edit the <filename>Makefile</filename> by hand a little bit.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
262 Change the following two lines:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
263 <programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
264 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
265
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
266 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
267 </programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
268 to:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
269 <programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
270 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
271
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
272 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
273 </programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
274 And then do (from within the <application>MPlayer</application> source dir):
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
275 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
276 and then go on with building and installing.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
277 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
278 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
279
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
280
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
281 <sect1 id="hp-ux">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
282 <title>HP-UX</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
283 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
284 Joe Page hosts a detailed HP-UX <application>MPlayer</application>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
285 <ulink url="http://users.rcn.com/joepage/mplayer_on_hpux11.htm">HOWTO</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
286 by Martin Gansser on his homepage. With these instructions the build should
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
287 work out of the box. The following information is taken from this HOWTO.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
288 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
289
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
290 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
291 You need GCC 3.4.0 or later, GNU make 3.80 or later and SDL 1.2.7 or later.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
292 HP cc will not produce a working program, prior GCC versions are buggy.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
293 For OpenGL functionality you need to install Mesa and the gl and gl2 video
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
294 output drivers should work, speed may be very bad, depending on the CPU speed,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
295 though. A good replacement for the rather poor native HP-UX sound system is
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
296 GNU esound.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
297 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
298
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
299 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
300 Create the DVD device
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
301 scan the SCSI bus with:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
302 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
303
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
304 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
305 # ioscan -fn
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
306
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
307 Class I H/W Path Driver S/W State H/W Type Description
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
308 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
309 ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
310 target 3 8/16/5.2 tgt CLAIMED DEVICE
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
311 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>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
312 /dev/dsk/c1t2d0 <emphasis role="bold">/dev/rdsk/c1t2d0</emphasis>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
313 target 4 8/16/5.7 tgt CLAIMED DEVICE
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
314 ctl <emphasis role="bold">1</emphasis> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
315 /dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
316 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
317 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
318
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
319 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
320 The screen output shows a Pioneer DVD-ROM at SCSI address 2.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
321 The card instance for hardware path 8/16 is 1.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
322 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
323
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
324 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
325 Create a link from the raw device to the DVD device.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
326 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
327
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
328 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
329 # ln -s /dev/rdsk/c<replaceable>&lt;SCSI bus instance&gt;</replaceable>t<replaceable>&lt;SCSI target ID&gt;</replaceable>d<replaceable>&lt;LUN&gt;</replaceable> /dev/<replaceable>&lt;device&gt;</replaceable>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
330 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
331
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
332 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
333 Example:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
334 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
335
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
336 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
337 # ln -s /dev/rdsk/c1t2d0 /dev/dvd
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
338 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
339
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
340 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
341 Below are solutions for some common problems:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
342 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
343
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
344 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
345 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
346 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
347 Crash at Start with the following error message:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
348 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
349 /usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
350 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
351 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
352
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
353 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
354 This means that the function <systemitem>.finite().</systemitem> is not
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
355 available in the standard HP-UX math library.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
356 Instead there is <systemitem>.isfinite().</systemitem>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
357 Solution: Use the latest Mesa depot file.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
358 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
359 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
360
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
361 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
362 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
363 Crash at playback with the following error message:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
364 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
365 /usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
366 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
367 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
368
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
369 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
370 Solution: Use the extralibdir option of configure
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
371 <option>--with-extralibdir="/usr/lib -lrt"</option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
372 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
373 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
374
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
375 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
376 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
377 MPlayer segfaults with a message like this:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
378 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
379 Pid 10166 received a SIGSEGV for stack growth failure.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
380 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
381 Segmentation fault
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
382 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
383 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
384
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
385 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
386 Solution:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
387 The HP-UX kernel has a default stack size of 8MB(?) per process.(11.0 and
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
388 newer 10.20 patches let you increase <systemitem>maxssiz</systemitem> up to
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
389 350MB for 32-bit programs). You need to extend <systemitem>maxssiz</systemitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
390 and recompile the kernel (and reboot). You can use SAM to do this. (While at
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
391 it, check out the <systemitem>maxdsiz</systemitem> parameter for the maximum
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
392 amount of data a program can use. It depends on your applications, if the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
393 default of 64MB is enough or not.)
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
394 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
395 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
396 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
397
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
398 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
399
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
400
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
401 <sect1 id="qnx">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
402 <title>QNX</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
403 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
404 Works. You'll need to download SDL for QNX, and install it. Then run
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
405 <application>MPlayer</application> with <option>-vo sdl:photon</option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
406 and <option>-ao sdl:nto</option> options, and it should be fast.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
407 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
408
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
409 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
410 The <option>-vo x11</option> output will be even slower than on Linux,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
411 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
412 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
413 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
414
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
415 <sect1 id="windows">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
416 <title>Windows</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
417
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
418 <para>Yes, <application>MPlayer</application> runs on Windows under
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
419 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
420 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
421 It does not have a GUI yet, but the command line version is almost completely
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
422 functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
423 You should check out the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
424 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
425 mailing list for help and latest information.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
426
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
427 <para>Best results are achieved with the native DirectX video output driver
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
428 (<option>-vo directx</option>) and the native Windows waveout audio driver
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
429 (<option>-ao win32</option>). Alternatives are OpenGL and SDL, but OpenGL
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
430 performance varies greatly between systems and SDL is known to
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
431 distort sound and video or crash on some systems. If the image is
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
432 distorted, try turning off hardware acceleration with
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
433 <option>-vo directx:noaccel</option>. Download
15687
555af2796848 URL updates
diego
parents: 15677
diff changeset
434 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">DirectX 7 header files</ulink>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
435 to compile the DirectX video output driver. Furthermore you need to have
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
436 DirectX 7 or later installed for the DirectX video output driver to work.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
437 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
438
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
439 <para><link linkend="vidix">VIDIX</link> now works under Windows as
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
440 <option>-vo winvidix</option>, although it is still experimental
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
441 and needs a bit of manual setup. Download
15687
555af2796848 URL updates
diego
parents: 15677
diff changeset
442 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> or
555af2796848 URL updates
diego
parents: 15677
diff changeset
443 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (with MTRR support)</ulink>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
444 and copy it to the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
445 <filename class="directory">libdha/dhahelperwin</filename> directory in your
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
446 <application>MPlayer</application> source tree.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
447 Open a console and change to that directory. Then type
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
448
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
449 <screen>gcc -o dhasetup.exe dhasetup.c</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
450
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
451 and execute
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
452
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
453 <screen>dhasetup.exe install</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
454
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
455 as Administrator. After that you will have to reboot. When you are
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
456 done, copy the <systemitem class="library">.so</systemitem> files from
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
457 <filename class="directory">vidix/drivers</filename> to the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
458 <filename class="directory">mplayer/vidix</filename> directory
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
459 relative to your <filename>mplayer.exe</filename>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
460
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
461 <para>For best results <application>MPlayer</application> should use a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
462 colorspace that your video card supports in hardware. Unfortunately many
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
463 Windows graphics drivers wrongly report some colorspaces as supported in
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
464 hardware. To find out which, try
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
465
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
466 <screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable></screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
467
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
468 where <replaceable>colorspace</replaceable> can be any colorspace
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
469 printed by the <option>-vf format=fmt=help</option> option. If you
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
470 find a colorspace your card handles particularly bad
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
471 <option>-vf noformat=<replaceable>colorspace</replaceable></option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
472 will keep it from being used. Add this to your config file to permanently
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
473 keep it from being used.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
474
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
475 <para>There are special codec packages for Windows available on our
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
476 <ulink url="http://mplayerhq.hu/homepage/design7/codecs.html">codecs page</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
477 to allow playing formats for which there is no native support yet.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
478 Put the codecs somewhere in your path or pass
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
479 <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
480 (alternatively
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
481 <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
482 only on <application>Cygwin</application>) to <filename>configure</filename>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
483 We have had some reports that Real DLLs need to be writable by the user
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
484 running <application>MPlayer</application>, but only on some systems (NT4).
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
485 Try making them writable if you have problems.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
486
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
487 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
488 that Windows exposes on VCDs. It works like this (adjust for the drive letter
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
489 of your CD-ROM):</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
490
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
491 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
492
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
493 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
494 of your DVD-ROM:</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
495
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
496 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
497
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
498 <para>The <application>Cygwin</application>/<application>MinGW</application>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
499 console is rather slow. Redirecting output or using the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
500 <option>-quiet</option> option has been reported to improve performance on
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
501 some systems. Direct rendering (<option>-dr</option>) may also help.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
502 You can prevent OSD flicker through double buffering with the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
503 <option>-double</option> option. If playback is jerky, try
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
504 <option>-autosync 100</option>. If some of these options help you, you
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
505 may want to put them in your config file.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
506
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
507 <para>Sascha Sommer releases official Windows binaries from time to time,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
508 Joey Parrish makes unofficial Windows packages complete with installer.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
509 Look for these in the Windows section of
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
510 <ulink url="http://www.mplayerhq.hu/homepage/design7/projects.html#windows">our projects page</ulink>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
511
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
512 <sect2 id="cygwin">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
513 <title><application>Cygwin</application></title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
514
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
515 <para>You need to run <application>Cygwin</application> 1.5.0 or later in
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
516 order to compile <application>MPlayer</application>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
517
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
518 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
519 <filename class="directory">/usr/local/include/</filename>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
520
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
521 <para>Instructions and files for making SDL run under
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
522 <application>Cygwin</application> can be found on the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
523 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
524
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
525 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
526
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
527
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
528 <sect2 id="mingw">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
529 <title><application>MinGW</application></title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
530
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
531 <para>Installing a version of <application>MinGW</application> that could
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
532 compile <application>MPlayer</application> used to be quite tricky, but it
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
533 works out of the box now. Just install <application>MinGW</application>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
534 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
535 <application>MinGW</application> is installed.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
536
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
537 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
538
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
539 <para>MOV compressed header support requires
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
540 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
541 <application>MinGW</application> does not provide by default.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
542 Configure it with <option>--prefix=/mingw</option> and install
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
543 it before compiling <application>MPlayer</application>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
544
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
545 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
546
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
547
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
548 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
549
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
550 <sect1 id="macos">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
551 <title>Mac OS</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
552 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
553 Only Mac OS X 10.2 and up is supported by the "raw"
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
554 <application>MPlayer</application> source. Feel free to make support for older
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
555 Mac OS versions and send patches!
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
556 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
557
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
558 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
559 Apple's modified GCC 3.x is preferred for compiling
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
560 <application>MPlayer</application> especially when using
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
561 <systemitem class="library">libavcodec</systemitem> as Apple's
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
562 modified GCC 2.95.x doesn't support C99 syntax well.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
563 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
564
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
565 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
566 One can get an Aqua GUI for <application>MPlayer</application> together with
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
567 compiled <application>MPlayer</application> binaries for Mac OS X from the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
568 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
569 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
570 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
571
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
572 <sect1 id="amiga">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
573 <title>Amiga/MorphOS (GeekGadgets)</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
574 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
575 Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
576 </application> for MorphOS. Sadly it's based on the 0.90 series.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
577 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
578
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
579 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
580 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
581 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
582 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
583 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
584 <application>MPlayer</application> 0.91 binary</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
585 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
586 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
587 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
588 <application>MPlayer</application> 0.91 source</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
589 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
590 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
591 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
592 <application>MEncoder</application> 1.0pre3 binary</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
593 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
594 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
595 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
596 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
597
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
598 </chapter>