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