annotate DOCS/xml/cs/ports.xml @ 20432:972c93990379

add two missing checks - PATCH by Karolina Lindqvist AT kramnet-se
author reynaldo
date Wed, 25 Oct 2006 20:39:01 +0000
parents 7c7482d7a148
children 90b3178b8c16
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"?>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
2 <!-- Synced with r19820 -->
15496
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
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
48 našich binárních balíků s kodeky, můžete si je stáhnout (apt-get) z
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
49 <ulink url="http://www.debian-multimedia.org/">jeho domácí stránky</ulink>.
15496
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>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
63 RPM balíčky pro Mandrake/Mandriva jsou dostupné z
15496
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>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
94 <application>MPlayer</application> běží na všech známých BSD verzích.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
95 Existují portované/pkgsrc/fink/atd verze
15496
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
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
150 <sect1 id="unix">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
151 <title>Komerční Unix</title>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
152
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
153 <para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
154 <application>MPlayer</application> byl portován na mnoho komerčních variant
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
155 Unixu. Jelikož vývojová prostředí na těchto systémech bývají odlišná od těch
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
156 na svobodných Unixech, budete muset provést ruční úpravy, aby se kompilace
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
157 povedla.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
158 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
159
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
160 <sect2 id="solaris">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
161 <title>Solaris</title>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
162 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
163 <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
164 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
165 zvuku.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
166 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
167
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
168 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
169 Na <emphasis role="bold">UltraSPARC</emphasis>ích, <application>MPlayer</application>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
170 využívá jejich rozšíření <emphasis role="bold">VIS</emphasis>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
171 (ekvivalentní MMX), zatím jen v
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
172 <systemitem class="library">libmpeg2</systemitem>,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
173 <systemitem class="library">libvo</systemitem>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
174 a <systemitem class="library">libavcodec</systemitem>, ale nikoli v
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
175 <systemitem class="library">mp3lib</systemitem>. Můžete přehrávat VOB soubor
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
176 na 400MHz CPU. Budete k tomu potřebovat nainstalovanou
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
177 <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
178 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
179
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
180 <para><emphasis role="bold">Caveat:</emphasis></para>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
181 <itemizedlist>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
182 <listitem><para>Podpora <emphasis role="bold">mediaLib</emphasis> je
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
183 <emphasis role="bold">v současnosti vypnutá</emphasis> ve výchozím nastavení
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
184 <application>MPlayer</application>u kvůli chybovosti. Uživatelé SPARCu
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
185 překládající MPlayer s podporou mediaLib hlásili tlustý zelený pruh
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
186 v enkódovaném videu dekódovaném libavcodecem. Pokud chcete, můžete si ji
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
187 zapnout:
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
188 <screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
189 $ ./configure --enable-mlib
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
190 </screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
191 Děláte to na vlastní nebezpečí. Uživatelé x86 by
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
192 <emphasis role="bold">nikdy</emphasis> neměli používat mediaLib, jelikož
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
193 vede k velmi slabému výkonu MPlayeru.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
194 </para></listitem>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
195 </itemizedlist>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
196
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
197 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
198 Pro kompilaci balíku budete potřebovat GNU <application>make</application>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
199 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), jelikož
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
200 nativní make Solarisu nebude pracovat. Typickou chybou kompilace s make
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
201 Solarisu namísto GNU make je:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
202 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
203 % /usr/ccs/bin/make
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
204 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
205 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
206 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
207
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
208 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
209 Na Solarisu SPARC, potřebujete GNU C/C++ Compiler; nezáleží na tom, zda je
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
210 GNU C/C++ compiler konfigurován s nebo bez GNU assembleru.
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 Na Solarisu x86, potřebujete GNU assembler a GNU C/C++ compiler,
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
215 konfigurovaný pro použití GNU assembleru! Kód <application>MPlayer</application>u
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
216 na platformě x86 intenzivně používá MMX, SSE a 3DNOW! instrukce,
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
217 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
218 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
219
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
220 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
221 Skript <filename>configure</filename> zkouší zjistit, který assembler je použitý
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
222 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
223 <option>--as=<replaceable>/kdekoli/máte/nainstalován/gnu-as</replaceable></option>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
224 pro nastavení <filename>configure</filename> skriptu tak, aby našel GNU
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
225 "as" na vašem systému).
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
226 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
227
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
228 <para>Řešení běžných potíží:</para>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
229 <itemizedlist>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
230 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
231 Chybová zpráva z <filename>configure</filename> na systému Solaris x86
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
232 s použitím GCC bez GNU assembleru:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
233 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
234 % configure
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
235 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
236 Checking assembler (/usr/ccs/bin/as) ... , failed
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
237 Please upgrade(downgrade) binutils to 2.10.1...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
238 </screen>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
239 (Řešení: Nainstalujte a použijte gcc konfigurovaný s <option>--with-as=gas</option>)
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
240 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
241
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
242 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
243 Typická chyba, kterou dostanete při kompilaci pomocí GNU C kompilátoru, který
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
244 nepoužívá GNU as:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
245 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
246 % gmake
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
247 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
248 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
249 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
250 Assembler: mplayer.c
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
251 "(stdin)", line 3567 : Illegal mnemonic
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
252 "(stdin)", line 3567 : Syntax error
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
253 ... more "Illegal mnemonic" and "Syntax error" errors ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
254 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
255 </para>
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
256 </listitem>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
257
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
258 <listitem><para><application>MPlayer</application> může zhavarovat (segfault),
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
259 pokud dekódujete nebo enkódujete video používající win32 kodeky:
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
260 <screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
261 ...
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
262 Trying to force audio codec driver family acm...
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
263 Opening audio decoder: [acm] Win32/ACM decoders
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
264 sysi86(SI86DSCR): Invalid argument
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
265 Couldn't install fs segment, expect segfault
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
266
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
267
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
268 MPlayer interrupted by signal 11 in module: init_audio_codec
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
269 ...
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
270 </screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
271 To díky změně na sysi86() ve verzích Solaris 10 a před-Solaris
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
272 Nevada b31. V Solaris Nevada b32 to bylo opraveno;
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
273 Sun však ještě musí portovat opravu do Solaris 10. MPlayer
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
274 Project upozornil Sun na tento problém a záplata pro Solaris 10
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
275 je v současnosti rozpracována. Více informací o této chybě naleznete
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
276 na:
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
277 <ulink
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
278 url="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6308413"/>.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
279 </para>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
280 </listitem>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
281
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
282 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
283 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
284 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
285
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
286 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
287 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
288 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
289 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
290 Díky 32Bit int overflow, dostanete přístupovou diskovou adresu modulo 4GB
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
291 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
292 Tento problém neexistuje ve SPARC verzi Solarisu 8.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
293 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
294
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
295 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
296 Podobná chyba je i v kódu systému souborů hsfs(7FS) (AKA ISO9660),
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
297 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
298 modulo 4GB
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
299 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
300 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
301 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
302 </itemizedlist>
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
303 </listitem>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
304 </itemizedlist>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
305 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
306
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
307 <sect2 id="irix">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
308 <title>IRIX</title>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
309 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
310 Můžete buď zkusit nainstalovat program GNU install a (pokud jste si ho
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
311 nedali do globální cesty) odkázat na jeho umístění pomocí:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
312 <screen>./configure --with-install=<replaceable>/cesta/a/název/programu/install</replaceable></screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
313 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
314
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
315 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
316 nebo můžete použít výchozí install dodávaný s IRIXem 6.5. V tom případě
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
317 budete muset ručně upravit <filename>Makefile</filename>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
318 Změňte následující dva řádky:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
319 <programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
320 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
321
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
322 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
323 </programlisting>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
324 na:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
325 <programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
326 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
327
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
328 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
329 </programlisting>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
330 Pak spusťte (z adresáře se zdrojovými kódy <application>MPlayer</application>u):
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
331 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
332 a pokračujte kompilací a instalací.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
333 </para>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
334 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
335
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
336
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
337 <sect2 id="hp-ux">
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
338 <title>HP-UX</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
339 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
340 Joe Page hostuje podrobné HP-UX <application>MPlayer</application>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
341 <ulink url="http://users.rcn.com/joepage/mplayer_on_hpux11.htm">HOWTO</ulink>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
342 od Martina Ganssera na jeho domácí stránce. Podle těchto instrukcí by kompilace
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
343 měla proběhnout bez potíží. Následující informace jsou vytaženy ze zmíněného
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
344 HOWTO.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
345 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
346
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
347 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
348 Potřebujete GCC 3.4.0 nebo pozdější, GNU make 3.80 nebo pozdější a SDL 1.2.7 nebo pozdější.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
349 HP cc nevytvoří funkční program, předchozí verze GCC jsou chybové.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
350 Pro funkci OpenGL musíte nainstalovat Mesa a video rozhraní gl a gl2 by měly
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
351 pracovat. Jejich rychlost však může být velmi malá, podle rychlosti CPU.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
352 Dobrou náhradou za spíše slabý nativní HP-UX systém je GNU esound.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
353 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
354
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
355 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
356 Vytvořte DVD zařízení průzkumem SCSI pomocí:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
357 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
358
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
359 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
360 # ioscan -fn
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
361
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
362 Class I H/W Path Driver S/W State H/W Type Description
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
363 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
364 ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
365 target 3 8/16/5.2 tgt CLAIMED DEVICE
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
366 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
367 /dev/dsk/c1t2d0 <emphasis role="bold">/dev/rdsk/c1t2d0</emphasis>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
368 target 4 8/16/5.7 tgt CLAIMED DEVICE
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
369 ctl <emphasis role="bold">1</emphasis> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
370 /dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
371 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
372 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
373
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
374 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
375 Výstup na obrazovce ukazuje Pioneer DVD-ROM na SCSI adrese 2.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
376 Instance karty pro hardwarovou cestu 8/16 je 1.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
377 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
378
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
379 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
380 Vytvořte link ze surového zařízení na DVD zařízení.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
381 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
382
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
383 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
384 # 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
385 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
386
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
387 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
388 Příklad:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
389 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
390
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
391 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
392 # ln -s /dev/rdsk/c1t2d0 /dev/dvd
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
393 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
394
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
395 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
396 Níže uvádíme řešení některých běžných problémů:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
397 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
398
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
399 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
400 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
401 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
402 Spadne při startu s hlášením:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
403 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
404 /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
405 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
406 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
407
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
408 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
409 To znamená, že funkce <systemitem>.finite().</systemitem> není
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
410 dostupná ve standardní HP-UX matematické knihovně.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
411 Místo ní je zde <systemitem>.isfinite().</systemitem>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
412 Řešení: Použijte poslední Mesa depot soubor.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
413 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
414 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
415
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
416 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
417 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
418 Spadne při přehrávání s hlášením:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
419 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
420 /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
421 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
422 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
423
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
424 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
425 Řešení: Použijte volbu extralibdir v configure
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
426 <option>--with-extralibdir="/usr/lib -lrt"</option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
427 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
428 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
429
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
430 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
431 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
432 MPlayer havaruje (segfault) s hlášením:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
433 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
434 Pid 10166 received a SIGSEGV for stack growth failure.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
435 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
436 Segmentation fault
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
437 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
438 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
439
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
440 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
441 Řešení:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
442 HP-UX kernel má výchozí velikost zásobníku 8MB(?) na proces.(11.0 a
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
443 novější 10.20 patche vám umožní zvýšit <systemitem>maxssiz</systemitem> až na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
444 350MB pro 32-bit programy). Musíte zvětšit <systemitem>maxssiz</systemitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
445 a rekompilovat kernel (a restartovat). Pro tento účel můžete použít SAM. (Když
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
446 už to budete dělat, ověřte parametr <systemitem>maxdsiz</systemitem> pro
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
447 maximální množství paměti, které může program použít. Závisí na vašich
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
448 aplikacích, jestli je výchozích 64MB dost nebo ne.)
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
449 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
450 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
451 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
452
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
453 </sect2>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
454
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
455 <sect2 id="aix">
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
456 <title>AIX</title>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
457 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
458 <application>MPlayer</application> lze úspěšně přeložit na AIX 5.1,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
459 5.2 a 5.3, pomocí GCC 3.3 nebo vyšší. Kompilace
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
460 <application>MPlayer</application>u na AIX 4.3.3 a nížsích nebyla
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
461 testována. Velmi doporučujeme kompilovat
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
462 <application>MPlayer</application> pomocí GCC 3.4 nebo vašší,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
463 nebo pokud kompilujete na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
464 POWER5, vyžaduje se GCC 4.0.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
465 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
466
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
467 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
468 Ujistěte se, že používáte GNU make
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
469 (<filename>/opt/freeware/bin/gmake</filename>) pro sestavení
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
470 <application>MPlayer</application>u, jelikož při použití
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
471 <filename>/usr/ccs/bin/make</filename> budete mít problémy.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
472 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
473
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
474 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
475 Detekce procesoru je stále nedokončena.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
476 Testovány byly následující architektury:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
477 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
478
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
479 <itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
480 <listitem><para>604e</para></listitem>
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
481 <listitem><para>POWER3</para></listitem>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
482 <listitem><para>POWER4</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
483 </itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
484
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
485 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
486 Následující architektury nebyly testovány, ale měly by pracovat:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
487 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
488 <itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
489 <listitem><para>POWER</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
490 <listitem><para>POWER2</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
491 <listitem><para>POWER5</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
492 </itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
493
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
494 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
495 Zvuk přes Ultimedia Services není podporován, jelikož Ultimedia byla
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
496 opuštěna v AIX 5.1; tudíš je jedinou možností použití ovladačů AIX Open
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
497 Sound System (OSS) od 4Front Technologies z <ulink
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
498 url="http://www.opensound.com/aix.html">http://www.opensound.com/aix.html
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
499 </ulink>.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
500 4Front Technologies volně poskytuje OSS ovladače pro AIX 5.1 pro
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
501 nekomerční použití; zatím však neexistují zvukové ovladače
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
502 pro AIX 5.2 nebo 5.3. To znamená, že <emphasis role="bold">AIX 5.2
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
503 a 5.3 nejsou nyní schopny provozovat MPlayer se zvukem.</emphasis>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
504 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
505
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
506 <para>Řešení běžných potíží:</para>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
507
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
508 <itemizedlist>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
509 <listitem>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
510 <para>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
511 Pokud dostanete tuto chybovou hlášku z <filename>configure</filename>:
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
512 <screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
513 $ ./configure
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
514 ...
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
515 Checking for iconv program ... no
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
516 No working iconv program found, use
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
517 --charset=US-ASCII to continue anyway.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
518 Messages in the GTK-2 interface will be broken then.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
519 </screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
520 To proto, že AIX používá nestandardní názvy znakových sad; proto
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
521 konverze výstupu MPlayeru do jiné znakové sady není zatím podporováno.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
522 Řešením je:
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
523 <screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
524 $ ./configure --charset=noconv
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
525 </screen>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
526 </para>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
527 </listitem>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
528 </itemizedlist>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
529
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
530 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
531 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
532
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
533 <sect1 id="windows">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
534 <title>Windows</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
535
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
536 <para>Ano, <application>MPlayer</application> běží na Windows pod
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
537 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> a
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
538 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>.
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
539 Nemá zatím oficiální GUI, ale verze pro příkazový řádek je plně funkční.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
540 Měli byste navštívit konferenci
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
541 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
542 pro pomoc a poslední informace.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
543 Oficiální Windows binárky naleznete na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
544 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download stránce</ulink>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
545 Instalátor a jednoduché GUI frontendy jsou dostupné z externích zdrojů.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
546 Odkazy na ně jsme umístili v sekci Windows na naší
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
547 <ulink url="http://www.mplayerhq.hu/design7/projects.html#windows">stránce s
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
548 projekty</ulink>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
549 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
550
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
551 <para>Pokud se chcete vyhnout použití příkazové řádky, můžete použít malý trik
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
552 s umístěním zástupce na pracovní plochu, který bude obsahovat v sekci
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
553 spuštění něco takového:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
554 <screen><replaceable>c:\cesta\k\</replaceable>mplayer.exe %1</screen>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
555 To nechá <application>MPlayer</application> přehrát jakýkoli film, který je
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
556 přetažen na zástupce. Přidejte <option>-fs</option> pro celoobrazovkový
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
557 režim.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
558 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
559
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
560 <para>Nejlepších výsledků dosáhnete použitím nativního DirectX video rozhraní
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
561 (<option>-vo directx</option>). Alternativami jsou OpenGL a SDL, ale výkon
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
562 OpenGL se velmi různí na jednotlivých systémech a o SDL je známo, že na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
563 některých systémech drobí video nebo padá. Pokud je obraz rozsypán, zkuste
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
564 vypnout hardwarovou akceleraci pomocí
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
565 <option>-vo directx:noaccel</option>. Stáhněte si
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
566 <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
567 url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">hlavičkové
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
568 soubory DirectX 7</ulink>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
569 pro kompilaci výstupního rozhraní DirectX. Navíc budete muset mít
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
570 nainstalovány DirectX 7 nebo vyšší, aby rozhraní pracovalo.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
571 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
572
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
573 <para><link linkend="vidix">VIDIX</link> nyní pracuje pod Windows jako
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
574 <option>-vo winvidix</option>, ačkoli je stále experimentální
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
575 a vyžaduje trochu manuálního nastavování. Stáhněte si
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
576 <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
577 url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> nebo
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
578 <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
579 url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (s podporou MTRR)</ulink>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
580 a zkopírujte jej do adresáře
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
581 <filename class="directory">libdha/dhahelperwin</filename> ve svém stromě se
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
582 zdrojovými kódy <application>MPlayer</application>u.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
583 Otevřete konzoli a přesuňte se do tohoto adresáře. Pak zadejte
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
584
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
585 <screen>gcc -o dhasetup.exe dhasetup.c</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
586
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
587 a spusťte
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
588
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
589 <screen>dhasetup.exe install</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
590
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
591 jako Administrator. Pak budete muset restartovat. Jakmile budete hotovi,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
592 zkopírujte <systemitem class="library">.so</systemitem> soubory z
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
593 <filename class="directory">vidix/drivers</filename> do adresáře
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
594 <filename class="directory">mplayer/vidix</filename>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
595 relativního k vašemu <filename>mplayer.exe</filename>.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
596
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
597 <para>Pro nejlepší výsledky by měl <application>MPlayer</application> používat
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
598 barevný prostor, který podporuje vaše video karta v hardware. Naneštěstí
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
599 některé Windows ovladače grafických karet špatně hlásí některé barevné
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
600 prostory jako podporované v hardware. Chcete-li zjistit které, zkuste
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
601
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
602 <screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>barevny_prostor</replaceable> <replaceable>film</replaceable></screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
603
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
604 kde <replaceable>barevny_prostor</replaceable> může být barevný prostor
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
605 vypsaný volbou <option>-vf format=fmt=help</option>. Pokud najdete
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
606 barevný prostor, který vaše karta zvládá zjevně špatně,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
607 <option>-vf noformat=<replaceable>barevny_prostor</replaceable></option>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
608 zakáže jeho použití. Přidejte si to do vašeho konfig souboru, aby zůstal
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
609 zakázán natrvalo.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
610
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
611 <para>Pro Windows máme k dispozici speciální balíčky kodeků na naší
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
612 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download stránce</ulink>,
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
613 abyste mohli přehrávat formáty, pro které zatím není nativní podpora.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
614 Umístěte kodeky někde do cesty (path), nebo přidejte
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
615 <option>--with-codecsdir=<replaceable>c:/cesta/ke/kodekům</replaceable></option>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
616 (případně
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
617 <option>--with-codecsdir=<replaceable>/cesta/ke/kodekům</replaceable></option>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
618 používate-li <application>Cygwin</application>) do <filename>configure</filename>.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
619 Máme několik zpráv, že Real DLL musí mít práva zápisu pro uživatele, který
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
620 pouští <application>MPlayer</application>, ale pouze na některých systémech (NT4).
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
621 Máte-li potíže, zkuste jim přidat právo zápisu.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
622
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
623 <para>Můžete přehrávat VCD přehráváním <filename>.DAT</filename> nebo <filename>.MPG</filename>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
624 souborů, které Windows ukazuje na VCD. Pracuje to takto
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
625 (upravte písmeno disku vaší CD-ROM):</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
626
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
627 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
628
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
629 <para>DVD pracují také, upravte <option>-dvd-device</option> na písmeno
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
630 DVD-ROM mechaniky:</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
631
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
632 <screen>mplayer dvd://<replaceable>&lt;titul&gt;</replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
633
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
634 <para><application>Cygwin</application>/<application>MinGW</application>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
635 terminál je spíše pomalý. Přesměrování výstupu nebo použití volby
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
636 <option>-quiet</option> podle hlášení zvýší výkon na některých systémech.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
637 Direct rendering (<option>-dr</option>) může rovněž pomoci.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
638 Pokud je přehrávání trhané, zkuste
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
639 <option>-autosync 100</option>. Pokud vám některé z těchto voleb pomohly,
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
640 měli byste si je zapsat do konfiguračního souboru.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
641
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
642 <note>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
643
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
644 <para>Runtime CPU detekce na Windows vypíná podporu SSE kvůli opakovaným a
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
645 těžko vystopovatelným se SSE souvisejícím pádům. Pokud chcete mít podporu
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
646 SSE pod Windows, budete muset kompilovat bez runtime CPU detekce.
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
647 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
648
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
649 <para>Máte-li Pentium 4 a dojde k pádu při použití
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
650 RealPlayer kodeků, možná budete muset vypnout podporu hyperthreading.
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
651 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
652
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
653 </note>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
654
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
655
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
656 <sect2 id="cygwin">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
657 <title><application>Cygwin</application></title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
658
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
659 <para>Musíte používat <application>Cygwin</application> 1.5.0 nebo vyšší,
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
660 abyste mohli kompilovat <application>MPlayer</application>.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
661
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
662 <para>Hlavičkové soubory DirectX musí být rozbaleny do <filename class="directory">/usr/include/</filename> nebo
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
663 <filename class="directory">/usr/local/include/</filename>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
664
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
665 <para>Instrukce a soubory nutné pro běh SDL pod
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
666 <application>Cygwin</application> lze nalézt na
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
667 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl stránkách</ulink>.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
668
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
669 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
670
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
671
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
672 <sect2 id="mingw">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
673 <title><application>MinGW</application></title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
674
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
675 <para>Instalace takové verze <application>MinGW</application>, aby bylo lze
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
676 kompilovat <application>MPlayer</application> byla obtížná, ale nyní
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
677 pracuje bez dalších úprav. Jen nainstalujte <application>MinGW</application>
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
678 3.1.0 nebo vyšší a MSYS 1.0.9 nebo vyšší a zvolte v MSYS postinstall, že je
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
679 <application>MinGW</application> nainstalováno.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
680
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
681 <para>Rozbalte DirectX hlavičkové soubory do <filename class="directory">/mingw/include/</filename>.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
682
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
683 <para>Podpora MOV compressed header vyžaduje
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
684 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, kterou
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
685 <application>MinGW</application> neobsahuje.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
686 Konfigurujte ji s <option>--prefix=/mingw</option> a nainstalujte
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
687 ji před kompilací <application>MPlayer</application>u.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
688
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
689 <para>Kompletní instrukce pro překlad <application>MPlayer</application>u
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
690 a potřebné knihovny naleznete v
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
691 <ulink url="http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>.</para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
692
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
693 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
694
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
695
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
696 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
697
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
698 <sect1 id="macos">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
699 <title>Mac OS</title>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
700
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
701 <para>
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
702 <application>MPlayer</application> nepracuje na Mac OS verzích pod
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
703 10, ale měl by být bez úprav kompilovatelný na Mac OS X 10.2 a vyšších.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18276
diff changeset
704 Preferovaná verze kompileru je Apple verze
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
705 GCC 3.x a vyšších.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
706 Základní prostředí pro kompilaci můžete získat instalací
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
707 <ulink url="http://developer.apple.com/tools/download/">Xcode</ulink>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
708 od Apple. Máte-li Mac OS X 10.3.9 nebo pozdější a QuickTime 7
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
709 můžete použít výstupní video rozhraní <option>macosx</option>.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
710 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
711
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
712 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
713 Naneštěstí toto základní prostředí neumožňuje využít všechny
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
714 pěkné vlastnosti <application>MPlayer</application>u.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
715 Například, budete-li chtít mít zakompilovánu podporu OSD, budete
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
716 muset mít na svém stroji nainstalovány knihovny
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
717 <systemitem class="library">fontconfig</systemitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
718 a <systemitem class="library">freetype</systemitem>.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
719 Narozdíl od jiných Unixů, jako je většina variant Linuxu a BSD, OS X
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
720 nemá balíčkovací systém distribuovaný se systémem.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
721 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
722
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
723 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
724 Můžete vybírat minimálně ze dvou:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
725 <ulink url="http://fink.sourceforge.net/">Fink</ulink>u a
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
726 <ulink url="http://www.macports.org/">DarwinPorts</ulink>.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
727 Oba poskytují zhruba stejné služby (např. mnoho dostupných balíčků,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
728 řešení závislostí, schopnost jednoduše přidávat/aktualizovat/odebírat
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
729 balíčky, atp...).
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
730 Fink nabízí jak předkompilované binární balíčky, tak možnost kompilovat
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
731 všechno ze zdrojového kódu, zatímco DarwinPorts nabízí pouze možnost
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
732 kompilace ze zdrojového kódu.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
733 Autor této příručky zvolil DarwinPorts z jednoduchého důvodu, že jeho
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
734 základní nastavení je mnohem lehčí.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
735 Pozdější příklady budou založeny na DarwinPorts.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
736 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
737
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
738 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
739 Například pro kompilaci <application>MPlayer</application> s podporou OSD:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
740 <screen>sudo port install pkgconfig</screen>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
741 Takto nainstalujete <application>pkg-config</application>, což je systém pro správu
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
742 knihovních příznaků compile/link.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
743 <application>MPlayer</application>ův skript <systemitem>configure</systemitem> jej
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
744 používá pro správnou detekci knihoven.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
745 Pak můžete nainstalovat <application>fontconfig</application>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
746 podobným způsobem:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
747 <screen>sudo port install fontconfig</screen>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
748 Následně můžete pokračovat spuštěním <application>MPlayer</application>ova
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
749 <systemitem>configure</systemitem> skriptu (ověřte proměnné prostředí
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
750 <systemitem>PKG_CONFIG_PATH</systemitem> a <systemitem>PATH</systemitem>,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
751 aby <systemitem>configure</systemitem> našel knihovny instalované pomocí
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
752 DarwinPorts):
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
753 <screen>PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/ PATH=$PATH:/opt/local/bin/ ./configure</screen>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
754 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
755
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
756 <sect2 id="osx_gui">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
757 <title>MPlayer OS X GUI</title>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
758
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
759 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
760 Můžete si stáhnout nativní GUI pro <application>MPlayer</application> spolu
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
761 s předkompilovanými binárkami <application>MPlayer</application>u pro Mac OS X
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
762 z <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> projektu, ale upozorňujeme:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
763 tento projekt již není aktivní.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
764 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
765
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
766 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
767 Naštěstí byl <application>MPlayerOSX</application> převzat členem
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
768 <application>MPlayer</application> týmu.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
769 Předváděcí verze lze stáhnout z naší
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
770 <ulink url="http://mplayerhq.hu/dload.html">download stránky</ulink>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
771 a oficiální verze by měla přijít již brzy.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
772 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
773
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
774 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
775 Abyste mohli skompilovat <application>MPlayerOSX</application> ze zdrojového
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
776 kódu sami, budete potřebovat <systemitem>mplayerosx</systemitem>,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
777 <systemitem>main</systemitem> a kopii
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
778 <systemitem>main</systemitem> CVS modulu jménem
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
779 <systemitem>main_noaltivec</systemitem>.
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
780 <systemitem>mplayerosx</systemitem> je GUI nadstavba,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
781 <systemitem>main</systemitem> je MPlayer a
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
782 <systemitem>main_noaltivec</systemitem> je MPlayer přeložený bez podpory AltiVec.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
783 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
784
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
785 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
786 Pro stažení SVN modulů použijte:
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
787
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
788 <screen>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
789 svn checkout svn://svn.mplayerhq.hu/mplayerosx/trunk/ mplayerosx
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
790 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ main
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
791 </screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
792 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
793
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
794 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
795 Abyste skompilovali <application>MPlayerOSX</application> budete muset setavit
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
796 asi toto:
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
797
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
798 <screen>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
799 Adresář_se_zdrojáky_MPlayeru
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
800 |
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
801 |--->main (Zdrojový kód MPlayeru ze Subversion)
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
802 |
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
803 |--->main_noaltivec (Zdrojový kód MPlayeru ze Subversion konfigurován s --disable-altivec)
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
804 |
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
805 |--->mplayerosx (Zdrojový kód MPlayer OS X ze Subversion)
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
806 </screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
807
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
808 Nejdřív musíte skompilovat main a main_noaltivec.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
809 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
810
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
811 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
812 Pak nastavte globální proměnnou:
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
813
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
814 <screen>export MACOSX_DEPLOYMENT_TARGET=10.3</screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
815 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
816
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
817 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
818 Pak konfigurujte:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
819 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
820
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
821 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
822 Pokud konfigurujete pro G4 nebo pozdější CPU s podporou AltiVec, proveďte následující:
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
823 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
824 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
825 </screen>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
826 Pokud konfigurujete pro stroj s G3 bez AltiVec, použijte:
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
827 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
828 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
829 --disable-altivec
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
830 </screen>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
831 Možná budete muset editovat <filename>config.mak</filename> a změnit
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
832 <systemitem>-mcpu</systemitem> a <systemitem>-mtune</systemitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
833 z <systemitem>74XX</systemitem> na <systemitem>G3</systemitem>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
834 </para>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
835
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
836 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
837 Pokračujte s
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
838 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
839 make
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
840 </screen>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
841 pak jděte do adresáře mplayerosx a napište
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
842
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
843 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
844 make dist
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
845 </screen>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
846 To vytvoří komprimovaný <systemitem>.dmg</systemitem> archiv
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
847 s binárkou připravenou k použití.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
848 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
849
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
850 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
851 Také lze použít projekt <application>Xcode</application> 2.1;
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
852 starý projekt pro <application>Xcode</application> 1.x
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
853 již nepracuje.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
854 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
855 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
856 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
857
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
858 <sect1 id="exotic_platforms">
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
859 <title>Exotické platformy</title>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
860
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
861 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
862 <application>MPlayer</application> běží na mnoha exotických platformách,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
863 ale většina platformně závislých změn z těchto systémů nebyla přidána zpět
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
864 do hlavního zdrojového stromu.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
865 Pokyny k sestavení byste měli najít v dokumentaci pro daný systém.
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
866 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
867
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
868 <sect2 id="qnx">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
869 <title>QNX</title>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
870 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
871 Musíte si stáhnout a nainstalovat SDL pro QNX. Pak spusťte
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
872 <application>MPlayer</application> s volbami <option>-vo sdl:driver=photon</option>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
873 a <option>-ao sdl:nto</option>, mělo by to být rychlé.
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
874 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
875
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
876 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
877 Výstup <option>-vo x11</option> bude ještě pomalejší než na Linuxu,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
878 jelikož QNX má pouze X <emphasis>emulaci</emphasis>, která je velmi pomalá.
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
879 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
880 </sect2>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
881
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
882 <sect2 id="amiga">
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
883 <title>Amiga/MorphOS (GeekGadgets)</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
884 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
885 Lidé z okruhu <ulink url="www.amigasoft.net">www.amigasoft.net</ulink>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
886 tvoří současné balíčky <application>MPlayer</application> a
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
887 <application>MEncoder</application>.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
888 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
889
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
890 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
891 Nicholas Det at Genesi vytvořil velký a výkonný port <application>MPlayer
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
892 </application>u pro MorphOS. Naneštěstí je založen na verzi 0.90.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
893 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
894
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
895 <para>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
896 Stáhněte si ji z <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
897 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
898 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
899 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
900 <application>MPlayer</application> 0.91 binary</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
901 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
902 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
903 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
904 <application>MPlayer</application> 0.91 source</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
905 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
906 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
907 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
908 <application>MEncoder</application> 1.0pre3 binary</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
909 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
910 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
911 </para>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
912 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
913 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
914
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
915 </chapter>