annotate DOCS/xml/en/ports.xml @ 13281:d9b7fabd9739

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