Mercurial > mplayer.hg
annotate DOCS/xml/en/ports.xml @ 20322:f92bf1488265
some random fixes (wording, spelling..)
author | kraymer |
---|---|
date | Sat, 21 Oct 2006 08:44:10 +0000 |
parents | dd6a38fdbcc8 |
children | c96e99bef4dd |
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: | |
13939
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
21 |
9675 | 22 <screen>fakeroot debian/rules binary</screen> |
13939
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
23 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
24 If you want to pass custom options to configure, you can set up the |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
25 <envar>DEB_BUILD_OPTIONS</envar> environment variable. For instance, |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
26 if you want GUI and OSD menu support you would use: |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
27 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
28 <screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen> |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
29 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
30 You can also pass some variables to the Makefile. For example, if you want |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
31 to compile with gcc 3.4 even if it's not the default compiler: |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
32 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
33 <screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen> |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
34 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
35 To clean up the source tree run the following command: |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
36 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
37 <screen>fakeroot debian/rules clean</screen> |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
38 |
9675 | 39 As root you can then install the <filename>.deb</filename> package as usual: |
13939
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
40 |
9675 | 41 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen> |
42 </para> | |
43 | |
44 <para> | |
13813 | 45 Christian Marillat has been making unofficial Debian packages of |
11540 | 46 <application>MPlayer</application>, <application>MEncoder</application> and |
19814 | 47 our binary codec packages for a while, you can (apt-)get them from |
18820 | 48 <ulink url="http://www.debian-multimedia.org/">his homepage</ulink>. |
9675 | 49 </para> |
50 </sect2> | |
51 | |
52 <sect2 id="rpm"> | |
53 <title>RPM packaging</title> | |
54 <para> | |
15136
b2edad2111b8
update site link and supported distributions list
rathann
parents:
15029
diff
changeset
|
55 Dominik Mierzejewski created and maintains the official RPM packages of |
b2edad2111b8
update site link and supported distributions list
rathann
parents:
15029
diff
changeset
|
56 <application>MPlayer</application> for Red Hat and Fedora Core. They are available |
b2edad2111b8
update site link and supported distributions list
rathann
parents:
15029
diff
changeset
|
57 from his <ulink url="http://rpm.greysector.net/mplayer/">repository</ulink>. |
9675 | 58 </para> |
59 | |
60 <para> | |
15894 | 61 Mandrake/Mandriva RPM packages are available from the <ulink url="http://plf.zarb.org/">P.L.F.</ulink>. |
11540 | 62 SuSE used to include a crippled version of <application>MPlayer</application> |
63 in their distribution. They have removed it in their latest releases. You can | |
64 get working RPMs from | |
65 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>. | |
9675 | 66 </para> |
67 </sect2> | |
68 | |
69 <sect2 id="arm"> | |
70 <title>ARM</title> | |
71 <para> | |
11540 | 72 <application>MPlayer</application> works on Linux PDAs with ARM CPU e.g. Sharp Zaurus, |
73 Compaq Ipaq. The easiest way to obtain <application>MPlayer</application> is to get it | |
11714 | 74 from one of the <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds. If |
9675 | 75 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
|
76 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink> |
9675 | 77 and the |
78 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink> | |
79 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
|
80 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
|
81 <systemitem class="library">libavcodec</systemitem>. |
9675 | 82 If you need a GUI frontend, you can use xmms-embedded. |
83 </para> | |
84 </sect2> | |
85 </sect1> | |
86 | |
87 <sect1 id="bsd"> | |
88 <title>*BSD</title> | |
89 <para> | |
17294 | 90 <application>MPlayer</application> runs on all known BSD flavors. |
91 There are ports/pkgsrc/fink/etc versions of <application>MPlayer</application> | |
9675 | 92 available that are probably easier to use than our raw sources. |
93 </para> | |
94 | |
95 <para> | |
11540 | 96 To build <application>MPlayer</application> you will need GNU make |
97 (gmake - native BSD make will not work) and a recent version of binutils. | |
9675 | 98 </para> |
99 | |
100 <para> | |
11540 | 101 If <application>MPlayer</application> complains about not finding <filename>/dev/cdrom</filename> |
102 or <filename>/dev/dvd</filename>, create an appropriate symbolic link: | |
10958 | 103 <screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen> |
9675 | 104 </para> |
105 | |
106 <para> | |
11540 | 107 To use Win32 DLLs with <application>MPlayer</application> you will need to |
108 re-compile the kernel with "<envar>option USER_LDT</envar>" | |
109 (unless you run FreeBSD-CURRENT, | |
9675 | 110 where this is the default). |
111 </para> | |
112 | |
113 | |
114 <sect2 id="freebsd"> | |
115 <title>FreeBSD</title> | |
116 <para> | |
117 If your CPU has SSE, recompile your kernel with | |
118 "<envar>options CPU_ENABLE_SSE</envar>" (FreeBSD-STABLE or kernel | |
119 patches required). | |
120 </para> | |
121 </sect2> | |
122 | |
123 <sect2 id="openbsd"> | |
124 <title>OpenBSD</title> | |
125 <para> | |
126 Due to limitations in different versions of gas (relocation vs MMX), you | |
127 will need to compile in two steps: First make sure that the non-native as | |
128 is first in your <envar>$PATH</envar> and do a <command>gmake -k</command>, then | |
129 make sure that the native version is used and do <command>gmake</command>. | |
130 </para> | |
13281
d9b7fabd9739
OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents:
13222
diff
changeset
|
131 <para> |
d9b7fabd9739
OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents:
13222
diff
changeset
|
132 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
|
133 </para> |
9675 | 134 </sect2> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
135 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
136 <sect2 id="darwin"> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
137 <title>Darwin</title> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
138 <para> |
11348 | 139 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
|
140 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
141 </sect2> |
9675 | 142 </sect1> |
143 | |
17294 | 144 <sect1 id="unix"> |
145 <title>Commercial Unix</title> | |
146 | |
147 <para> | |
148 <application>MPlayer</application> has been ported to a number of commercial | |
149 Unix variants. Since the development environments on these systems tend to be | |
150 different from those found on free Unixes, you may have to make some manual | |
151 adjustments to make the build work. | |
152 </para> | |
153 | |
154 <sect2 id="solaris"> | |
155 <title>Solaris</title> | |
9675 | 156 <para> |
157 <application>MPlayer</application> should work on Solaris 2.6 or newer. | |
14632 | 158 Use the SUN audio driver with the <option>-ao sun</option> option for sound. |
9675 | 159 </para> |
160 | |
161 <para> | |
11540 | 162 On <emphasis role="bold">UltraSPARCs</emphasis>, <application>MPlayer</application> |
163 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
|
164 (equivalent to MMX), currently only in |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
165 <systemitem class="library">libmpeg2</systemitem>, |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
166 <systemitem class="library">libvo</systemitem> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
167 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
|
168 <systemitem class="library">mp3lib</systemitem>. You can watch a VOB file |
9675 | 169 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
|
170 <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
|
171 installed. |
9675 | 172 </para> |
173 | |
18672 | 174 <para><emphasis role="bold">Caveat:</emphasis></para> |
175 <itemizedlist> | |
176 <listitem><para><emphasis role="bold">mediaLib</emphasis> is | |
177 <emphasis role="bold">currently disabled</emphasis> by default in | |
178 <application>MPlayer</application> because of brokenness. SPARC users | |
179 who build MPlayer with mediaLib support have reported a thick, | |
180 green-tint on video encoded and decoded with libavcodec. You may enable | |
181 it if you wish with: | |
182 <screen> | |
183 $ ./configure --enable-mlib | |
184 </screen> | |
185 You do this at your own risk. x86 users should | |
186 <emphasis role="bold">never</emphasis> use mediaLib, as this will | |
187 result in very poor MPlayer performance. | |
188 </para></listitem> | |
189 </itemizedlist> | |
190 | |
9675 | 191 <para> |
192 To build the package you will need GNU <application>make</application> | |
193 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native | |
194 Solaris make will not work. Typical error you get when building with | |
195 Solaris' make instead of GNU make: | |
196 <screen> | |
197 % /usr/ccs/bin/make | |
198 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen | |
199 </screen> | |
200 </para> | |
201 | |
202 <para> | |
203 On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter if | |
204 GNU C/C++ compiler is configured with or without the GNU assembler. | |
205 </para> | |
206 | |
207 <para> | |
208 On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler, | |
12552 | 209 configured to use the GNU assembler! The <application>MPlayer</application> |
210 code on the x86 platform makes heavy use of MMX, SSE and 3DNOW! instructions | |
211 that cannot be compiled using Sun's assembler <filename>/usr/ccs/bin/as</filename>. | |
9675 | 212 </para> |
213 | |
12552 | 214 <para> |
215 The <filename>configure</filename> script tries to find out, which | |
9675 | 216 assembler program is used by your "gcc" command (in case the autodetection |
11630 | 217 fails, use the <option>--as=<replaceable>/wherever/you/have/installed/gnu-as</replaceable></option> |
9675 | 218 option to tell the <filename>configure</filename> script where it can find GNU |
219 "as" on your system). | |
220 </para> | |
221 | |
18672 | 222 <para>Solutions to common problems:</para> |
223 <itemizedlist> | |
224 <listitem><para> | |
9675 | 225 Error message from <filename>configure</filename> on a Solaris x86 system using |
226 GCC without GNU assembler: | |
227 <screen> | |
228 % configure | |
229 ... | |
230 Checking assembler (/usr/ccs/bin/as) ... , failed | |
231 Please upgrade(downgrade) binutils to 2.10.1... | |
232 </screen> | |
233 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>) | |
234 </para> | |
235 | |
236 <para> | |
237 Typical error you get when building with a GNU C compiler that does not use GNU as: | |
238 <screen> | |
239 % gmake | |
240 ... | |
241 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math | |
242 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c | |
243 Assembler: mplayer.c | |
244 "(stdin)", line 3567 : Illegal mnemonic | |
245 "(stdin)", line 3567 : Syntax error | |
246 ... more "Illegal mnemonic" and "Syntax error" errors ... | |
247 </screen> | |
248 </para> | |
18672 | 249 </listitem> |
9675 | 250 |
18672 | 251 <listitem><para><application>MPlayer</application> may segfault when decoding |
252 and encoding video that uses the win32codecs: | |
253 <screen> | |
254 ... | |
255 Trying to force audio codec driver family acm... | |
256 Opening audio decoder: [acm] Win32/ACM decoders | |
257 sysi86(SI86DSCR): Invalid argument | |
258 Couldn't install fs segment, expect segfault | |
259 | |
260 | |
261 MPlayer interrupted by signal 11 in module: init_audio_codec | |
262 ... | |
263 </screen> | |
264 This is because of a change to sysi86() in Solaris 10 and pre-Solaris | |
265 Nevada b31 releases. This has been fixed in Solaris Nevada b32; | |
266 however, Sun has yet to backport the fix to Solaris 10. The MPlayer | |
267 Project has made Sun aware of the problem and a patch is currently in | |
268 progress for Solaris 10. More information about this bug can be found | |
269 at: | |
270 <ulink | |
271 url="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6308413"/>. | |
272 </para> | |
273 </listitem> | |
274 | |
275 <listitem><para> | |
9675 | 276 Due to bugs in Solaris 8, you may not be able to play DVD discs larger than 4 GB: |
277 </para> | |
278 | |
279 <itemizedlist> | |
280 <listitem><para> | |
281 The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB | |
282 on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media). | |
283 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed | |
284 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>). | |
285 This problem does not exist in the SPARC version of Solaris 8. | |
286 </para></listitem> | |
287 | |
288 <listitem><para> | |
13222 | 289 A similar bug is present in the hsfs(7FS) filesystem code (AKA ISO9660), |
9675 | 290 hsfs may not not support partitions/disks larger than 4GB, all data is |
291 accessed modulo 4GB | |
292 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>). | |
293 The hsfs problem can be fixed by installing patch 109764-04 (sparc) / 109765-04 (x86). | |
294 </para></listitem> | |
295 </itemizedlist> | |
18672 | 296 </listitem> |
297 </itemizedlist> | |
17294 | 298 </sect2> |
9675 | 299 |
17294 | 300 <sect2 id="irix"> |
301 <title>IRIX</title> | |
9675 | 302 <para> |
303 You can either try to install the GNU install program, and (if you did | |
304 not put it in your global path) then point to the location with: | |
11630 | 305 <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen> |
9675 | 306 </para> |
307 | |
308 <para> | |
309 Or you can use the default install delivered with IRIX 6.5 in which case | |
310 you will have to edit the <filename>Makefile</filename> by hand a little bit. | |
311 Change the following two lines: | |
312 <programlisting> | |
313 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 | |
314 | |
315 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf | |
316 </programlisting> | |
317 to: | |
318 <programlisting> | |
319 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ | |
320 | |
321 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ | |
322 </programlisting> | |
11540 | 323 And then do (from within the <application>MPlayer</application> source dir): |
9675 | 324 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen> |
325 and then go on with building and installing. | |
326 </para> | |
17294 | 327 </sect2> |
9675 | 328 |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
329 |
17294 | 330 <sect2 id="hp-ux"> |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
331 <title>HP-UX</title> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
332 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
333 Joe Page hosts a detailed HP-UX <application>MPlayer</application> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
334 <ulink url="http://users.rcn.com/joepage/mplayer_on_hpux11.htm">HOWTO</ulink> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
335 by Martin Gansser on his homepage. With these instructions the build should |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
336 work out of the box. The following information is taken from this HOWTO. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
337 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
338 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
339 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
340 You need GCC 3.4.0 or later, GNU make 3.80 or later and SDL 1.2.7 or later. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
341 HP cc will not produce a working program, prior GCC versions are buggy. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
342 For OpenGL functionality you need to install Mesa and the gl and gl2 video |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
343 output drivers should work, speed may be very bad, depending on the CPU speed, |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
344 though. A good replacement for the rather poor native HP-UX sound system is |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
345 GNU esound. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
346 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
347 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
348 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
349 Create the DVD device |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
350 scan the SCSI bus with: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
351 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
352 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
353 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
354 # ioscan -fn |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
355 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
356 Class I H/W Path Driver S/W State H/W Type Description |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
357 ... |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
358 ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
359 target 3 8/16/5.2 tgt CLAIMED DEVICE |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
360 disk 4 8/16/5.<emphasis role="bold">2</emphasis>.<emphasis role="bold">0</emphasis> sdisk CLAIMED DEVICE <emphasis role="bold">PIONEER DVD-ROM DVD-305</emphasis> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
361 /dev/dsk/c1t2d0 <emphasis role="bold">/dev/rdsk/c1t2d0</emphasis> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
362 target 4 8/16/5.7 tgt CLAIMED DEVICE |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
363 ctl <emphasis role="bold">1</emphasis> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
364 /dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
365 ... |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
366 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
367 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
368 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
369 The screen output shows a Pioneer DVD-ROM at SCSI address 2. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
370 The card instance for hardware path 8/16 is 1. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
371 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
372 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
373 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
374 Create a link from the raw device to the DVD device. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
375 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
376 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
377 <screen> |
14136 | 378 # ln -s /dev/rdsk/c<replaceable><SCSI bus instance></replaceable>t<replaceable><SCSI target ID></replaceable>d<replaceable><LUN></replaceable> /dev/<replaceable><device></replaceable> |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
379 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
380 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
381 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
382 Example: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
383 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
384 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
385 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
386 # ln -s /dev/rdsk/c1t2d0 /dev/dvd |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
387 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
388 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
389 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
390 Below are solutions for some common problems: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
391 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
392 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
393 <itemizedlist> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
394 <listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
395 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
396 Crash at Start with the following error message: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
397 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
398 /usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
399 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
400 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
401 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
402 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
403 This means that the function <systemitem>.finite().</systemitem> is not |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
404 available in the standard HP-UX math library. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
405 Instead there is <systemitem>.isfinite().</systemitem>. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
406 Solution: Use the latest Mesa depot file. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
407 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
408 </listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
409 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
410 <listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
411 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
412 Crash at playback with the following error message: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
413 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
414 /usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
415 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
416 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
417 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
418 <para> |
14136 | 419 Solution: Use the extralibdir option of configure |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
420 <option>--with-extralibdir="/usr/lib -lrt"</option> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
421 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
422 </listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
423 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
424 <listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
425 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
426 MPlayer segfaults with a message like this: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
427 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
428 Pid 10166 received a SIGSEGV for stack growth failure. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
429 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
430 Segmentation fault |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
431 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
432 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
433 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
434 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
435 Solution: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
436 The HP-UX kernel has a default stack size of 8MB(?) per process.(11.0 and |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
437 newer 10.20 patches let you increase <systemitem>maxssiz</systemitem> up to |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
438 350MB for 32-bit programs). You need to extend <systemitem>maxssiz</systemitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
439 and recompile the kernel (and reboot). You can use SAM to do this. (While at |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
440 it, check out the <systemitem>maxdsiz</systemitem> parameter for the maximum |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
441 amount of data a program can use. It depends on your applications, if the |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
442 default of 64MB is enough or not.) |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
443 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
444 </listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
445 </itemizedlist> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
446 |
17294 | 447 </sect2> |
17442 | 448 |
449 <sect2 id="aix"> | |
450 <title>AIX</title> | |
451 <para> | |
452 <application>MPlayer</application> builds successfully on AIX 5.1, | |
453 5.2, and 5.3, using GCC 3.3 or greater. Building | |
454 <application>MPlayer</application> on AIX 4.3.3 and below is | |
455 untested. It is highly recommended that you build | |
456 <application>MPlayer</application> using GCC 3.4 or greater, | |
457 or if you are building on POWER5, GCC 4.0 is required. | |
458 </para> | |
459 | |
460 <para> | |
461 Ensure that you are using GNU make | |
462 (<filename>/opt/freeware/bin/gmake</filename>) to build | |
463 <application>MPlayer</application>, as you will encounter problems if | |
464 you use <filename>/usr/ccs/bin/make</filename>. | |
465 </para> | |
466 | |
467 <para> | |
468 CPU detection is still a work in progress. | |
469 The following architectures have been tested: | |
470 </para> | |
471 | |
472 <itemizedlist> | |
473 <listitem><para>604e</para></listitem> | |
18672 | 474 <listitem><para>POWER3</para></listitem> |
17442 | 475 <listitem><para>POWER4</para></listitem> |
476 </itemizedlist> | |
477 | |
478 <para> | |
479 The following architectures are untested, but should still work: | |
480 </para> | |
481 <itemizedlist> | |
482 <listitem><para>POWER</para></listitem> | |
483 <listitem><para>POWER2</para></listitem> | |
484 <listitem><para>POWER5</para></listitem> | |
485 </itemizedlist> | |
486 | |
487 <para> | |
488 Sound via the Ultimedia Services is not supported, as Ultimedia was | |
489 dropped in AIX 5.1; therefore, the only option is to use the AIX Open | |
490 Sound System (OSS) drivers from 4Front Technologies at <ulink | |
18672 | 491 url="http://www.opensound.com/aix.html">http://www.opensound.com/aix.html |
492 </ulink>. | |
493 4Front Technologies freely provides OSS drivers for AIX 5.1 for | |
494 non-commercial use; however, there are currently no sound output | |
495 drivers for AIX 5.2 or 5.3. This means <emphasis role="bold">AIX 5.2 | |
496 and 5.3 are not capable of MPlayer audio output, presently.</emphasis> | |
17442 | 497 </para> |
498 | |
18672 | 499 <para>Solutions to common problems:</para> |
500 | |
501 <itemizedlist> | |
502 <listitem> | |
503 <para> | |
504 If you encounter this error message from <filename>configure</filename>: | |
505 <screen> | |
506 $ ./configure | |
507 ... | |
508 Checking for iconv program ... no | |
509 No working iconv program found, use | |
510 --charset=US-ASCII to continue anyway. | |
511 Messages in the GTK-2 interface will be broken then. | |
512 </screen> | |
513 This is because AIX uses non-standard character set names; therefore, | |
514 converting MPlayer output to another character set is currently not | |
515 supported. The solution is to use: | |
516 <screen> | |
517 $ ./configure --charset=noconv | |
518 </screen> | |
519 </para> | |
520 </listitem> | |
521 </itemizedlist> | |
522 | |
17442 | 523 </sect2> |
9675 | 524 </sect1> |
525 | |
10561 | 526 <sect1 id="windows"> |
527 <title>Windows</title> | |
528 | |
11540 | 529 <para>Yes, <application>MPlayer</application> runs on Windows under |
530 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and | |
531 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>. | |
15458
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
532 It does not have an official GUI yet, but the command line version |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
533 is completely functional. You should check out the |
19709 | 534 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink> |
15458
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
535 mailing list for help and latest information. |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
536 Official Windows binaries can be found on the |
17706
83c1acef76d5
New website structure, the /homepage subdirectory is gone.
diego
parents:
17496
diff
changeset
|
537 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download page</ulink>. |
15458
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
538 Installer packages and simple GUI frontends are available from external |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
539 sources, we have collected then in the Windows section of our |
17706
83c1acef76d5
New website structure, the /homepage subdirectory is gone.
diego
parents:
17496
diff
changeset
|
540 <ulink url="http://www.mplayerhq.hu/design7/projects.html#windows">projects page</ulink>. |
15458
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
541 </para> |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
542 |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
543 <para>If you wish to avoid using the command line, a simple trick is |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
544 to put a shortcut on your desktop that contains something like the |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
545 following in the execute section: |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
546 <screen><replaceable>c:\path\to\</replaceable>mplayer.exe %1</screen> |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
547 This will make <application>MPlayer</application> play any movie that is |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
548 dropped on the shortcut. Add <option>-fs</option> for fullscreen mode. |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
549 </para> |
10561 | 550 |
551 <para>Best results are achieved with the native DirectX video output driver | |
17238
c310c682a186
Windows waveout is no longer the best choice under Windows.
diego
parents:
17173
diff
changeset
|
552 (<option>-vo directx</option>). Alternatives are OpenGL and SDL, but OpenGL |
12014 | 553 performance varies greatly between systems and SDL is known to |
17238
c310c682a186
Windows waveout is no longer the best choice under Windows.
diego
parents:
17173
diff
changeset
|
554 distort video or crash on some systems. If the image is |
10561 | 555 distorted, try turning off hardware acceleration with |
556 <option>-vo directx:noaccel</option>. Download | |
15681 | 557 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">DirectX 7 header files</ulink> |
13455 | 558 to compile the DirectX video output driver. Furthermore you need to have |
559 DirectX 7 or later installed for the DirectX video output driver to work. | |
560 </para> | |
9675 | 561 |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
562 <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
|
563 <option>-vo winvidix</option>, although it is still experimental |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
564 and needs a bit of manual setup. Download |
15681 | 565 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> or |
566 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (with MTRR support)</ulink> | |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
567 and copy it to the |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
568 <filename class="directory">libdha/dhahelperwin</filename> directory in your |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
569 <application>MPlayer</application> source tree. |
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
570 Open a console and change to that directory. Then type |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
571 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
572 <screen>gcc -o dhasetup.exe dhasetup.c</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
573 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
574 and execute |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
575 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
576 <screen>dhasetup.exe install</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
577 |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
578 as Administrator. After that you will have to reboot. When you are |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
579 done, copy the <systemitem class="library">.so</systemitem> files from |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
580 <filename class="directory">vidix/drivers</filename> to the |
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
581 <filename class="directory">mplayer/vidix</filename> directory |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
582 relative to your <filename>mplayer.exe</filename>.</para> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
583 |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
584 <para>For best results <application>MPlayer</application> should use a |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
585 colorspace that your video card supports in hardware. Unfortunately many |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
586 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
|
587 hardware. To find out which, try |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
588 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
589 <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
|
590 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
591 where <replaceable>colorspace</replaceable> can be any colorspace |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
592 printed by the <option>-vf format=fmt=help</option> option. If you |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
593 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
|
594 <option>-vf noformat=<replaceable>colorspace</replaceable></option> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
595 will keep it from being used. Add this to your config file to permanently |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
596 keep it from being used.</para> |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
597 |
14533
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
598 <para>There are special codec packages for Windows available on our |
19803
a8367d5b416b
link fix: The codecs page was merged into the download page.
diego
parents:
19709
diff
changeset
|
599 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download page</ulink> |
14533
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
600 to allow playing formats for which there is no native support yet. |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
601 Put the codecs somewhere in your path or pass |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
602 <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
603 (alternatively |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
604 <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option> |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
605 only on <application>Cygwin</application>) to <filename>configure</filename>. |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
606 We have had some reports that Real DLLs need to be writable by the user |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
607 running <application>MPlayer</application>, but only on some systems (NT4). |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
608 Try making them writable if you have problems.</para> |
10645 | 609 |
12439
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
610 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
611 that Windows exposes on VCDs. It works like this (adjust for the drive letter |
12439
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
612 of your CD-ROM):</para> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
613 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
614 <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
|
615 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
616 <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
|
617 of your DVD-ROM:</para> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
618 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
619 <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
|
620 |
11540 | 621 <para>The <application>Cygwin</application>/<application>MinGW</application> |
622 console is rather slow. Redirecting output or using the | |
623 <option>-quiet</option> option has been reported to improve performance on | |
624 some systems. Direct rendering (<option>-dr</option>) may also help. | |
17158 | 625 If playback is jerky, try |
10645 | 626 <option>-autosync 100</option>. If some of these options help you, you |
627 may want to put them in your config file.</para> | |
10561 | 628 |
17158 | 629 <note> |
630 | |
17173 | 631 <para>On Windows the runtime CPU detection disables SSE support |
632 because of recurring and hard-to-trace SSE-related crashes. If you | |
633 wish to have SSE support under Windows, you will have to compile without | |
634 runtime CPU-detection. | |
17158 | 635 </para> |
636 | |
637 <para>If you have a Pentium 4 and are experiencing a crash using the | |
17173 | 638 RealPlayer codecs, you may need to disable hyperthreading support. |
17158 | 639 </para> |
640 | |
641 </note> | |
642 | |
643 | |
10561 | 644 <sect2 id="cygwin"> |
11540 | 645 <title><application>Cygwin</application></title> |
10561 | 646 |
13892
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
647 <para>You need to run <application>Cygwin</application> 1.5.0 or later in |
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
648 order to compile <application>MPlayer</application>.</para> |
10561 | 649 |
650 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or | |
651 <filename class="directory">/usr/local/include/</filename>.</para> | |
652 | |
11540 | 653 <para>Instructions and files for making SDL run under |
654 <application>Cygwin</application> can be found on the | |
10561 | 655 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para> |
9675 | 656 |
10561 | 657 </sect2> |
658 | |
659 | |
660 <sect2 id="mingw"> | |
11540 | 661 <title><application>MinGW</application></title> |
10561 | 662 |
11540 | 663 <para>Installing a version of <application>MinGW</application> that could |
664 compile <application>MPlayer</application> used to be quite tricky, but it | |
665 works out of the box now. Just install <application>MinGW</application> | |
666 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that | |
667 <application>MinGW</application> is installed.</para> | |
9675 | 668 |
10561 | 669 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para> |
10191 | 670 |
12496
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
671 <para>MOV compressed header support requires |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
672 <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
|
673 <application>MinGW</application> does not provide by default. |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
674 Configure it with <option>--prefix=/mingw</option> and install |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
675 it before compiling <application>MPlayer</application>.</para> |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
676 |
15542 | 677 <para>Complete instructions for building <application>MPlayer</application> |
678 and necessary libraries can be found in the | |
15681 | 679 <ulink url="http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>.</para> |
15542 | 680 |
10561 | 681 </sect2> |
682 | |
683 | |
9675 | 684 </sect1> |
685 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
686 <sect1 id="macos"> |
11348 | 687 <title>Mac OS</title> |
18839 | 688 |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
689 <para> |
17272 | 690 <application>MPlayer</application> does not work on Mac OS versions before |
691 10, but should compile out-of-the-box on Mac OS X 10.2 and up. | |
692 The preferred compiler is the Apple version of | |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
693 GCC 3.x or later. |
18839 | 694 You can get the basic compilation environment by installing Apple's |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
695 <ulink url="http://developer.apple.com/tools/download/">Xcode</ulink>. |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
696 If you have Mac OS X 10.3.9 or later and QuickTime 7 |
18839 | 697 you can use the <option>macosx</option> video output driver. |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
698 </para> |
18839 | 699 |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
700 <para> |
18839 | 701 Unfortunately, this basic environment will not allow you to take advantage |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
702 of all the nice features of <application>MPlayer</application>. |
18839 | 703 For instance, in order to have OSD support compiled in, you will |
704 need to have <systemitem class="library">fontconfig</systemitem> | |
705 and <systemitem class="library">freetype</systemitem> libraries | |
706 installed on your machine. Contrary to other Unixes such as most | |
707 Linux and BSD variants, OS X does not have a package system | |
708 that comes with the system. | |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
709 </para> |
18839 | 710 |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
711 <para> |
18839 | 712 There are at least two to choose from: |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
713 <ulink url="http://fink.sourceforge.net/">Fink</ulink> and |
19418
02b91a15f69e
Update new DarwinPorts URL (as opendarwin.org is going bye-bye and
gpoirier
parents:
19099
diff
changeset
|
714 <ulink url="http://www.macports.org/">DarwinPorts</ulink>. |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
715 Both of them provide about the same service (i.e. a lot of packages to |
18839 | 716 choose from, dependency resolution, the ability to simply add/update/remove |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
717 packages, etc...). |
18839 | 718 Fink offers both precompiled binary packages or building everything from |
719 source, whereas DarwinPorts only offers building from source. | |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
720 The author of this guide chose DarwinPorts for the simple fact that its basic |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
721 setup was more lightweight. |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
722 Later examples will be based on DarwinPorts. |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
723 </para> |
18839 | 724 |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
725 <para> |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
726 For instance, to compile <application>MPlayer</application> with OSD support: |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
727 <screen>sudo port install pkgconfig</screen> |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
728 This will install <application>pkg-config</application>, which is a system for |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
729 managing library compile/link flags. |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
730 <application>MPlayer</application>'s <systemitem>configure</systemitem> script |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
731 uses it to properly detect libraries. |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
732 Then you can install <application>fontconfig</application> in a |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
733 similar way: |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
734 <screen>sudo port install fontconfig</screen> |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
735 Then you can proceed with launching <application>MPlayer</application>'s |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
736 <systemitem>configure</systemitem> script (note the |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
737 <systemitem>PKG_CONFIG_PATH</systemitem> and <systemitem>PATH</systemitem> |
18839 | 738 environment variables so that <systemitem>configure</systemitem> finds the |
18838
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
739 libraries installed with DarwinPorts): |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
740 <screen>PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/ PATH=$PATH:/opt/local/bin/ ./configure</screen> |
cf45632eaef6
More information on how to compile MPlayer on OSX with extra features
gpoirier
parents:
18820
diff
changeset
|
741 </para> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
742 |
17294 | 743 <sect2 id="osx_gui"> |
744 <title>MPlayer OS X GUI</title> | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
745 <para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
746 You can get a native GUI for <application>MPlayer</application> together with |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
747 precompiled <application>MPlayer</application> binaries for Mac OS X from the |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
748 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project, but be |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
749 warned: that project is not active anymore. |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
750 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
751 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
752 <para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
753 Fortunately, <application>MPlayerOSX</application> has been taken over |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
754 by a member of the <application>MPlayer</application> team. |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
755 Preview releases are available from our |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
756 <ulink url="http://mplayerhq.hu/dload.html">download page</ulink> |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
757 and an official release should arrive soon. |
16317 | 758 </para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
759 |
16317 | 760 <para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
761 In order to build <application>MPlayerOSX</application> from source |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
762 yourself, you need the <systemitem>mplayerosx</systemitem>, the |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
763 <systemitem>main</systemitem> and a copy of the |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
764 <systemitem>main</systemitem> CVS module named |
16317 | 765 <systemitem>main_noaltivec</systemitem>. |
766 <systemitem>mplayerosx</systemitem> is the GUI frontend, | |
767 <systemitem>main</systemitem> is MPlayer and | |
768 <systemitem>main_noaltivec</systemitem> is MPlayer built without AltiVec | |
769 support. | |
770 </para> | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
771 |
16317 | 772 <para> |
19099 | 773 To check out SVN modules use: |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
774 |
16317 | 775 <screen> |
18918
58b4379d19b0
Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents:
18839
diff
changeset
|
776 svn checkout svn://svn.mplayerhq.hu/mplayerosx/trunk/ mplayerosx |
58b4379d19b0
Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents:
18839
diff
changeset
|
777 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ main |
16317 | 778 </screen> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
779 </para> |
16317 | 780 |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
781 <para> |
16317 | 782 In order to build <application>MPlayerOSX</application> you will need to |
783 set up something like this: | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
784 |
16317 | 785 <screen> |
786 MPlayer_source_directory | |
787 | | |
18918
58b4379d19b0
Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents:
18839
diff
changeset
|
788 |--->main (MPlayer Subversion source) |
16317 | 789 | |
18918
58b4379d19b0
Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents:
18839
diff
changeset
|
790 |--->main_noaltivec (MPlayer Subversion source configured with --disable-altivec) |
16317 | 791 | |
18918
58b4379d19b0
Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents:
18839
diff
changeset
|
792 |--->mplayerosx (MPlayer OS X Subversion source) |
16317 | 793 </screen> |
794 | |
795 You first need to build main and main_noaltivec. | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
796 </para> |
16317 | 797 |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
798 <para> |
16317 | 799 Next, set a global variable: |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
800 |
16317 | 801 <screen>export MACOSX_DEPLOYMENT_TARGET=10.3</screen> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
802 </para> |
16317 | 803 |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
804 <para> |
16317 | 805 Then, configure: |
806 </para> | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
807 |
16317 | 808 <para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
809 If you configure for a G4 or later CPU with AltiVec support, do as follows: |
16317 | 810 <screen> |
811 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11 | |
812 </screen> | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
813 If you configure for a G3-powered machine without AltiVec, use: |
16317 | 814 <screen> |
815 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11 | |
816 --disable-altivec | |
817 </screen> | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
818 You may need to edit <filename>config.mak</filename> and change |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
819 <systemitem>-mcpu</systemitem> and <systemitem>-mtune</systemitem> |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
820 from <systemitem>74XX</systemitem> to <systemitem>G3</systemitem>. |
16317 | 821 </para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
822 |
16317 | 823 <para> |
824 Continue with | |
825 <screen> | |
826 make | |
827 </screen> | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
828 then go to the mplayerosx directory and type |
16317 | 829 |
830 <screen> | |
831 make dist | |
832 </screen> | |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
833 This will create a compressed <systemitem>.dmg</systemitem> archive |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
834 with the ready to use binary. |
16317 | 835 </para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
836 |
16317 | 837 <para> |
16439
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
838 You can also use the <application>Xcode</application> 2.1 project; |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
839 the old project for <application>Xcode</application> 1.x does |
abac160060a8
Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents:
16317
diff
changeset
|
840 not work anymore. |
11341 | 841 </para> |
17307 | 842 </sect2> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
843 </sect1> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
844 |
17294 | 845 <sect1 id="exotic_platforms"> |
846 <title>Exotic Platforms</title> | |
847 | |
848 <para> | |
849 <application>MPlayer</application> runs on a number of exotic platforms, | |
850 but most of the platform-specific changes from those systems have not been | |
851 merged back into the main source tree. | |
852 For build instructions you should refer to the system-specific documentation. | |
853 </para> | |
854 | |
855 <sect2 id="qnx"> | |
856 <title>QNX</title> | |
857 <para> | |
858 You'll need to download and install SDL for QNX. Then run | |
17496 | 859 <application>MPlayer</application> with <option>-vo sdl:driver=photon</option> |
17294 | 860 and <option>-ao sdl:nto</option> options, it should be fast. |
861 </para> | |
862 | |
863 <para> | |
864 The <option>-vo x11</option> output will be even slower than on Linux, | |
865 since QNX has only X <emphasis>emulation</emphasis> which is very slow. | |
866 </para> | |
867 </sect2> | |
868 | |
869 <sect2 id="amiga"> | |
11607 | 870 <title>Amiga/MorphOS (GeekGadgets)</title> |
871 <para> | |
19707 | 872 The people over at <ulink url="http://www.amigasoft.net">www.amigasoft.net</ulink> |
16121 | 873 make current <application>MPlayer</application> and |
874 <application>MEncoder</application> packages. | |
875 </para> | |
876 | |
877 <para> | |
11607 | 878 Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer |
879 </application> for MorphOS. Sadly it's based on the 0.90 series. | |
880 </para> | |
881 | |
882 <para> | |
883 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>: | |
11621 | 884 <itemizedlist> |
885 <listitem><para> | |
11614 | 886 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90"> |
887 <application>MPlayer</application> 0.91 binary</ulink> | |
11621 | 888 </para></listitem> |
889 <listitem><para> | |
11614 | 890 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91"> |
891 <application>MPlayer</application> 0.91 source</ulink> | |
11621 | 892 </para></listitem> |
893 <listitem><para> | |
14121 | 894 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92"> |
895 <application>MEncoder</application> 1.0pre3 binary</ulink> | |
11621 | 896 </para></listitem> |
897 </itemizedlist> | |
11607 | 898 </para> |
17294 | 899 </sect2> |
11607 | 900 </sect1> |
901 | |
9675 | 902 </chapter> |