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