annotate DOCS/xml/en/ports.xml @ 9677:142c42fa0986

sync with HTML
author nicolas
date Mon, 24 Mar 2003 17:24:25 +0000
parents 62c5a17038ba
children b6c63ab184a4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2 <chapter id="ports" xreflabel="Ports">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <title>Ports</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 <sect1 id="linux">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <title>Linux</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 The main development platform is Linux on x86, although
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <application>MPlayer</application> works on many other Linux ports.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 Binary packages of MPlayer are available from several sources. However,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 <emphasis role="bold">none of these packages are supported</emphasis>.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 <sect2 id="debian">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <title>Debian packaging</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 To build a Debian package, run the following command in the MPlayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 source directory:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <screen>fakeroot debian/rules binary</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 As root you can then install the <filename>.deb</filename> package as usual:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 Christian Marillat has been making unofficial Debian MPlayer, MEncoder and font
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 packages for a while, you can (apt-)get them from his
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 <ulink url="http://marillat.free.fr/">homepage</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <sect2 id="rpm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <title>RPM packaging</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 Dominik Mierzejewski created and maintains official Red Hat RPM packages of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <application>MPlayer</application>. They are available from his
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <ulink url="http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/">homepage</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 Mandrake RPM packages are available from the <ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 SuSE includes a crippled version of MPlayer in their distribution. If you want all the features
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 you will have to install from source.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 <sect2 id="arm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <title>ARM</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 MPlayer works on Linux PDAs with ARM CPU e.g. Sharp Zaurus, Compaq Ipaq. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 easiest way to obtain MPlayer is to get it from one of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds. If
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 you want to compile it yourself, you should look at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">MPlayer</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 <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
57 directory in the OpenZaurus distribution buildroot. These always have the latest
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 Makefile and patches used for building a CVS MPlayer with libavcodec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 If you need a GUI frontend, you can use xmms-embedded.
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 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <sect1 id="bsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 <title>*BSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 <application>MPlayer</application> runs on FreeBSD, OpenBSD, NetBSD,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 BSD/OS and Darwin. There are ports/pkgsrc/fink/etc versions of MPlayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 available that are probably easier to use than our raw sources.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 To build MPlayer you will need GNU make (gmake - native BSD make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 will not work) and a recent version of binutils.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 If MPlayer complains about not finding <filename>/dev/cdrom</filename> or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <filename>/dev/dvd</filename>, create an appropiate symbolic link:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <screen>ln -s /dev/(your_cdrom_device) /dev/cdrom</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 To use Win32 DLLs with MPlayer you will need to re-compile the kernel with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 &quot;<envar>option USER_LDT</envar>&quot; (unless you run FreeBSD-CURRENT,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 where this is the default).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 <sect2 id="freebsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <title>FreeBSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 If your CPU has SSE, recompile your kernel with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 &quot;<envar>options CPU_ENABLE_SSE</envar>&quot; (FreeBSD-STABLE or kernel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 patches required).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 <sect2 id="openbsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 <title>OpenBSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 Due to limitations in different versions of gas (relocation vs MMX), you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 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
104 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
105 make sure that the native version is used and do <command>gmake</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 <sect1 id="solaris">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 <title>Solaris</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <application>MPlayer</application> should work on Solaris 2.6 or newer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115
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 On <emphasis role="bold">UltraSPARCs</emphasis>, MPlayer takes advantage of their
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 <emphasis role="bold">VIS</emphasis> extensions (equivalent to MMX), currently
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 only in <emphasis>libmpeg2</emphasis>, <emphasis>libvo</emphasis> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 <emphasis>libavcodec</emphasis>, but not in mp3lib. You can watch a VOB file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 on a 400MHz CPU. You'll need
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mLib</ulink> installed.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 To build the package you will need GNU <application>make</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 Solaris make will not work. Typical error you get when building with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 Solaris' make instead of GNU make:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 % /usr/ccs/bin/make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 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
138 GNU C/C++ compiler is configured with or without the GNU assembler.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 configured to use the GNU assembler! The mplayer code on the x86 platform
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 makes heavy use of MMX, SSE and 3DNOW! instructions that cannot be compiled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 using Sun's assembler <filename>/usr/ccs/bin/as</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <para>The <filename>configure</filename> script tries to find out, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 assembler program is used by your &quot;gcc&quot; command (in case the autodetection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 fails, use the <option>--as=/whereever/you/have/installed/gnu-as</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 option to tell the <filename>configure</filename> script where it can find GNU
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 "as" on your system).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 Error message from <filename>configure</filename> on a Solaris x86 system using
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 GCC without GNU assembler:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 % configure
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 Checking assembler (/usr/ccs/bin/as) ... , failed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 Please upgrade(downgrade) binutils to 2.10.1...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 Typical error you get when building with a GNU C compiler that does not use GNU as:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 % gmake
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 Assembler: mplayer.c
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 "(stdin)", line 3567 : Illegal mnemonic
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 "(stdin)", line 3567 : Syntax error
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 ... more "Illegal mnemonic" and "Syntax error" errors ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 Due to bugs in Solaris 8, you may not be able to play DVD discs larger than 4 GB:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 This problem does not exist in the SPARC version of Solaris 8.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195 A similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 hsfs may not not support partitions/disks larger than 4GB, all data is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 accessed modulo 4GB
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 The hsfs problem can be fixed by installing patch 109764-04 (sparc) / 109765-04 (x86).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 On Solaris with an UltraSPARC CPU, you can get some extra speed by using the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 CPU's VIS instructions for certain time consuming operations. VIS acceleration
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 can be used in MPlayer by calling functions in Sun's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 VIS accelerated operations from mediaLib are used for mpeg2 video decoding
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 and for color space conversion in the video output drivers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 <sect1 id="sgi">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <title>Silicon Graphics / Irix</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 You can either try to install the GNU install program, and (if you did
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 not put it in your global path) then point to the location with:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 <screen>./configure --install-path=PATH</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 Or you can use the default install delivered with IRIX 6.5 in which case
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 you will have to edit the <filename>Makefile</filename> by hand a little bit.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 Change the following two lines:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 to:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 And then do (from within the MPlayer source dir):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 and then go on with building and installing.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 <sect1 id="qnx">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 <title>QNX</title>
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 Works. You'll need to download SDL for QNX, and install it. Then run
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 <application>MPlayer</application> with <option>-vo sdl:photon</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 and <option>-ao sdl:nto</option> options, and it should be fast.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 The <option>-vo x11</option> output will be even slower than on Linux,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 <sect1 id="cygwin">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 <title>Cygwin</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 The Cygwin port is still in its infancy. Currently there is no support for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 Win32 DLLs or OpenGL. SDL is known to distort sound and image or crash on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 some systems. <ulink url="../../tech/patches.txt">Patches</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 are always welcome. Best results are achieved with the native DirectX video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 output driver (<option>-vo directx</option>) and the native Windows waveout
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 audio driver (<option>-ao win32</option>). You should also check out the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 mailing list for help and latest information.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 You have to copy or symlink <filename>etc/cygwin_inttypes.h</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 from the MPlayer source directory to <filename>/usr/include/inttypes.h</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 in order to make MPlayer compile.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 To get native DirectX video, download
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 extract them to <filename>/usr/include/</filename> or <filename>/usr/local/include/</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 and recompile. If the image is distorted, try turning off hardware acceleration with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 <option>-vo directx:noaccel</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 Instructions and files for making SDL run under Cygwin can be found on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290
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 You can play VCDs by playing the .DAT or .MPG files that Windows exposes on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 VCDs. It works like this (adjust for the drive letter of your CD-ROM):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <screen>mplayer d:/mpegav/avseq01.dat</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 <screen>mplayer /cygdrive/d/MPEG2/AVSEQ01.MPG</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 DVDs also work, just set the DVD device correctly to whatever your CD-ROM
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 device is:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 <screen>mplayer -dvd &lt;title&gt; -dvd-device '\\.\d:'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305 QuickTime DLLs have also been reported to work. Compile with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306 <option>--enable-qtx-codecs</option> and put the codecs into
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 the default Windows DLL location, <filename class="directory">C:\WINNT\system32</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 or <filename class="directory">C:\Windows\system</filename> depending on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 Windows version.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
312
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 </chapter>