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