Mercurial > mplayer.hg
annotate DOCS/xml/en/ports.xml @ 12418:80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
author | diego |
---|---|
date | Tue, 04 May 2004 14:34:18 +0000 |
parents | 9e5ebd0c97d0 |
children | 33916977a36e |
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, | |
160 configured to use the GNU assembler! The mplayer code on the x86 platform | |
161 makes heavy use of MMX, SSE and 3DNOW! instructions that cannot be compiled | |
162 using Sun's assembler <filename>/usr/ccs/bin/as</filename>. | |
163 </para> | |
164 | |
165 <para>The <filename>configure</filename> script tries to find out, which | |
166 assembler program is used by your "gcc" command (in case the autodetection | |
11630 | 167 fails, use the <option>--as=<replaceable>/wherever/you/have/installed/gnu-as</replaceable></option> |
9675 | 168 option to tell the <filename>configure</filename> script where it can find GNU |
169 "as" on your system). | |
170 </para> | |
171 | |
172 <para> | |
173 Error message from <filename>configure</filename> on a Solaris x86 system using | |
174 GCC without GNU assembler: | |
175 <screen> | |
176 % configure | |
177 ... | |
178 Checking assembler (/usr/ccs/bin/as) ... , failed | |
179 Please upgrade(downgrade) binutils to 2.10.1... | |
180 </screen> | |
181 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>) | |
182 </para> | |
183 | |
184 <para> | |
185 Typical error you get when building with a GNU C compiler that does not use GNU as: | |
186 <screen> | |
187 % gmake | |
188 ... | |
189 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math | |
190 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c | |
191 Assembler: mplayer.c | |
192 "(stdin)", line 3567 : Illegal mnemonic | |
193 "(stdin)", line 3567 : Syntax error | |
194 ... more "Illegal mnemonic" and "Syntax error" errors ... | |
195 </screen> | |
196 </para> | |
197 | |
198 <para> | |
199 Due to bugs in Solaris 8, you may not be able to play DVD discs larger than 4 GB: | |
200 </para> | |
201 | |
202 <itemizedlist> | |
203 <listitem><para> | |
204 The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB | |
205 on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media). | |
206 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed | |
207 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>). | |
208 This problem does not exist in the SPARC version of Solaris 8. | |
209 </para></listitem> | |
210 | |
211 <listitem><para> | |
212 A similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660), | |
213 hsfs may not not support partitions/disks larger than 4GB, all data is | |
214 accessed modulo 4GB | |
215 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>). | |
216 The hsfs problem can be fixed by installing patch 109764-04 (sparc) / 109765-04 (x86). | |
217 </para></listitem> | |
218 </itemizedlist> | |
219 | |
220 <para> | |
221 On Solaris with an UltraSPARC CPU, you can get some extra speed by using the | |
222 CPU's VIS instructions for certain time consuming operations. VIS acceleration | |
11540 | 223 can be used in <application>MPlayer</application> by calling functions in Sun's |
9675 | 224 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</ulink>. |
225 </para> | |
226 | |
227 <para> | |
228 VIS accelerated operations from mediaLib are used for mpeg2 video decoding | |
229 and for color space conversion in the video output drivers. | |
230 </para> | |
231 </sect1> | |
232 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
233 <sect1 id="irix"> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
234 <title>Silicon Graphics Irix</title> |
9675 | 235 <para> |
236 You can either try to install the GNU install program, and (if you did | |
237 not put it in your global path) then point to the location with: | |
11630 | 238 <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen> |
9675 | 239 </para> |
240 | |
241 <para> | |
242 Or you can use the default install delivered with IRIX 6.5 in which case | |
243 you will have to edit the <filename>Makefile</filename> by hand a little bit. | |
244 Change the following two lines: | |
245 <programlisting> | |
246 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 | |
247 | |
248 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf | |
249 </programlisting> | |
250 to: | |
251 <programlisting> | |
252 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ | |
253 | |
254 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ | |
255 </programlisting> | |
11540 | 256 And then do (from within the <application>MPlayer</application> source dir): |
9675 | 257 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen> |
258 and then go on with building and installing. | |
259 </para> | |
260 </sect1> | |
261 | |
262 <sect1 id="qnx"> | |
263 <title>QNX</title> | |
264 <para> | |
265 Works. You'll need to download SDL for QNX, and install it. Then run | |
266 <application>MPlayer</application> with <option>-vo sdl:photon</option> | |
267 and <option>-ao sdl:nto</option> options, and it should be fast. | |
268 </para> | |
269 | |
270 <para> | |
271 The <option>-vo x11</option> output will be even slower than on Linux, | |
272 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL. | |
273 </para> | |
274 </sect1> | |
275 | |
10561 | 276 <sect1 id="windows"> |
277 <title>Windows</title> | |
278 | |
11540 | 279 <para>Yes, <application>MPlayer</application> runs on Windows under |
280 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and | |
281 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>. | |
10561 | 282 It does not have a GUI yet, but the command line version is almost completely |
283 functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome. | |
284 You should check out the | |
285 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink> | |
286 mailing list for help and latest information.</para> | |
287 | |
288 <para>Best results are achieved with the native DirectX video output driver | |
289 (<option>-vo directx</option>) and the native Windows waveout audio driver | |
12014 | 290 (<option>-ao win32</option>). Alternatives are OpenGL and SDL, but OpenGL |
291 performance varies greatly between systems and SDL is known to | |
292 distort sound and video or crash on some systems. If the image is | |
10561 | 293 distorted, try turning off hardware acceleration with |
294 <option>-vo directx:noaccel</option>. Download | |
295 <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink> | |
296 to compile the DirectX video output driver.</para> | |
9675 | 297 |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
298 <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
|
299 <option>-vo winvidix</option>, although it is still experimental |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
300 and needs a bit of manual setup. Download |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
301 <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
|
302 and copy it to the |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
303 <filename class="directory">libdha/dhahelperwin</filename> directory in your |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
304 <application>MPlayer</application> source tree. |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
305 Open a console and change to that directory. Then type |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
306 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
307 <screen>gcc -o dhasetup.exe dhasetup.c</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
308 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
309 and execute |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
310 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
311 <screen>dhasetup.exe install</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
312 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
313 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
|
314 done, copy the <systemitem class="library">.so</systemitem> files from |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
315 <filename class="directory">vidix/drivers</filename> to the |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
316 <filename class="directory">mplayer/vidix</filename> directory |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
317 relative to your <filename>mplayer.exe</filename>.</para> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
318 |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
319 <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
|
320 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
|
321 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
|
322 hardware. To find out which, try |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
323 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
324 <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
|
325 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
326 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
|
327 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
|
328 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
|
329 <option>-vf noformat=<replaceable>colorspace</replaceable></option> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
330 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
|
331 keep it from being used.</para> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
332 |
11325 | 333 <para>You can use Win32 codecs and Real Win32 codecs (not Real Linux codecs) |
334 if you want to. Put the codecs somewhere in your path or pass | |
11714 | 335 <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> (alternatively |
336 <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option> only on | |
11540 | 337 <application>Cygwin</application>) to <filename>configure</filename>. We |
338 have had some reports that Real DLLs need to be writable by the user running | |
339 <application>MPlayer</application>, but only on some systems. Try making | |
340 them writable if you have problems. QuickTime DLLs also work, but you will | |
341 have to put them in your Windows system directory | |
11802 | 342 (<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
|
343 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
|
344 <application>MPlayer</application>.</para> |
10645 | 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 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files |
377 that Windows exposes on VCDs. It works like this (adjust for the drive letter | |
378 of your CD-ROM):</para> | |
379 | |
11714 | 380 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen> |
9675 | 381 |
11714 | 382 <screen>mplayer <replaceable>/cygdrive/d/MPEG2/AVSEQ01.MPG</replaceable></screen> |
9675 | 383 |
10998
b96a23f1fa24
More precise wording as suggested by Maciej Paszta <macp@wp.pl>.
diego
parents:
10958
diff
changeset
|
384 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter |
b96a23f1fa24
More precise wording as suggested by Maciej Paszta <macp@wp.pl>.
diego
parents:
10958
diff
changeset
|
385 of your DVD-ROM:</para> |
10561 | 386 |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
387 <screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
388 |
11802 | 389 <screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device '\\.\<replaceable>d</replaceable>:'</screen> |
10561 | 390 |
391 </sect2> | |
392 | |
393 | |
394 <sect2 id="mingw"> | |
11540 | 395 <title><application>MinGW</application></title> |
10561 | 396 |
11540 | 397 <para>Installing a version of <application>MinGW</application> that could |
398 compile <application>MPlayer</application> used to be quite tricky, but it | |
399 works out of the box now. Just install <application>MinGW</application> | |
400 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that | |
401 <application>MinGW</application> is installed.</para> | |
9675 | 402 |
11540 | 403 <para>If you use a version of <application>MinGW</application> before 3.1.0, |
404 you need to replace <filename>/mingw/include/sys/types.h</filename> with this | |
10909 | 405 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para> |
10561 | 406 |
407 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para> | |
10191 | 408 |
11540 | 409 <para>VCDs and DVDs work almost like <application>Cygwin</application> (adjust |
410 for the drive letter of your CD-ROM/DVD-ROM):</para> | |
10561 | 411 |
11714 | 412 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen> |
10561 | 413 |
11714 | 414 <screen>mplayer <replaceable>/d/MPEG2/AVSEQ01.MPG</replaceable></screen> |
10561 | 415 |
11802 | 416 <screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device /<replaceable>d</replaceable>/</screen> |
10561 | 417 |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
418 <screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:\\</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
419 |
10561 | 420 </sect2> |
421 | |
422 | |
9675 | 423 </sect1> |
424 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
425 <sect1 id="macos"> |
11348 | 426 <title>Mac OS</title> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
427 <para> |
11348 | 428 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
|
429 <application>MPlayer</application> source. Feel free to make support for older |
11348 | 430 Mac OS versions and send patches! |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
431 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
432 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
433 <para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
434 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
|
435 <application>MPlayer</application> especially when using |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
436 <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
|
437 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
|
438 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
439 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
440 <para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
441 One can get an Aqua GUI for <application>MPlayer</application> together with |
11355 | 442 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
|
443 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project. |
11341 | 444 </para> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
445 </sect1> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
446 |
11607 | 447 <sect1 id="hpux"> |
448 <title>HP UX</title> | |
449 <para> | |
450 Martin Gansser maintains a valuable | |
451 <ulink url="http://cloud.prohosting.com/patos/docs/mplayer_on_hpux11.htm">HOWTO</ulink> | |
452 about building <application>MPlayer</application> on HP-UX. It even has a FAQ | |
453 section! | |
454 </para> | |
455 | |
456 <para> | |
457 Anyway, our "raw" <application>MPlayer</application> source is used to compile | |
458 on HP-UX without flaws. | |
459 </para> | |
460 </sect1> | |
461 | |
462 <sect1 id="amiga"> | |
463 <title>Amiga/MorphOS (GeekGadgets)</title> | |
464 <para> | |
465 Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer | |
466 </application> for MorphOS. Sadly it's based on the 0.90 series. | |
467 </para> | |
468 | |
469 <para> | |
470 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>: | |
11621 | 471 <itemizedlist> |
472 <listitem><para> | |
11614 | 473 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90"> |
474 <application>MPlayer</application> 0.91 binary</ulink> | |
11621 | 475 </para></listitem> |
476 <listitem><para> | |
11614 | 477 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91"> |
478 <application>MPlayer</application> 0.91 source</ulink> | |
11621 | 479 </para></listitem> |
480 <listitem><para> | |
11614 | 481 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=912"> |
482 <application>MEncoder</application> 0.91 binary</ulink> | |
11621 | 483 </para></listitem> |
484 </itemizedlist> | |
11607 | 485 </para> |
486 </sect1> | |
487 | |
9675 | 488 </chapter> |