annotate DOCS/xml/en/ports.xml @ 21521:b210a229fbcb

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