annotate DOCS/xml/en/ports.xml @ 37195:ac6c37d85d65 default tip

configure: Fix initialization of variable def_local_aligned_32 It contiained the #define of HAVE_LOCAL_ALIGNED_16 instead of HAVE_LOCAL_ALIGNED_32.
author al
date Sun, 28 Sep 2014 18:38:41 +0000
parents f2b81cd25817
children
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 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
7 Binary packages of <application>MPlayer</application> are available from several
28390
e5fbea4e9dd7 Remove hints about specific binary packages, add a link to the list
diego
parents: 28389
diff changeset
8 sources. We have a list of places to get
e5fbea4e9dd7 Remove hints about specific binary packages, add a link to the list
diego
parents: 28389
diff changeset
9 <ulink url="http://www.mplayerhq.hu/design7/projects.html#unofficial_packages">unofficial packages</ulink>
28393
f5c4bd25082c Move note about binary packages to the top section.
diego
parents: 28392
diff changeset
10 for various systems on our homepage.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
11 However, <emphasis role="bold">none of these packages are supported</emphasis>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 Report problems to the authors, not to us.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14
28393
f5c4bd25082c Move note about binary packages to the top section.
diego
parents: 28392
diff changeset
15 <sect1 id="linux">
f5c4bd25082c Move note about binary packages to the top section.
diego
parents: 28392
diff changeset
16 <title>Linux</title>
f5c4bd25082c Move note about binary packages to the top section.
diego
parents: 28392
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 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
50 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
51
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 <sect2 id="rpm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 <title>RPM packaging</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
54
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 <para>
28397
16063be69792 Reminder for Dominik to update the RPM packaging section.
diego
parents: 28396
diff changeset
56 To build an RPM package, run the following command in the
16063be69792 Reminder for Dominik to update the RPM packaging section.
diego
parents: 28396
diff changeset
57 <application>MPlayer</application> source directory:
16063be69792 Reminder for Dominik to update the RPM packaging section.
diego
parents: 28396
diff changeset
58
16063be69792 Reminder for Dominik to update the RPM packaging section.
diego
parents: 28396
diff changeset
59 <screen>FIXME: insert proper commands here</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
63 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
64
28396
65444b642a27 Rename "ARM" section to "ARM Linux".
diego
parents: 28394
diff changeset
65 <sect2 id="arm_linux">
65444b642a27 Rename "ARM" section to "ARM Linux".
diego
parents: 28394
diff changeset
66 <title>ARM Linux</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
67
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
69 <application>MPlayer</application> works on Linux PDAs with ARM CPU e.g. Sharp
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
70 Zaurus, Compaq Ipaq. The easiest way to obtain
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
71 <application>MPlayer</application> is to get it from one of the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
72 <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
73 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
74 <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
75 and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 <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
77 directory in the OpenZaurus distribution buildroot. These always have the latest
20403
e9ae984af8cd Yet some more CVS->CVS
gpoirier
parents: 20401
diff changeset
78 Makefile and patches used for building a SVN <application>MPlayer</application>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 If you need a GUI frontend, you can use xmms-embedded.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
84
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
85 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
86
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
87
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <sect1 id="bsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 <title>*BSD</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
90
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <para>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
92 <application>MPlayer</application> runs on all known BSD flavors.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
93 There are ports/pkgsrc/fink/etc versions of <application>MPlayer</application>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 available that are probably easier to use than our raw sources.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
98 If <application>MPlayer</application> complains about not finding
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
99 <filename>/dev/cdrom</filename> or <filename>/dev/dvd</filename>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
100 create an appropriate symbolic link:
10958
4dc1203f8004 Small improvement - added replaceable tags.
lumag
parents: 10913
diff changeset
101 <screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
105 To use Win32 DLLs with <application>MPlayer</application> you will need to
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
106 re-compile the kernel with "<envar>option USER_LDT</envar>"
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
107 (unless you run FreeBSD-CURRENT,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 where this is the default).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
111 <!-- ********** -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <sect2 id="freebsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <title>FreeBSD</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
115
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 If your CPU has SSE, recompile your kernel with
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
118 "<envar>options CPU_ENABLE_SSE</envar>" (FreeBSD-STABLE or kernel
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 patches required).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
123 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
124
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 <sect2 id="openbsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 <title>OpenBSD</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
127
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 Due to limitations in different versions of gas (relocation vs MMX), you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 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
131 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
132 make sure that the native version is used and do <command>gmake</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
134
13281
d9b7fabd9739 OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents: 13222
diff changeset
135 <para>
d9b7fabd9739 OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents: 13222
diff changeset
136 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
137 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 </sect2>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
139
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
140 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
141
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
142 <sect2 id="darwin">
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
143 <title>Darwin</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
144
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
145 <para>
11348
e740b4a7a194 cosmetics
diego
parents: 11341
diff changeset
146 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
147 </para>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
148 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
151
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
152 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
153
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
154
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
155 <sect1 id="unix">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
156 <title>Commercial Unix</title>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
157
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
158 <para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
159 <application>MPlayer</application> has been ported to a number of commercial
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
160 Unix variants. Since the development environments on these systems tend to be
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
161 different from those found on free Unixes, you may have to make some manual
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
162 adjustments to make the build work.
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
163 </para>
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
164
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
165 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
166
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
167 <sect2 id="solaris">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
168 <title>Solaris</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
169
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 <para>
28385
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
171 Solaris still has broken, POSIX-incompatible system tools and shell in default
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
172 locations. Until a bold step out of the computing stone age is made, you will
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
173 have to add <filename>/usr/xpg4/bin</filename> to your
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
174 <systemitem>PATH</systemitem>.
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
175 </para>
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
176
838215551d62 Add a note about adding /usr/xpg4/bin to your PATH on Solaris.
diego
parents: 28384
diff changeset
177 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 <application>MPlayer</application> should work on Solaris 2.6 or newer.
14632
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14533
diff changeset
179 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
180 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
183 On <emphasis role="bold">UltraSPARCs</emphasis>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
184 <application>MPlayer</application> takes advantage of their
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
185 <emphasis role="bold">VIS</emphasis> extensions
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
186 (equivalent to MMX), currently only in
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
187 <systemitem class="library">libmpeg2</systemitem>,
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11802
diff changeset
188 <systemitem class="library">libvo</systemitem>
35167
f2b81cd25817 Remove outdated references to mp3lib and tremor.
reimar
parents: 32661
diff changeset
189 and <systemitem class="library">libavcodec</systemitem>.
f2b81cd25817 Remove outdated references to mp3lib and tremor.
reimar
parents: 32661
diff changeset
190 You can watch a VOB file
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 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
192 <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
193 installed.
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
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
196 <para><emphasis role="bold">Caveat:</emphasis></para>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
197 <itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
198 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
199 <emphasis role="bold">mediaLib</emphasis> is
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
200 <emphasis role="bold">currently disabled</emphasis> by default in
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
201 <application>MPlayer</application> because of brokenness. SPARC users
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
202 who build MPlayer with mediaLib support have reported a thick,
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
203 green-tint on video encoded and decoded with libavcodec. You may enable
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
204 it if you wish with:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
205 <screen>./configure --enable-mlib</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
206 You do this at your own risk. x86 users should
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
207 <emphasis role="bold">never</emphasis> use mediaLib, as this will
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
208 result in very poor MPlayer performance.
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
209 </para></listitem>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
210 </itemizedlist>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
211
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 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
214 GNU C/C++ compiler is configured with or without the GNU assembler.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler,
12552
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
219 configured to use the GNU assembler! The <application>MPlayer</application>
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
220 code on the x86 platform makes heavy use of MMX, SSE and 3DNOW! instructions
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
221 that cannot be compiled using Sun's assembler
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
222 <filename>/usr/ccs/bin/as</filename>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224
12552
e58d894d570b removing unused parts
alex
parents: 12496
diff changeset
225 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
226 The <filename>configure</filename> script tries to find out, which assembler
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
227 program is used by your "gcc" command (in case the autodetection
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
228 fails, use the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
229 <option>--as=<replaceable>/wherever/you/have/installed/gnu-as</replaceable></option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 option to tell the <filename>configure</filename> script where it can find GNU
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 "as" on your system).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
234 <para>Solutions to common problems:</para>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
235 <itemizedlist>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
236 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
237 Error message from <filename>configure</filename> on a Solaris x86 system
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
238 using GCC without GNU assembler:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
239 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
240 % configure
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
241 ...
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
242 Checking assembler (/usr/ccs/bin/as) ... , failed
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
243 Please upgrade(downgrade) binutils to 2.10.1...<!--
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
244 --></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
245 (Solution: Install and use a gcc configured with
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
246 <option>--with-as=gas</option>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
250 Typical error you get when building with a GNU C compiler that does not
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
251 use GNU as:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 <screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
253 % gmake
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
254 ...
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
255 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 29210
diff changeset
256 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
257 Assembler: mplayer.c
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
258 "(stdin)", line 3567 : Illegal mnemonic
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
259 "(stdin)", line 3567 : Syntax error
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
260 ... more "Illegal mnemonic" and "Syntax error" errors ...
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 </para>
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
263 </listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
265 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
266 <application>MPlayer</application> may segfault when decoding
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
267 and encoding video that uses the win32codecs:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
268 <screen>
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
269 ...
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
270 Trying to force audio codec driver family acm...
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
271 Opening audio decoder: [acm] Win32/ACM decoders
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
272 sysi86(SI86DSCR): Invalid argument
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
273 Couldn't install fs segment, expect segfault
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
274
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
275
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
276 MPlayer interrupted by signal 11 in module: init_audio_codec
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
277 ...<!--
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
278 --></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
279 This is because of a change to sysi86() in Solaris 10 and pre-Solaris
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
280 Nevada b31 releases. This has been fixed in Solaris Nevada b32;
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
281 however, Sun has yet to backport the fix to Solaris 10. The MPlayer
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
282 Project has made Sun aware of the problem and a patch is currently in
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
283 progress for Solaris 10. More information about this bug can be found
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
284 at:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
285 <ulink url="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6308413"/>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
286 </para></listitem>
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
287
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
288 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
289 Due to bugs in Solaris 8,
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
290 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
291 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
295 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
296 on a device using a logical blocksize != DEV_BSIZE
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
297 (i.e. CD-ROM and DVD media).
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
298 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
299 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
300 This problem does not exist in the SPARC version of Solaris 8.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 <listitem><para>
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26904
diff changeset
304 A similar bug is present in the hsfs(7FS) file system code (AKA ISO9660),
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
305 hsfs may not not support partitions/disks larger than 4GB, all data is
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
306 accessed modulo 4GB
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
307 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
308 The hsfs problem can be fixed by installing
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26904
diff changeset
309 patch 109764-04 (SPARC) / 109765-04 (x86).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 </itemizedlist>
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
312 </listitem>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
313 </itemizedlist>
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
314 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
316 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
317
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
318 <sect2 id="hp-ux">
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
319 <title>HP-UX</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
320
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
321 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
322 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
323 <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
324 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
325 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
326 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
327
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
328 <para>
28384
452c6b9ffaad Remove remarks about GNU Make being required on some systems.
diego
parents: 28114
diff changeset
329 You need GCC 3.4.0 or later and SDL 1.2.7 or later.
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
330 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
331 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
332 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
333 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
334 GNU esound.
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
335 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
336
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
337 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
338 Create the DVD device
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
339 scan the SCSI bus with:
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
340
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
341 <screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
342 # ioscan -fn
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
343
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
344 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
345 ...
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
346 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
347 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
348 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
349 /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
350 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
351 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
352 /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
353 ...
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
354 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
355
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
356 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
357 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
358 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
359
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
360 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
361 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
362 <screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
363 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
364 </screen>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
365 Example:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
366 <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
367 </para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
368
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
369 <para>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
370 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
371
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
372 <itemizedlist>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
373 <listitem>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
374 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
375 Crash at Start with the following error message:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
376 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
377 /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
378 --></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
379 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
380 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
381 This means that the function <systemitem>.finite().</systemitem> is not
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
382 available in the standard HP-UX math library.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
383 Instead there is <systemitem>.isfinite().</systemitem>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
384 Solution: Use the latest Mesa depot file.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
385 </para>
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
386 </listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
387
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
388 <listitem>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
389 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
390 Crash at playback with the following error message:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
391 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
392 /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
393 --></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
394 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
395 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
396 Solution: Use the extralibdir option of configure
32661
4a354cdcf847 Replace obsolete '--with-extralibdir' configure option by '--extra-ldflags'.
diego
parents: 30990
diff changeset
397 <option>--extra-ldflags="/usr/lib -lrt"</option>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
398 </para>
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
399 </listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
400
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
401 <listitem>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
402 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
403 MPlayer segfaults with a message like this:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
404 <screen>
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
405 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
406 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
407 Segmentation fault<!--
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
408 --></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
409 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
410 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
411 Solution:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
412 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
413 newer 10.20 patches let you increase <systemitem>maxssiz</systemitem> up to
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
414 350MB for 32-bit programs). You need to extend
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
415 <systemitem>maxssiz</systemitem> and recompile the kernel (and reboot).
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
416 You can use SAM to do this.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
417 (While at it, check out the <systemitem>maxdsiz</systemitem> parameter for
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
418 the maximum amount of data a program can use.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
419 It depends on your applications, if the default of 64MB is enough or not.)
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
420 </para>
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
421 </listitem>
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
422 </itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
423 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
424 </sect2>
14114
072c69e79c23 More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents: 14044
diff changeset
425
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
426 <!-- ********** -->
17442
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
427
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
428 <sect2 id="aix">
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
429 <title>AIX</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
430
17442
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
431 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
432 <application>MPlayer</application> builds successfully on AIX 5.1,
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
433 5.2, and 5.3, using GCC 3.3 or greater. Building
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
434 <application>MPlayer</application> on AIX 4.3.3 and below is
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
435 untested. It is highly recommended that you build
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
436 <application>MPlayer</application> using GCC 3.4 or greater,
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
437 or if you are building on POWER5, GCC 4.0 is required.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
438 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
439
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
440 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
441 CPU detection is still a work in progress.
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
442 The following architectures have been tested:
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
443 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
444
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
445 <itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
446 <listitem><para>604e</para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
447 <listitem><para>POWER3</para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
448 <listitem><para>POWER4</para></listitem>
17442
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
449 </itemizedlist>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
450
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
451 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
452 The following architectures are untested, but should still work:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
453 <itemizedlist>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
454 <listitem><para>POWER</para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
455 <listitem><para>POWER2</para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
456 <listitem><para>POWER5</para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
457 </itemizedlist>
17442
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
458 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
459
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
460 <para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
461 Sound via the Ultimedia Services is not supported, as Ultimedia was
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
462 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
463 Sound System (OSS) drivers from 4Front Technologies at
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
464 <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
465 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
466 non-commercial use; however, there are currently no sound output
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
467 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
468 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
469 </para>
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
470
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
471 <para>Solutions to common problems:</para>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
472
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
473 <itemizedlist>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
474 <listitem>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
475 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
476 If you encounter this error message from <filename>./configure</filename>:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
477 <screen>
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
478 $ ./configure
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
479 ...
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
480 Checking for iconv program ... no
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
481 No working iconv program found, use
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
482 --charset=US-ASCII to continue anyway.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
483 Messages in the GTK-2 interface will be broken then.<!--
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
484 --></screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
485 This is because AIX uses non-standard character set names; therefore,
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
486 converting MPlayer output to another character set is currently not
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
487 supported. The solution is to use:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
488 <screen>$ ./configure --charset=noconv</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
489 </para>
18672
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
490 </listitem>
f3b0eea2ae9a Expand and update the Solaris and AIX sections.
diego
parents: 17706
diff changeset
491 </itemizedlist>
17442
7442443767ce AIX section for the ports description
diego
parents: 17307
diff changeset
492 </sect2>
28394
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
493
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
494 <!-- ********** -->
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
495
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
496 <sect2 id="qnx">
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
497 <title>QNX</title>
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
498
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
499 <para>
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
500 You'll need to download and install SDL for QNX. Then run
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
501 <application>MPlayer</application> with <option>-vo sdl:driver=photon</option>
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
502 and <option>-ao sdl:nto</option> options, it should be fast.
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
503 </para>
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
504
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
505 <para>
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
506 The <option>-vo x11</option> output will be even slower than on Linux,
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
507 since QNX has only X <emphasis>emulation</emphasis> which is very slow.
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
508 </para>
08b94fcdbf87 Move QNX subsection to commercial Unix section.
diego
parents: 28393
diff changeset
509 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
510 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
511
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
512
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
513 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
514
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
515
10561
diego
parents: 10445
diff changeset
516 <sect1 id="windows">
diego
parents: 10445
diff changeset
517 <title>Windows</title>
diego
parents: 10445
diff changeset
518
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
519 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
520 Yes, <application>MPlayer</application> runs on Windows under
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
521 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
522 and
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
523 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
524 It does not have an official GUI yet, but the command line version
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
525 is completely functional. You should check out the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
526 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
527 mailing list for help and latest information.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
528 Official Windows binaries can be found on the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
529 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download page</ulink>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
530 Installer packages and simple GUI frontends are available from external
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
531 sources, we have collected then in the Windows section of our
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
532 <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
533 </para>
9df34c9d1747 Explain how to drop movies on desktop shortcuts, other updates.
diego
parents: 15136
diff changeset
534
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
535 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
536 If you wish to avoid using the command line, a simple trick is
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
537 to put a shortcut on your desktop that contains something like the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
538 following in the execute section:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
539 <screen><replaceable>c:\path\to\</replaceable>mplayer.exe %1</screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
540 This will make <application>MPlayer</application> play any movie that is
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
541 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
542 </para>
10561
diego
parents: 10445
diff changeset
543
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
544 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
545 Best results are achieved with the native DirectX video output driver
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
546 (<option>-vo directx</option>). Alternatives are OpenGL and SDL, but OpenGL
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
547 performance varies greatly between systems and SDL is known to
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
548 distort video or crash on some systems. If the image is
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
549 distorted, try turning off hardware acceleration with
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
550 <option>-vo directx:noaccel</option>. Download
25742
354f4b9d96f5 URL updates for contributed win32 stuff.
diego
parents: 25095
diff changeset
551 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/win32/dx7headers.tgz">DirectX 7 header files</ulink>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
552 to compile the DirectX video output driver. Furthermore you need to have
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
553 DirectX 7 or later installed for the DirectX video output driver to work.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
554 </para>
12418
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
555
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
556 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
557 <link linkend="vidix">VIDIX</link> now works under Windows as
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
558 <option>-vo winvidix</option>, although it is still experimental
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
559 and needs a bit of manual setup. Download
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
560 <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
561 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (with MTRR support)</ulink>
23253
aeef449e5923 libdha is no more.
diego
parents: 23143
diff changeset
562 and copy it to the <filename class="directory">vidix/dhahelperwin</filename>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
563 directory in your <application>MPlayer</application> source tree.
26904
b4a743e6d17d Add install-dhahelperwin target to simplify dhahelper installation on Windows.
diego
parents: 26899
diff changeset
564 Open a console and type
b4a743e6d17d Add install-dhahelperwin target to simplify dhahelper installation on Windows.
diego
parents: 26899
diff changeset
565 <screen>make install-dhahelperwin</screen>
25743
6486e10d4f4e VIDIX is no longer a shared library.
diego
parents: 25742
diff changeset
566 as Administrator. After that you will have to reboot.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
567 </para>
12418
80266d26d80c winvidix documented, alternative ways of specifying -dvd-device.
diego
parents: 12325
diff changeset
568
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
569 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
570 For best results <application>MPlayer</application> should use a
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
571 colorspace that your video card supports in hardware. Unfortunately many
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
572 Windows graphics drivers wrongly report some colorspaces as supported in
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
573 hardware. To find out which, try
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
574 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
575 mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
576 </screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
577 where <replaceable>colorspace</replaceable> can be any colorspace
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
578 printed by the <option>-vf format=fmt=help</option> option. If you
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
579 find a colorspace your card handles particularly bad
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
580 <option>-vf noformat=<replaceable>colorspace</replaceable></option>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
581 will keep it from being used. Add this to your config file to permanently
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
582 keep it from being used.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
583 </para>
12325
9e5ebd0c97d0 Hint about testing different colorspaces and putting codes in ./, based on
diego
parents: 12014
diff changeset
584
14533
d5b27912e97a Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents: 14136
diff changeset
585 <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
586 <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
587 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
588 Put the codecs somewhere in your path or pass
20545
150596447eda --with-codecsdir --> --codecsdir
diego
parents: 20535
diff changeset
589 <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
590 (alternatively
20545
150596447eda --with-codecsdir --> --codecsdir
diego
parents: 20535
diff changeset
591 <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
592 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
593 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
594 running <application>MPlayer</application>, but only on some systems (NT4).
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
595 Try making them writable if you have problems.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
596 </para>
12439
33916977a36e Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents: 12418
diff changeset
597
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
598 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
599 You can play VCDs by playing the <filename>.DAT</filename> or
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
600 <filename>.MPG</filename> files that Windows exposes on VCDs. It works like
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
601 this (adjust for the drive letter of your CD-ROM):
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
602 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
25095
b97d8dedb68b vcd://<n> now works for MinGW32 too, hence the updated doc
zuxy
parents: 25091
diff changeset
603 Alternatively, you can play a VCD track directly by using:
b97d8dedb68b vcd://<n> now works for MinGW32 too, hence the updated doc
zuxy
parents: 25091
diff changeset
604 <screen>mplayer vcd://<replaceable>&lt;track&gt;</replaceable> -cdrom-device <replaceable>d:</replaceable>
b97d8dedb68b vcd://<n> now works for MinGW32 too, hence the updated doc
zuxy
parents: 25091
diff changeset
605 </screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
606 DVDs also work, adjust <option>-dvd-device</option> for the drive letter
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
607 of your DVD-ROM:
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
608 <screen>
25091
d0fda824ce5d Put colon inside replaceable tag.
diego
parents: 24879
diff changeset
609 mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device <replaceable>d:</replaceable>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
610 </screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
611 The <application>Cygwin</application>/<application>MinGW</application>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
612 console is rather slow. Redirecting output or using the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
613 <option>-quiet</option> option has been reported to improve performance on
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
614 some systems. Direct rendering (<option>-dr</option>) may also help.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
615 If playback is jerky, try
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
616 <option>-autosync 100</option>. If some of these options help you, you
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
617 may want to put them in your config file.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
618 </para>
10561
diego
parents: 10445
diff changeset
619
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
620 <note>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
621 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
622 If you have a Pentium 4 and are experiencing a crash using the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
623 RealPlayer codecs, you may need to disable hyperthreading support.
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
624 </para>
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
625 </note>
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
626
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
627 <!-- ********** -->
17158
6f07bdc2d4e8 known bugs with P4 and SSE, small fixes
diego
parents: 16472
diff changeset
628
10561
diego
parents: 10445
diff changeset
629 <sect2 id="cygwin">
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
630 <title><application>Cygwin</application></title>
10561
diego
parents: 10445
diff changeset
631
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
632 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
633 You need to run <application>Cygwin</application> 1.5.0 or later in
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
634 order to compile <application>MPlayer</application>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
635 </para>
10561
diego
parents: 10445
diff changeset
636
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
637 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
638 DirectX header files need to be extracted to
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
639 <filename class="directory">/usr/include/</filename> or
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
640 <filename class="directory">/usr/local/include/</filename>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
641 </para>
10561
diego
parents: 10445
diff changeset
642
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
643 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
644 Instructions and files for making SDL run under
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
645 <application>Cygwin</application> can be found on the
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
646 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
647 </para>
10561
diego
parents: 10445
diff changeset
648 </sect2>
diego
parents: 10445
diff changeset
649
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
650 <!-- ********** -->
10561
diego
parents: 10445
diff changeset
651
diego
parents: 10445
diff changeset
652 <sect2 id="mingw">
11540
d480f7e36b74 <application> attack
wight
parents: 11531
diff changeset
653 <title><application>MinGW</application></title>
10561
diego
parents: 10445
diff changeset
654
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
655 <para>
28392
c386e556901b Reword beginning of MinGW section.
diego
parents: 28391
diff changeset
656 You need <application>MinGW</application> 3.1.0 or later and MSYS 1.0.9 or
c386e556901b Reword beginning of MinGW section.
diego
parents: 28391
diff changeset
657 later. Tell the MSYS postinstall that <application>MinGW</application> is
c386e556901b Reword beginning of MinGW section.
diego
parents: 28391
diff changeset
658 installed.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
659 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
660
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
661 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
662 Extract DirectX header files to
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
663 <filename class="directory">/mingw/include/</filename>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
664 </para>
10191
6e6844f66d85 -vo directx:ontop, console output, inttypes.h
diego
parents: 10184
diff changeset
665
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
666 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
667 MOV compressed header support requires
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
668 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>,
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
669 which <application>MinGW</application> does not provide by default.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
670 Configure it with <option>--prefix=/mingw</option> and install
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
671 it before compiling <application>MPlayer</application>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
672 </para>
12496
8f4574d094a5 MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents: 12439
diff changeset
673
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
674 <para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
675 Complete instructions for building <application>MPlayer</application>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
676 and necessary libraries can be found in the
25742
354f4b9d96f5 URL updates for contributed win32 stuff.
diego
parents: 25095
diff changeset
677 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/win32/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
678 </para>
10561
diego
parents: 10445
diff changeset
679 </sect2>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
680 </sect1>
10561
diego
parents: 10445
diff changeset
681
diego
parents: 10445
diff changeset
682
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
683 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
684
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
685
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
686 <sect1 id="macos">
11348
e740b4a7a194 cosmetics
diego
parents: 11341
diff changeset
687 <title>Mac OS</title>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
688
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
689 <para>
17272
782712db746a Mac OS update
diego
parents: 17238
diff changeset
690 <application>MPlayer</application> does not work on Mac OS versions before
782712db746a Mac OS update
diego
parents: 17238
diff changeset
691 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
692 The preferred compiler is the Apple version of
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
693 GCC 3.x or later.
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
694 You can get the basic compilation environment by installing Apple's
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
695 <ulink url="http://developer.apple.com/tools/download/">Xcode</ulink>.
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
696 If you have Mac OS X 10.3.9 or later and QuickTime 7
29210
779281d8cd80 Rename macosx video output driver to corevideo.
diego
parents: 28397
diff changeset
697 you can use the <option>corevideo</option> video output driver.
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
698 </para>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
699
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
700 <para>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
701 Unfortunately, this basic environment will not allow you to take advantage
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
702 of all the nice features of <application>MPlayer</application>.
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
703 For instance, in order to have OSD support compiled in, you will
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
704 need to have <systemitem class="library">fontconfig</systemitem>
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
705 and <systemitem class="library">freetype</systemitem> libraries
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
706 installed on your machine. Contrary to other Unixes such as most
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
707 Linux and BSD variants, OS X does not have a package system
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
708 that comes with the system.
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
709 </para>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
710
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
711 <para>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
712 There are at least two to choose from:
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
713 <ulink url="http://fink.sourceforge.net/">Fink</ulink> and
20401
c96e99bef4dd s/DarwinPorts/MacPorts/
gpoirier
parents: 19814
diff changeset
714 <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
715 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
716 choose from, dependency resolution, the ability to simply add/update/remove
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
717 packages, etc...).
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
718 Fink offers both precompiled binary packages or building everything from
20401
c96e99bef4dd s/DarwinPorts/MacPorts/
gpoirier
parents: 19814
diff changeset
719 source, whereas MacPorts only offers building from source.
c96e99bef4dd s/DarwinPorts/MacPorts/
gpoirier
parents: 19814
diff changeset
720 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
721 setup was more lightweight.
20401
c96e99bef4dd s/DarwinPorts/MacPorts/
gpoirier
parents: 19814
diff changeset
722 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
723 </para>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
724
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
725 <para>
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
726 For instance, to compile <application>MPlayer</application> with OSD support:
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 26904
diff changeset
727 <screen>sudo port install pkg-config</screen>
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
728 This will install <application>pkg-config</application>, which is a system for
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
729 managing library compile/link flags.
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
730 <application>MPlayer</application>'s <systemitem>configure</systemitem> script
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
731 uses it to properly detect libraries.
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
732 Then you can install <application>fontconfig</application> in a
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
733 similar way:
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
734 <screen>sudo port install fontconfig</screen>
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
735 Then you can proceed with launching <application>MPlayer</application>'s
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
736 <systemitem>configure</systemitem> script (note the
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
737 <systemitem>PKG_CONFIG_PATH</systemitem> and <systemitem>PATH</systemitem>
18839
0db2e1ae26dc typo/grammar fixes
diego
parents: 18838
diff changeset
738 environment variables so that <systemitem>configure</systemitem> finds the
20401
c96e99bef4dd s/DarwinPorts/MacPorts/
gpoirier
parents: 19814
diff changeset
739 libraries installed with MacPorts):
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
740 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
741 PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/ PATH=$PATH:/opt/local/bin/ ./configure
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
742 </screen>
18838
cf45632eaef6 More information on how to compile MPlayer on OSX with extra features
gpoirier
parents: 18820
diff changeset
743 </para>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
744
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
745 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
746
17294
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
747 <sect2 id="osx_gui">
c70365d7e234 Restructure ports section.
diego
parents: 17272
diff changeset
748 <title>MPlayer OS X GUI</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
749
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
750 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
751 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
752 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
753 <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
754 warned: that project is not active anymore.
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
755 </para>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
756
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
757 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
758 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
759 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
760 Preview releases are available from our
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
761 <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
762 and an official release should arrive soon.
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
763 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
764
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
765 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
766 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
767 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
768 <systemitem>main</systemitem> and a copy of the
20403
e9ae984af8cd Yet some more CVS->CVS
gpoirier
parents: 20401
diff changeset
769 <systemitem>main</systemitem> SVN module named
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
770 <systemitem>main_noaltivec</systemitem>.
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
771 <systemitem>mplayerosx</systemitem> is the GUI frontend,
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
772 <systemitem>main</systemitem> is MPlayer and
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
773 <systemitem>main_noaltivec</systemitem> is MPlayer built without AltiVec
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
774 support.
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
775 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
776
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
777 <para>
19099
6d0edf8101da - CVS --> SVN
boskicinek
parents: 18918
diff changeset
778 To check out SVN modules use:
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
779 <screen>
18918
58b4379d19b0 Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents: 18839
diff changeset
780 svn checkout svn://svn.mplayerhq.hu/mplayerosx/trunk/ mplayerosx
58b4379d19b0 Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents: 18839
diff changeset
781 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ main
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
782 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
783 </para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
784
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
785 <para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
786 In order to build <application>MPlayerOSX</application> you will need to
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
787 set up something like this:
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
788 <screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
789 MPlayer_source_directory
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
790 |
18918
58b4379d19b0 Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents: 18839
diff changeset
791 |--->main (MPlayer Subversion source)
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
792 |
18918
58b4379d19b0 Update MPlayerOSX checkout commandlines with subversion commandline
gpoirier
parents: 18839
diff changeset
793 |--->main_noaltivec (MPlayer Subversion source configured with --disable-altivec)
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
794 |
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
795 \--->mplayerosx (MPlayer OS X Subversion source)
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
796 </screen>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
797 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
798 </para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
799
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
800 <para>
22481
ce511dbb0d68 Improve MPlayerOSX building process:
gpoirier
parents: 21608
diff changeset
801 To begin with, in order to ensure maximum backwards compatibility, set an
ce511dbb0d68 Improve MPlayerOSX building process:
gpoirier
parents: 21608
diff changeset
802 environment variable:
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
803 <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
804 </para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
805
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
806 <para>
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
807 Then, configure:
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
808 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
809
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
810 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
811 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
812 <screen>
22481
ce511dbb0d68 Improve MPlayerOSX building process:
gpoirier
parents: 21608
diff changeset
813 ./configure --disable-gl --disable-x11
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
814 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
815 If you configure for a G3-powered machine without AltiVec, use:
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
816 <screen>
22481
ce511dbb0d68 Improve MPlayerOSX building process:
gpoirier
parents: 21608
diff changeset
817 ./configure --disable-gl --disable-x11 --disable-altivec
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
818 </screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
819 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
820 <systemitem>-mcpu</systemitem> and <systemitem>-mtune</systemitem>
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
821 from <systemitem>74XX</systemitem> to <systemitem>G3</systemitem>.
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
822 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
823
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
824 <para>
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
825 Continue with
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
826 <screen>make</screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
827 then go to the mplayerosx directory and type
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20545
diff changeset
828 <screen>make dist</screen>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
829 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
830 with the ready to use binary.
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
831 </para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
832
16317
458c83408fd7 How to build MPlayerOSX
gpoirier
parents: 16121
diff changeset
833 <para>
16439
abac160060a8 Mac OS X section reviewed for wording/spelling/grammar and content.
diego
parents: 16317
diff changeset
834 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
835 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
836 not work anymore.
11341
alex
parents: 11340
diff changeset
837 </para>
17307
d6983ae72e0e 10l build fix
diego
parents: 17294
diff changeset
838 </sect2>
11340
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
839 </sect1>
5d1438e8511a a bit of consistency changes and new macos&darwin sections
alex
parents: 11338
diff changeset
840
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
841 </chapter>