annotate DOCS/xml/en/ports.xml @ 17706:83c1acef76d5

New website structure, the /homepage subdirectory is gone.
author diego
date Wed, 01 Mar 2006 10:01:43 +0000
parents 10e5a3268f60
children f3b0eea2ae9a
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:
13939
25db6ab99ff3 More detailed Debian package building instructions, based on a patch by
diego
parents: 13892
diff changeset
21
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 <para>
13813
1df2b6b4ad21 Marillat's homepage has moved.
diego
parents: 13763
diff changeset
45 Christian Marillat has been making unofficial Debian packages of
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
46 <application>MPlayer</application>, <application>MEncoder</application> and
13813
1df2b6b4ad21 Marillat's homepage has moved.
diego
parents: 13763
diff changeset
47 our bitmap fonts for a while, you can (apt-)get them from
1df2b6b4ad21 Marillat's homepage has moved.
diego
parents: 13763
diff changeset
48 <ulink url="http://hpisi.nerim.net/">his homepage</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 <sect2 id="rpm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 <title>RPM packaging</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 <para>
15894
688fa06538ef Mandrake --> Mandriva name change
diego
parents: 15681
diff changeset
61 Mandrake/Mandriva 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
62 SuSE used to include a crippled version of <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
63 in their distribution. They have removed it in their latest releases. You can
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
64 get working RPMs from
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
65 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 <sect2 id="arm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 <title>ARM</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
72 <application>MPlayer</application> works on Linux PDAs with ARM CPU e.g. Sharp Zaurus,
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
73 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
74 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
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <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
79 directory in the OpenZaurus distribution buildroot. These always have the latest
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
80 Makefile and patches used for building a CVS <application>MPlayer</application> with
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
81 <systemitem class="library">libavcodec</systemitem>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 If you need a GUI frontend, you can use xmms-embedded.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <sect1 id="bsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <title>*BSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 <para>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
90 <application>MPlayer</application> runs on all known BSD flavors.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
91 There are ports/pkgsrc/fink/etc versions of <application>MPlayer</application>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 available that are probably easier to use than our raw sources.
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 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
96 To build <application>MPlayer</application> you will need GNU make
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
97 (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
98 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
101 If <application>MPlayer</application> complains about not finding <filename>/dev/cdrom</filename>
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
102 or <filename>/dev/dvd</filename>, create an appropriate symbolic link:
10958
4dc1203f8004 Small improvement - added replaceable tags.
lumag
parents: 10913
diff changeset
103 <screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
107 To use Win32 DLLs with <application>MPlayer</application> you will need to
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
108 re-compile the kernel with &quot;<envar>option USER_LDT</envar>&quot;
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
109 (unless you run FreeBSD-CURRENT,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 where this is the default).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <sect2 id="freebsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 <title>FreeBSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 If your CPU has SSE, recompile your kernel with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 &quot;<envar>options CPU_ENABLE_SSE</envar>&quot; (FreeBSD-STABLE or kernel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 patches required).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 <sect2 id="openbsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 <title>OpenBSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 Due to limitations in different versions of gas (relocation vs MMX), you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 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
128 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
129 make sure that the native version is used and do <command>gmake</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 </para>
13281
d9b7fabd9739 OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents: 13222
diff changeset
131 <para>
d9b7fabd9739 OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents: 13222
diff changeset
132 As of OpenBSD 3.4 the hack above is no longer needed.
d9b7fabd9739 OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents: 13222
diff changeset
133 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 </sect2>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
135
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
136 <sect2 id="darwin">
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
137 <title>Darwin</title>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
138 <para>
11348
e740b4a7a194 cosmetics
diego
parents: 11341
diff changeset
139 See the <link linkend="macos">Mac OS</link> section.
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
140 </para>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
141 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
144 <sect1 id="unix">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
145 <title>Commercial Unix</title>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
146
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
147 <para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
148 <application>MPlayer</application> has been ported to a number of commercial
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
149 Unix variants. Since the development environments on these systems tend to be
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
150 different from those found on free Unixes, you may have to make some manual
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
151 adjustments to make the build work.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
152 </para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
153
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
154 <sect2 id="solaris">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
155 <title>Solaris</title>
9675
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 <application>MPlayer</application> should work on Solaris 2.6 or newer.
14632
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14533
diff changeset
158 Use the SUN audio driver with the <option>-ao sun</option> option for sound.
9675
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>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
162 On <emphasis role="bold">UltraSPARCs</emphasis>, <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
163 takes advantage of their <emphasis role="bold">VIS</emphasis> extensions
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
164 (equivalent to MMX), currently only in
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
165 <systemitem class="library">libmpeg2</systemitem>,
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
166 <systemitem class="library">libvo</systemitem>
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
167 and <systemitem class="library">libavcodec</systemitem>, but not in
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
168 <systemitem class="library">mp3lib</systemitem>. You can watch a VOB file
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 on a 400MHz CPU. You'll need
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
170 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
171 installed.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173
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 To build the package you will need GNU <application>make</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 Solaris make will not work. Typical error you get when building with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 Solaris' make instead of GNU make:
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 % /usr/ccs/bin/make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 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
187 GNU C/C++ compiler is configured with or without the GNU assembler.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler,
12552
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
192 configured to use the GNU assembler! The <application>MPlayer</application>
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
193 code on the x86 platform makes heavy use of MMX, SSE and 3DNOW! instructions
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
194 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
195 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196
12552
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
197 <para>
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
198 The <filename>configure</filename> script tries to find out, which
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 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
200 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
201 option to tell the <filename>configure</filename> script where it can find GNU
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 "as" on your system).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 Error message from <filename>configure</filename> on a Solaris x86 system using
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 GCC without GNU assembler:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 % configure
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 Checking assembler (/usr/ccs/bin/as) ... , failed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 Please upgrade(downgrade) binutils to 2.10.1...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 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
219 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 % gmake
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224 Assembler: mplayer.c
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 "(stdin)", line 3567 : Illegal mnemonic
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 "(stdin)", line 3567 : Syntax error
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 ... more "Illegal mnemonic" and "Syntax error" errors ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230
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 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
233 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 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
238 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
239 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 This problem does not exist in the SPARC version of Solaris 8.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 <listitem><para>
13222
diego
parents: 12881
diff changeset
245 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
246 hsfs may not not support partitions/disks larger than 4GB, all data is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 accessed modulo 4GB
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 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
250 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 </itemizedlist>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
252 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
254 <sect2 id="irix">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
255 <title>IRIX</title>
9675
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 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
258 not put it in your global path) then point to the location with:
11630
cf622752369d Add two <replaceable> tags
lumag
parents: 11621
diff changeset
259 <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen>
9675
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 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
264 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
265 Change the following two lines:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 to:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 </programlisting>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
277 And then do (from within the <application>MPlayer</application> source dir):
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 and then go on with building and installing.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 </para>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
281 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
283
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
284 <sect2 id="hp-ux">
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
285 <title>HP-UX</title>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
286 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
287 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
288 <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
289 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
290 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
291 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
292
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
293 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
294 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
295 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
296 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
297 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
298 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
299 GNU esound.
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
300 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
301
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
302 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
303 Create the DVD device
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
304 scan the SCSI bus with:
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
305 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
306
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
307 <screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
308 # ioscan -fn
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
309
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
310 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
311 ...
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
312 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
313 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
314 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
315 /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
316 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
317 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
318 /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
319 ...
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
320 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
321
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
322 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
323 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
324 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
325 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
326
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
327 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
328 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
329 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
330
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
331 <screen>
14136
b3133af9666d - corrected <device< to <device>
wight
parents: 14121
diff changeset
332 # ln -s /dev/rdsk/c<replaceable>&lt;SCSI bus instance&gt;</replaceable>t<replaceable>&lt;SCSI target ID&gt;</replaceable>d<replaceable>&lt;LUN&gt;</replaceable> /dev/<replaceable>&lt;device&gt;</replaceable>
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
333 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
334
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
335 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
336 Example:
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
337 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
338
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
339 <screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
340 # 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
341 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
342
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
343 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
344 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
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 <itemizedlist>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
348 <listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
349 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
350 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
351 <screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
352 /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
353 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
354 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
355
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
356 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
357 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
358 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
359 Instead there is <systemitem>.isfinite().</systemitem>.
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
360 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
361 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
362 </listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
363
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
364 <listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
365 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
366 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
367 <screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
368 /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
369 </screen>
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>
14136
b3133af9666d - corrected <device< to <device>
wight
parents: 14121
diff changeset
373 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
374 <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
375 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
376 </listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
377
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
378 <listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
379 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
380 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
381 <screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
382 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
383 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
384 Segmentation fault
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
385 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
386 </para>
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 Solution:
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
390 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
391 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
392 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
393 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
394 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
395 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
396 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
397 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
398 </listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
399 </itemizedlist>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
400
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
401 </sect2>
17442
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
402
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
403 <sect2 id="aix">
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
404 <title>AIX</title>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
405 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
406 <application>MPlayer</application> builds successfully on AIX 5.1,
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
407 5.2, and 5.3, using GCC 3.3 or greater. Building
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
408 <application>MPlayer</application> on AIX 4.3.3 and below is
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
409 untested. It is highly recommended that you build
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
410 <application>MPlayer</application> using GCC 3.4 or greater,
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
411 or if you are building on POWER5, GCC 4.0 is required.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
412 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
413
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
414 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
415 Ensure that you are using GNU make
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
416 (<filename>/opt/freeware/bin/gmake</filename>) to build
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
417 <application>MPlayer</application>, as you will encounter problems if
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
418 you use <filename>/usr/ccs/bin/make</filename>.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
419 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
420
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
421 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
422 CPU detection is still a work in progress.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
423 The following architectures have been tested:
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
424 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
425
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
426 <itemizedlist>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
427 <listitem><para>604e</para></listitem>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
428 <listitem><para>POWER4</para></listitem>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
429 </itemizedlist>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
430
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
431 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
432 The following architectures are untested, but should still work:
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
433 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
434 <itemizedlist>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
435 <listitem><para>POWER</para></listitem>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
436 <listitem><para>POWER2</para></listitem>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
437 <listitem><para>POWER3</para></listitem>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
438 <listitem><para>POWER5</para></listitem>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
439 </itemizedlist>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
440
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
441 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
442 Sound via the Ultimedia Services is not supported, as Ultimedia was
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
443 dropped in AIX 5.1; therefore, the only option is to use the AIX Open
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
444 Sound System (OSS) drivers from 4Front Technologies at <ulink
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
445 url="http://www.opensound.com/aix.html">http://www.opensound.com/aix.html</ulink>.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
446 4Front Technologies freely provides the OSS drivers for personal and
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
447 non-commercial usage.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
448 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
449
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
450 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452
10561
diego
parents: 10445
diff changeset
453 <sect1 id="windows">
diego
parents: 10445
diff changeset
454 <title>Windows</title>
diego
parents: 10445
diff changeset
455
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
456 <para>Yes, <application>MPlayer</application> runs on Windows under
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
457 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
458 <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
459 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
460 is completely functional. You should check out the
15029
b0dd473ed38a correct spelling for mailing list names
diego
parents: 14632
diff changeset
461 <ulink url="http://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
462 mailing list for help and latest information.
9df34c9d1747 Explain how to drop movies on desktop shortcuts, other updates.
diego
parents: 15136
diff changeset
463 Official Windows binaries can be found on the
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17496
diff changeset
464 <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
465 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
466 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
467 <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
468 </para>
9df34c9d1747 Explain how to drop movies on desktop shortcuts, other updates.
diego
parents: 15136
diff changeset
469
9df34c9d1747 Explain how to drop movies on desktop shortcuts, other updates.
diego
parents: 15136
diff changeset
470 <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
471 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
472 following in the execute section:
9df34c9d1747 Explain how to drop movies on desktop shortcuts, other updates.
diego
parents: 15136
diff changeset
473 <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
474 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
475 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
476 </para>
10561
diego
parents: 10445
diff changeset
477
diego
parents: 10445
diff changeset
478 <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
479 (<option>-vo directx</option>). Alternatives are OpenGL and SDL, but OpenGL
12014
0a20e1643227 OpenGL now works under Windows.
diego
parents: 11891
diff changeset
480 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
481 distort video or crash on some systems. If the image is
10561
diego
parents: 10445
diff changeset
482 distorted, try turning off hardware acceleration with
diego
parents: 10445
diff changeset
483 <option>-vo directx:noaccel</option>. Download
15681
499df199a29f URL update, Windows port is no longer beta.
diego
parents: 15542
diff changeset
484 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">DirectX 7 header files</ulink>
13455
e0e3eaae127f DirectX 7 or later is needed for -vo directx.
diego
parents: 13281
diff changeset
485 to compile the DirectX video output driver. Furthermore you need to have
e0e3eaae127f DirectX 7 or later is needed for -vo directx.
diego
parents: 13281
diff changeset
486 DirectX 7 or later installed for the DirectX video output driver to work.
e0e3eaae127f DirectX 7 or later is needed for -vo directx.
diego
parents: 13281
diff changeset
487 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488
12418
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
489 <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
490 <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
491 and needs a bit of manual setup. Download
15681
499df199a29f URL update, Windows port is no longer beta.
diego
parents: 15542
diff changeset
492 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> or
499df199a29f URL update, Windows port is no longer beta.
diego
parents: 15542
diff changeset
493 <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
494 and copy it to the
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
495 <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
496 <application>MPlayer</application> source tree.
c5502c9d4fb5 whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents: 13754
diff changeset
497 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
498
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
499 <screen>gcc -o dhasetup.exe dhasetup.c</screen>
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
500
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
501 and execute
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
502
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
503 <screen>dhasetup.exe install</screen>
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
504
13763
c5502c9d4fb5 whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents: 13754
diff changeset
505 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
506 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
507 <filename class="directory">vidix/drivers</filename> to the
c5502c9d4fb5 whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents: 13754
diff changeset
508 <filename class="directory">mplayer/vidix</filename> directory
12418
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
509 relative to your <filename>mplayer.exe</filename>.</para>
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
510
12325
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
511 <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
512 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
513 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
514 hardware. To find out which, try
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
515
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
516 <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
517
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
518 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
519 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
520 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
521 <option>-vf noformat=<replaceable>colorspace</replaceable></option>
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
522 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
523 keep it from being used.</para>
12325
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
524
14533
d5b27912e97a Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents: 14136
diff changeset
525 <para>There are special codec packages for Windows available on our
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17496
diff changeset
526 <ulink url="http://www.mplayerhq.hu/design7/codecs.html">codecs page</ulink>
14533
d5b27912e97a Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents: 14136
diff changeset
527 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
528 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
529 <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
530 (alternatively
d5b27912e97a Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents: 14136
diff changeset
531 <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
532 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
533 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
534 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
535 Try making them writable if you have problems.</para>
10645
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
536
12439
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
537 <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
538 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
539 of your CD-ROM):</para>
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
540
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
541 <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
542
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
543 <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
544 of your DVD-ROM:</para>
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
545
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
546 <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
547
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
548 <para>The <application>Cygwin</application>/<application>MinGW</application>
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
549 console is rather slow. Redirecting output or using the
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
550 <option>-quiet</option> option has been reported to improve performance on
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
551 some systems. Direct rendering (<option>-dr</option>) may also help.
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
552 If playback is jerky, try
10645
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
553 <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
554 may want to put them in your config file.</para>
10561
diego
parents: 10445
diff changeset
555
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
556 <note>
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
557
17173
60a4b99ab1b7 punctuation fixes for the previous commit
wanderer
parents: 17158
diff changeset
558 <para>On Windows the runtime CPU detection disables SSE support
60a4b99ab1b7 punctuation fixes for the previous commit
wanderer
parents: 17158
diff changeset
559 because of recurring and hard-to-trace SSE-related crashes. If you
60a4b99ab1b7 punctuation fixes for the previous commit
wanderer
parents: 17158
diff changeset
560 wish to have SSE support under Windows, you will have to compile without
60a4b99ab1b7 punctuation fixes for the previous commit
wanderer
parents: 17158
diff changeset
561 runtime CPU-detection.
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
562 </para>
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
563
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
564 <para>If you have a Pentium 4 and are experiencing a crash using the
17173
60a4b99ab1b7 punctuation fixes for the previous commit
wanderer
parents: 17158
diff changeset
565 RealPlayer codecs, you may need to disable hyperthreading support.
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
566 </para>
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
567
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
568 </note>
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
569
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
570
10561
diego
parents: 10445
diff changeset
571 <sect2 id="cygwin">
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
572 <title><application>Cygwin</application></title>
10561
diego
parents: 10445
diff changeset
573
13892
934721303a4b We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents: 13813
diff changeset
574 <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
575 order to compile <application>MPlayer</application>.</para>
10561
diego
parents: 10445
diff changeset
576
diego
parents: 10445
diff changeset
577 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
diego
parents: 10445
diff changeset
578 <filename class="directory">/usr/local/include/</filename>.</para>
diego
parents: 10445
diff changeset
579
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
580 <para>Instructions and files for making SDL run under
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
581 <application>Cygwin</application> can be found on the
10561
diego
parents: 10445
diff changeset
582 <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
583
10561
diego
parents: 10445
diff changeset
584 </sect2>
diego
parents: 10445
diff changeset
585
diego
parents: 10445
diff changeset
586
diego
parents: 10445
diff changeset
587 <sect2 id="mingw">
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
588 <title><application>MinGW</application></title>
10561
diego
parents: 10445
diff changeset
589
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
590 <para>Installing a version of <application>MinGW</application> that could
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
591 compile <application>MPlayer</application> used to be quite tricky, but it
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
592 works out of the box now. Just install <application>MinGW</application>
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
593 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
594 <application>MinGW</application> is installed.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
595
10561
diego
parents: 10445
diff changeset
596 <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
597
12496
8f4574d094a5 MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents: 12439
diff changeset
598 <para>MOV compressed header support requires
8f4574d094a5 MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents: 12439
diff changeset
599 <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
600 <application>MinGW</application> does not provide by default.
8f4574d094a5 MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents: 12439
diff changeset
601 Configure it with <option>--prefix=/mingw</option> and install
8f4574d094a5 MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents: 12439
diff changeset
602 it before compiling <application>MPlayer</application>.</para>
8f4574d094a5 MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents: 12439
diff changeset
603
15542
83b5083d4a85 Mention the MinGW HOWTO.
diego
parents: 15458
diff changeset
604 <para>Complete instructions for building <application>MPlayer</application>
83b5083d4a85 Mention the MinGW HOWTO.
diego
parents: 15458
diff changeset
605 and necessary libraries can be found in the
15681
499df199a29f URL update, Windows port is no longer beta.
diego
parents: 15542
diff changeset
606 <ulink url="http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>.</para>
15542
83b5083d4a85 Mention the MinGW HOWTO.
diego
parents: 15458
diff changeset
607
10561
diego
parents: 10445
diff changeset
608 </sect2>
diego
parents: 10445
diff changeset
609
diego
parents: 10445
diff changeset
610
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
611 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
612
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
613 <sect1 id="macos">
11348
e740b4a7a194 cosmetics
diego
parents: 11341
diff changeset
614 <title>Mac OS</title>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
615 <para>
17272
782712db746a Mac OS update
diego
parents: 17238
diff changeset
616 <application>MPlayer</application> does not work on Mac OS versions before
782712db746a Mac OS update
diego
parents: 17238
diff changeset
617 10, but should compile out-of-the-box on Mac OS X 10.2 and up.
782712db746a Mac OS update
diego
parents: 17238
diff changeset
618 The preferred compiler is the Apple version of
16472
ae74a32ca5d9 Remove incorrect information about gcc 2.95.x on PPC, mention vo_macosx.
diego
parents: 16439
diff changeset
619 GCC 3.x or later. If you have Mac OS X 10.3.9 or later and QuickTime 7
ae74a32ca5d9 Remove incorrect information about gcc 2.95.x on PPC, mention vo_macosx.
diego
parents: 16439
diff changeset
620 you can use the macosx video output driver.
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
621 </para>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
622
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
623 <sect2 id="osx_gui">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
624 <title>MPlayer OS X GUI</title>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
625 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
626 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
627 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
628 <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
629 warned: that project is not active anymore.
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
630 </para>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
631
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
632 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
633 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
634 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
635 Preview releases are available from our
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
636 <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
637 and an official release should arrive soon.
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
638 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
639
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
640 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
641 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
642 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
643 <systemitem>main</systemitem> and a copy of the
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
644 <systemitem>main</systemitem> CVS module named
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
645 <systemitem>main_noaltivec</systemitem>.
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
646 <systemitem>mplayerosx</systemitem> is the GUI frontend,
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
647 <systemitem>main</systemitem> is MPlayer and
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
648 <systemitem>main_noaltivec</systemitem> is MPlayer built without AltiVec
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
649 support.
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
650 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
651
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
652 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
653 To check out CVS modules use:
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
654
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
655 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
656 cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
657 cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P mplayerosx
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
658 cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
659 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
660 </para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
661
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
662 <para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
663 In order to build <application>MPlayerOSX</application> you will need to
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
664 set up something like this:
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
665
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
666 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
667 MPlayer_source_directory
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
668 |
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
669 |--->main (MPlayer CVS source)
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
670 |
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
671 |--->main_noaltivec (MPlayer CVS source configured with --disable-altivec)
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
672 |
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
673 |--->mplayerosx (MPlayer OS X CVS source)
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
674 </screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
675
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
676 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
677 </para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
678
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
679 <para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
680 Next, set a global variable:
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
681
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
682 <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
683 </para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
684
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
685 <para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
686 Then, configure:
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
687 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
688
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
689 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
690 If you configure for a G4 or later CPU with AltiVec support, do as follows:
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
691 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
692 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
693 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
694 If you configure for a G3-powered machine without AltiVec, use:
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
695 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
696 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
697 --disable-altivec
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
698 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
699 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
700 <systemitem>-mcpu</systemitem> and <systemitem>-mtune</systemitem>
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
701 from <systemitem>74XX</systemitem> to <systemitem>G3</systemitem>.
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
702 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
703
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
704 <para>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
705 Continue with
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
706 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
707 make
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
708 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
709 then go to the mplayerosx directory and type
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
710
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
711 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
712 make dist
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
713 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
714 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
715 with the ready to use binary.
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
716 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
717
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
718 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
719 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
720 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
721 not work anymore.
11341
alex
parents: 11340
diff changeset
722 </para>
17307
d6983ae72e0e 10l build fix
diego
parents: 17294
diff changeset
723 </sect2>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
724 </sect1>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
725
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
726 <sect1 id="exotic_platforms">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
727 <title>Exotic Platforms</title>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
728
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
729 <para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
730 <application>MPlayer</application> runs on a number of exotic platforms,
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
731 but most of the platform-specific changes from those systems have not been
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
732 merged back into the main source tree.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
733 For build instructions you should refer to the system-specific documentation.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
734 </para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
735
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
736 <sect2 id="qnx">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
737 <title>QNX</title>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
738 <para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
739 You'll need to download and install SDL for QNX. Then run
17496
10e5a3268f60 10l: wrong syntax
gpoirier
parents: 17495
diff changeset
740 <application>MPlayer</application> with <option>-vo sdl:driver=photon</option>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
741 and <option>-ao sdl:nto</option> options, it should be fast.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
742 </para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
743
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
744 <para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
745 The <option>-vo x11</option> output will be even slower than on Linux,
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
746 since QNX has only X <emphasis>emulation</emphasis> which is very slow.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
747 </para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
748 </sect2>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
749
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
750 <sect2 id="amiga">
11607
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
751 <title>Amiga/MorphOS (GeekGadgets)</title>
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
752 <para>
16121
cf0c9afda05c Amiga port from www.amigasoft.net
diego
parents: 15894
diff changeset
753 The people over at <ulink url="www.amigasoft.net">www.amigasoft.net</ulink>
cf0c9afda05c Amiga port from www.amigasoft.net
diego
parents: 15894
diff changeset
754 make current <application>MPlayer</application> and
cf0c9afda05c Amiga port from www.amigasoft.net
diego
parents: 15894
diff changeset
755 <application>MEncoder</application> packages.
cf0c9afda05c Amiga port from www.amigasoft.net
diego
parents: 15894
diff changeset
756 </para>
cf0c9afda05c Amiga port from www.amigasoft.net
diego
parents: 15894
diff changeset
757
cf0c9afda05c Amiga port from www.amigasoft.net
diego
parents: 15894
diff changeset
758 <para>
11607
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
759 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
760 </application> for MorphOS. Sadly it's based on the 0.90 series.
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
761 </para>
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
762
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
763 <para>
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
764 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
11621
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
765 <itemizedlist>
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
766 <listitem><para>
11614
d6e75d9c7d81 added missing <application> tags
paszczi
parents: 11607
diff changeset
767 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
d6e75d9c7d81 added missing <application> tags
paszczi
parents: 11607
diff changeset
768 <application>MPlayer</application> 0.91 binary</ulink>
11621
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
769 </para></listitem>
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
770 <listitem><para>
11614
d6e75d9c7d81 added missing <application> tags
paszczi
parents: 11607
diff changeset
771 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
d6e75d9c7d81 added missing <application> tags
paszczi
parents: 11607
diff changeset
772 <application>MPlayer</application> 0.91 source</ulink>
11621
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
773 </para></listitem>
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
774 <listitem><para>
14121
3ebb4191be3f link updates, noticed by Nicolas Le Gaillart
diego
parents: 14114
diff changeset
775 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
3ebb4191be3f link updates, noticed by Nicolas Le Gaillart
diego
parents: 14114
diff changeset
776 <application>MEncoder</application> 1.0pre3 binary</ulink>
11621
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
777 </para></listitem>
cc2bbda6db52 made MorphZone resources more readable
paszczi
parents: 11614
diff changeset
778 </itemizedlist>
11607
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
779 </para>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
780 </sect2>
11607
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
781 </sect1>
1eeb4d55b0f2 hp-ux and amiga sections
alex
parents: 11546
diff changeset
782
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
783 </chapter>