Mercurial > mplayer.hg
annotate DOCS/xml/en/ports.xml @ 12552:e58d894d570b
removing unused parts
author | alex |
---|---|
date | Thu, 10 Jun 2004 14:45:20 +0000 |
parents | 8f4574d094a5 |
children | 0ec26eeb8624 |
rev | line source |
---|---|
9675 | 1 <?xml version="1.0" encoding="iso-8859-1"?> |
10913
49b1a67e7381
Add revision keyword to english xml files, to ease translation synchronization
lumag
parents:
10909
diff
changeset
|
2 <!-- $Revision$ --> |
9675 | 3 <chapter id="ports" xreflabel="Ports"> |
4 <title>Ports</title> | |
5 | |
6 <sect1 id="linux"> | |
7 <title>Linux</title> | |
8 <para> | |
9 The main development platform is Linux on x86, although | |
10 <application>MPlayer</application> works on many other Linux ports. | |
11540 | 11 Binary packages of <application>MPlayer</application> are available from several |
12 sources. However, <emphasis role="bold">none of these packages are supported</emphasis>. | |
9675 | 13 Report problems to the authors, not to us. |
14 </para> | |
15 | |
16 <sect2 id="debian"> | |
17 <title>Debian packaging</title> | |
18 <para> | |
11540 | 19 To build a Debian package, run the following command in the |
20 <application>MPlayer</application> source directory: | |
9675 | 21 <screen>fakeroot debian/rules binary</screen> |
22 As root you can then install the <filename>.deb</filename> package as usual: | |
23 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen> | |
24 </para> | |
25 | |
26 <para> | |
11540 | 27 Christian Marillat has been making unofficial Debian |
28 <application>MPlayer</application>, <application>MEncoder</application> and | |
29 font packages for a while, you can (apt-)get them from his | |
9675 | 30 <ulink url="http://marillat.free.fr/">homepage</ulink>. |
31 </para> | |
32 </sect2> | |
33 | |
34 <sect2 id="rpm"> | |
35 <title>RPM packaging</title> | |
36 <para> | |
37 Dominik Mierzejewski created and maintains official Red Hat RPM packages of | |
38 <application>MPlayer</application>. They are available from his | |
39 <ulink url="http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/">homepage</ulink>. | |
40 </para> | |
41 | |
42 <para> | |
43 Mandrake RPM packages are available from the <ulink url="http://plf.zarb.org/">P.L.F.</ulink>. | |
11540 | 44 SuSE used to include a crippled version of <application>MPlayer</application> |
45 in their distribution. They have removed it in their latest releases. You can | |
46 get working RPMs from | |
47 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>. | |
9675 | 48 </para> |
49 </sect2> | |
50 | |
51 <sect2 id="arm"> | |
52 <title>ARM</title> | |
53 <para> | |
11540 | 54 <application>MPlayer</application> works on Linux PDAs with ARM CPU e.g. Sharp Zaurus, |
55 Compaq Ipaq. The easiest way to obtain <application>MPlayer</application> is to get it | |
11714 | 56 from one of the <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds. If |
9675 | 57 you want to compile it yourself, you should look at the |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
58 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink> |
9675 | 59 and the |
60 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink> | |
61 directory in the OpenZaurus distribution buildroot. These always have the latest | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
62 Makefile and patches used for building a CVS <application>MPlayer</application> with |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
63 <systemitem class="library">libavcodec</systemitem>. |
9675 | 64 If you need a GUI frontend, you can use xmms-embedded. |
65 </para> | |
66 </sect2> | |
67 </sect1> | |
68 | |
69 <sect1 id="bsd"> | |
70 <title>*BSD</title> | |
71 <para> | |
72 <application>MPlayer</application> runs on FreeBSD, OpenBSD, NetBSD, | |
11540 | 73 BSD/OS and Darwin. There are ports/pkgsrc/fink/etc versions of <application>MPlayer</application> |
9675 | 74 available that are probably easier to use than our raw sources. |
75 </para> | |
76 | |
77 <para> | |
11540 | 78 To build <application>MPlayer</application> you will need GNU make |
79 (gmake - native BSD make will not work) and a recent version of binutils. | |
9675 | 80 </para> |
81 | |
82 <para> | |
11540 | 83 If <application>MPlayer</application> complains about not finding <filename>/dev/cdrom</filename> |
84 or <filename>/dev/dvd</filename>, create an appropriate symbolic link: | |
10958 | 85 <screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen> |
9675 | 86 </para> |
87 | |
88 <para> | |
11540 | 89 To use Win32 DLLs with <application>MPlayer</application> you will need to |
90 re-compile the kernel with "<envar>option USER_LDT</envar>" | |
91 (unless you run FreeBSD-CURRENT, | |
9675 | 92 where this is the default). |
93 </para> | |
94 | |
95 | |
96 <sect2 id="freebsd"> | |
97 <title>FreeBSD</title> | |
98 <para> | |
99 If your CPU has SSE, recompile your kernel with | |
100 "<envar>options CPU_ENABLE_SSE</envar>" (FreeBSD-STABLE or kernel | |
101 patches required). | |
102 </para> | |
103 </sect2> | |
104 | |
105 <sect2 id="openbsd"> | |
106 <title>OpenBSD</title> | |
107 <para> | |
108 Due to limitations in different versions of gas (relocation vs MMX), you | |
109 will need to compile in two steps: First make sure that the non-native as | |
110 is first in your <envar>$PATH</envar> and do a <command>gmake -k</command>, then | |
111 make sure that the native version is used and do <command>gmake</command>. | |
112 </para> | |
113 </sect2> | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
114 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
115 <sect2 id="darwin"> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
116 <title>Darwin</title> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
117 <para> |
11348 | 118 See the <link linkend="macos">Mac OS</link> section. |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
119 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
120 </sect2> |
9675 | 121 </sect1> |
122 | |
123 <sect1 id="solaris"> | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
124 <title>Sun Solaris</title> |
9675 | 125 <para> |
126 <application>MPlayer</application> should work on Solaris 2.6 or newer. | |
127 </para> | |
128 | |
129 <para> | |
11540 | 130 On <emphasis role="bold">UltraSPARCs</emphasis>, <application>MPlayer</application> |
131 takes advantage of their <emphasis role="bold">VIS</emphasis> extensions | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
132 (equivalent to MMX), currently only in |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
133 <systemitem class="library">libmpeg2</systemitem>, |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
134 <systemitem class="library">libvo</systemitem> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
135 and <systemitem class="library">libavcodec</systemitem>, but not in |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
136 <systemitem class="library">mp3lib</systemitem>. You can watch a VOB file |
9675 | 137 on a 400MHz CPU. You'll need |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
138 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
139 installed. |
9675 | 140 </para> |
141 | |
142 <para> | |
143 To build the package you will need GNU <application>make</application> | |
144 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native | |
145 Solaris make will not work. Typical error you get when building with | |
146 Solaris' make instead of GNU make: | |
147 <screen> | |
148 % /usr/ccs/bin/make | |
149 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen | |
150 </screen> | |
151 </para> | |
152 | |
153 <para> | |
154 On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter if | |
155 GNU C/C++ compiler is configured with or without the GNU assembler. | |
156 </para> | |
157 | |
158 <para> | |
159 On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler, | |
12552 | 160 configured to use the GNU assembler! The <application>MPlayer</application> |
161 code on the x86 platform makes heavy use of MMX, SSE and 3DNOW! instructions | |
162 that cannot be compiled using Sun's assembler <filename>/usr/ccs/bin/as</filename>. | |
9675 | 163 </para> |
164 | |
12552 | 165 <para> |
166 The <filename>configure</filename> script tries to find out, which | |
9675 | 167 assembler program is used by your "gcc" command (in case the autodetection |
11630 | 168 fails, use the <option>--as=<replaceable>/wherever/you/have/installed/gnu-as</replaceable></option> |
9675 | 169 option to tell the <filename>configure</filename> script where it can find GNU |
170 "as" on your system). | |
171 </para> | |
172 | |
173 <para> | |
174 Error message from <filename>configure</filename> on a Solaris x86 system using | |
175 GCC without GNU assembler: | |
176 <screen> | |
177 % configure | |
178 ... | |
179 Checking assembler (/usr/ccs/bin/as) ... , failed | |
180 Please upgrade(downgrade) binutils to 2.10.1... | |
181 </screen> | |
182 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>) | |
183 </para> | |
184 | |
185 <para> | |
186 Typical error you get when building with a GNU C compiler that does not use GNU as: | |
187 <screen> | |
188 % gmake | |
189 ... | |
190 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math | |
191 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c | |
192 Assembler: mplayer.c | |
193 "(stdin)", line 3567 : Illegal mnemonic | |
194 "(stdin)", line 3567 : Syntax error | |
195 ... more "Illegal mnemonic" and "Syntax error" errors ... | |
196 </screen> | |
197 </para> | |
198 | |
199 <para> | |
200 Due to bugs in Solaris 8, you may not be able to play DVD discs larger than 4 GB: | |
201 </para> | |
202 | |
203 <itemizedlist> | |
204 <listitem><para> | |
205 The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB | |
206 on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media). | |
207 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed | |
208 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>). | |
209 This problem does not exist in the SPARC version of Solaris 8. | |
210 </para></listitem> | |
211 | |
212 <listitem><para> | |
213 A similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660), | |
214 hsfs may not not support partitions/disks larger than 4GB, all data is | |
215 accessed modulo 4GB | |
216 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>). | |
217 The hsfs problem can be fixed by installing patch 109764-04 (sparc) / 109765-04 (x86). | |
218 </para></listitem> | |
219 </itemizedlist> | |
220 </sect1> | |
221 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
222 <sect1 id="irix"> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
223 <title>Silicon Graphics Irix</title> |
9675 | 224 <para> |
225 You can either try to install the GNU install program, and (if you did | |
226 not put it in your global path) then point to the location with: | |
11630 | 227 <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen> |
9675 | 228 </para> |
229 | |
230 <para> | |
231 Or you can use the default install delivered with IRIX 6.5 in which case | |
232 you will have to edit the <filename>Makefile</filename> by hand a little bit. | |
233 Change the following two lines: | |
234 <programlisting> | |
235 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 | |
236 | |
237 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf | |
238 </programlisting> | |
239 to: | |
240 <programlisting> | |
241 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ | |
242 | |
243 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ | |
244 </programlisting> | |
11540 | 245 And then do (from within the <application>MPlayer</application> source dir): |
9675 | 246 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen> |
247 and then go on with building and installing. | |
248 </para> | |
249 </sect1> | |
250 | |
251 <sect1 id="qnx"> | |
252 <title>QNX</title> | |
253 <para> | |
254 Works. You'll need to download SDL for QNX, and install it. Then run | |
255 <application>MPlayer</application> with <option>-vo sdl:photon</option> | |
256 and <option>-ao sdl:nto</option> options, and it should be fast. | |
257 </para> | |
258 | |
259 <para> | |
260 The <option>-vo x11</option> output will be even slower than on Linux, | |
261 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL. | |
262 </para> | |
263 </sect1> | |
264 | |
10561 | 265 <sect1 id="windows"> |
266 <title>Windows</title> | |
267 | |
11540 | 268 <para>Yes, <application>MPlayer</application> runs on Windows under |
269 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and | |
270 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>. | |
10561 | 271 It does not have a GUI yet, but the command line version is almost completely |
272 functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome. | |
273 You should check out the | |
274 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink> | |
275 mailing list for help and latest information.</para> | |
276 | |
277 <para>Best results are achieved with the native DirectX video output driver | |
278 (<option>-vo directx</option>) and the native Windows waveout audio driver | |
12014 | 279 (<option>-ao win32</option>). Alternatives are OpenGL and SDL, but OpenGL |
280 performance varies greatly between systems and SDL is known to | |
281 distort sound and video or crash on some systems. If the image is | |
10561 | 282 distorted, try turning off hardware acceleration with |
283 <option>-vo directx:noaccel</option>. Download | |
284 <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink> | |
285 to compile the DirectX video output driver.</para> | |
9675 | 286 |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
287 <para><link linkend="vidix">VIDIX</link> now works under Windows as |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
288 <option>-vo winvidix</option>, although it is still experimental |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
289 and needs a bit of manual setup. Download |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
290 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/dhahelper.sys">dhahelper.sys</ulink> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
291 and copy it to the |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
292 <filename class="directory">libdha/dhahelperwin</filename> directory in your |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
293 <application>MPlayer</application> source tree. |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
294 Open a console and change to that directory. Then type |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
295 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
296 <screen>gcc -o dhasetup.exe dhasetup.c</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
297 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
298 and execute |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
299 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
300 <screen>dhasetup.exe install</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
301 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
302 as Administrator. After that you will have to reboot. When you are |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
303 done, copy the <systemitem class="library">.so</systemitem> files from |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
304 <filename class="directory">vidix/drivers</filename> to the |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
305 <filename class="directory">mplayer/vidix</filename> directory |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
306 relative to your <filename>mplayer.exe</filename>.</para> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
307 |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
308 <para>For best results <application>MPlayer</application> should use a |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
309 colorspace that your video card supports in hardware. Unfortunately many |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
310 Windows graphics drivers wrongly report some colorspaces as supported in |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
311 hardware. To find out which, try |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
312 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
313 <screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable></screen> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
314 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
315 where <replaceable>colorspace</replaceable> can be any colorspace |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
316 printed by the <option>-vf format=fmt=help</option> option. If you |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
317 find a colorspace your card handles particularly bad |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
318 <option>-vf noformat=<replaceable>colorspace</replaceable></option> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
319 will keep it from being used. Add this to your config file to permanently |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
320 keep it from being used.</para> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
321 |
11325 | 322 <para>You can use Win32 codecs and Real Win32 codecs (not Real Linux codecs) |
323 if you want to. Put the codecs somewhere in your path or pass | |
11714 | 324 <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> (alternatively |
325 <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option> only on | |
11540 | 326 <application>Cygwin</application>) to <filename>configure</filename>. We |
327 have had some reports that Real DLLs need to be writable by the user running | |
328 <application>MPlayer</application>, but only on some systems. Try making | |
329 them writable if you have problems. QuickTime DLLs also work, but you will | |
330 have to put them in your Windows system directory | |
11802 | 331 (<filename class="directory"><replaceable>C:\Windows\system\</replaceable></filename> |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
332 or similar). As a last resort, try putting them in the same directory as |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
333 <application>MPlayer</application>.</para> |
10645 | 334 |
12439
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
335 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
336 that Windows exposes on VCDs. It works like this (adjust for the drive letter |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
337 of your CD-ROM):</para> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
338 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
339 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
340 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
341 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
342 of your DVD-ROM:</para> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
343 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
344 <screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:</screen> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
345 |
11540 | 346 <para>The <application>Cygwin</application>/<application>MinGW</application> |
347 console is rather slow. Redirecting output or using the | |
348 <option>-quiet</option> option has been reported to improve performance on | |
349 some systems. Direct rendering (<option>-dr</option>) may also help. | |
10645 | 350 You can prevent OSD flicker through double buffering with the |
351 <option>-double</option> option. If playback is jerky, try | |
352 <option>-autosync 100</option>. If some of these options help you, you | |
353 may want to put them in your config file.</para> | |
10561 | 354 |
11531 | 355 <para>Sascha Sommer releases official Windows binaries from time to time, |
356 Joey Parrish makes unofficial Windows packages complete with installer. | |
357 Look for these in the Windows section of | |
11891 | 358 <ulink url="http://www.mplayerhq.hu/homepage/projects.html#windows">our projects page</ulink>.</para> |
9675 | 359 |
10561 | 360 <sect2 id="cygwin"> |
11540 | 361 <title><application>Cygwin</application></title> |
10561 | 362 |
11546 | 363 <para><application>Cygwin</application> versions prior to 1.5.0 do |
364 not include <filename>inttypes.h</filename>. Put this | |
11338 | 365 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/inttypes.h">inttypes.h</ulink> |
11336 | 366 in <filename class="directory">/usr/include/</filename> in order to |
11355 | 367 make <application>MPlayer</application> compile.</para> |
10561 | 368 |
369 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or | |
370 <filename class="directory">/usr/local/include/</filename>.</para> | |
371 | |
11540 | 372 <para>Instructions and files for making SDL run under |
373 <application>Cygwin</application> can be found on the | |
10561 | 374 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para> |
9675 | 375 |
10561 | 376 </sect2> |
377 | |
378 | |
379 <sect2 id="mingw"> | |
11540 | 380 <title><application>MinGW</application></title> |
10561 | 381 |
11540 | 382 <para>Installing a version of <application>MinGW</application> that could |
383 compile <application>MPlayer</application> used to be quite tricky, but it | |
384 works out of the box now. Just install <application>MinGW</application> | |
385 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that | |
386 <application>MinGW</application> is installed.</para> | |
9675 | 387 |
11540 | 388 <para>If you use a version of <application>MinGW</application> before 3.1.0, |
389 you need to replace <filename>/mingw/include/sys/types.h</filename> with this | |
10909 | 390 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para> |
10561 | 391 |
392 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para> | |
10191 | 393 |
12496
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
394 <para>MOV compressed header support requires |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
395 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
396 <application>MinGW</application> does not provide by default. |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
397 Configure it with <option>--prefix=/mingw</option> and install |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
398 it before compiling <application>MPlayer</application>.</para> |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
399 |
10561 | 400 </sect2> |
401 | |
402 | |
9675 | 403 </sect1> |
404 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
405 <sect1 id="macos"> |
11348 | 406 <title>Mac OS</title> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
407 <para> |
11348 | 408 Only Mac OS X 10.2 and up is supported by the "raw" |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
409 <application>MPlayer</application> source. Feel free to make support for older |
11348 | 410 Mac OS versions and send patches! |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
411 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
412 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
413 <para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
414 Apple's modified GCC 3.x is preferred for compiling |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
415 <application>MPlayer</application> especially when using |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
416 <systemitem class="library">libavcodec</systemitem> as Apple's |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
417 modified GCC 2.95.x doesn't support C99 syntax well. |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
418 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
419 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
420 <para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
421 One can get an Aqua GUI for <application>MPlayer</application> together with |
11355 | 422 compiled <application>MPlayer</application> binaries for Mac OS X from the |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
423 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project. |
11341 | 424 </para> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
425 </sect1> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
426 |
11607 | 427 <sect1 id="hpux"> |
428 <title>HP UX</title> | |
429 <para> | |
430 Martin Gansser maintains a valuable | |
431 <ulink url="http://cloud.prohosting.com/patos/docs/mplayer_on_hpux11.htm">HOWTO</ulink> | |
432 about building <application>MPlayer</application> on HP-UX. It even has a FAQ | |
433 section! | |
434 </para> | |
435 | |
436 <para> | |
437 Anyway, our "raw" <application>MPlayer</application> source is used to compile | |
438 on HP-UX without flaws. | |
439 </para> | |
440 </sect1> | |
441 | |
442 <sect1 id="amiga"> | |
443 <title>Amiga/MorphOS (GeekGadgets)</title> | |
444 <para> | |
445 Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer | |
446 </application> for MorphOS. Sadly it's based on the 0.90 series. | |
447 </para> | |
448 | |
449 <para> | |
450 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>: | |
11621 | 451 <itemizedlist> |
452 <listitem><para> | |
11614 | 453 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90"> |
454 <application>MPlayer</application> 0.91 binary</ulink> | |
11621 | 455 </para></listitem> |
456 <listitem><para> | |
11614 | 457 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91"> |
458 <application>MPlayer</application> 0.91 source</ulink> | |
11621 | 459 </para></listitem> |
460 <listitem><para> | |
11614 | 461 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=912"> |
462 <application>MEncoder</application> 0.91 binary</ulink> | |
11621 | 463 </para></listitem> |
464 </itemizedlist> | |
11607 | 465 </para> |
466 </sect1> | |
467 | |
9675 | 468 </chapter> |