annotate DOCS/xml/en/ports.xml @ 11031:f57563a141aa

libfaad FAQ, external FAAD info added back.
author diego
date Tue, 07 Oct 2003 10:18:55 +0000
parents b96a23f1fa24
children 4dc3f08f03e7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10909
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <chapter id="ports" xreflabel="Ports">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Ports</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <sect1 id="linux">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <title>Linux</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 The main development platform is Linux on x86, although
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 <application>MPlayer</application> works on many other Linux ports.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 Binary packages of MPlayer are available from several sources. However,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 <emphasis role="bold">none of these packages are supported</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 Report problems to the authors, not to us.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <sect2 id="debian">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <title>Debian packaging</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 To build a Debian package, run the following command in the MPlayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 source directory:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <screen>fakeroot debian/rules binary</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 As root you can then install the <filename>.deb</filename> package as usual:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 Christian Marillat has been making unofficial Debian MPlayer, MEncoder and font
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 packages for a while, you can (apt-)get them from his
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 <ulink url="http://marillat.free.fr/">homepage</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <sect2 id="rpm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <title>RPM packaging</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 Dominik Mierzejewski created and maintains official Red Hat RPM packages of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <application>MPlayer</application>. They are available from his
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 <ulink url="http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/">homepage</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 Mandrake RPM packages are available from the <ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
10277
157cb3f9245e SuSE RPMs, JACOsub link
diego
parents: 10229
diff changeset
43 SuSE includes a crippled version of MPlayer in their distribution. You can get working RPMs
157cb3f9245e SuSE RPMs, JACOsub link
diego
parents: 10229
diff changeset
44 from <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <sect2 id="arm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <title>ARM</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 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
52 easiest way to obtain MPlayer is to get it from one of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds. If
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 you want to compile it yourself, you should look at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 <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
56 and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 <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
58 directory in the OpenZaurus distribution buildroot. These always have the latest
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 Makefile and patches used for building a CVS MPlayer with libavcodec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 If you need a GUI frontend, you can use xmms-embedded.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 <sect1 id="bsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 <title>*BSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 <application>MPlayer</application> runs on FreeBSD, OpenBSD, NetBSD,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 BSD/OS and Darwin. There are ports/pkgsrc/fink/etc versions of MPlayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 available that are probably easier to use than our raw sources.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 To build MPlayer you will need GNU make (gmake - native BSD make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 will not work) and a recent version of binutils.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 If MPlayer complains about not finding <filename>/dev/cdrom</filename> or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <filename>/dev/dvd</filename>, create an appropiate symbolic link:
10958
4dc1203f8004 Small improvement - added replaceable tags.
lumag
parents: 10913
diff changeset
81 <screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 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
86 &quot;<envar>option USER_LDT</envar>&quot; (unless you run FreeBSD-CURRENT,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 where this is the default).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <sect2 id="freebsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <title>FreeBSD</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 If your CPU has SSE, recompile your kernel with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 &quot;<envar>options CPU_ENABLE_SSE</envar>&quot; (FreeBSD-STABLE or kernel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96 patches required).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 <sect2 id="openbsd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 <title>OpenBSD</title>
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 Due to limitations in different versions of gas (relocation vs MMX), you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 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
105 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
106 make sure that the native version is used and do <command>gmake</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 <sect1 id="solaris">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 <title>Solaris</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <application>MPlayer</application> should work on Solaris 2.6 or newer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 On <emphasis role="bold">UltraSPARCs</emphasis>, MPlayer takes advantage of their
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 <emphasis role="bold">VIS</emphasis> extensions (equivalent to MMX), currently
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 only in <emphasis>libmpeg2</emphasis>, <emphasis>libvo</emphasis> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 <emphasis>libavcodec</emphasis>, but not in mp3lib. You can watch a VOB file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 on a 400MHz CPU. You'll need
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mLib</ulink> installed.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 To build the package you will need GNU <application>make</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 Solaris make will not work. Typical error you get when building with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 Solaris' make instead of GNU make:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 % /usr/ccs/bin/make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 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
139 GNU C/C++ compiler is configured with or without the GNU assembler.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 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
144 configured to use the GNU assembler! The mplayer code on the x86 platform
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 makes heavy use of MMX, SSE and 3DNOW! instructions that cannot be compiled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 using Sun's assembler <filename>/usr/ccs/bin/as</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 <para>The <filename>configure</filename> script tries to find out, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 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
151 fails, use the <option>--as=/whereever/you/have/installed/gnu-as</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 option to tell the <filename>configure</filename> script where it can find GNU
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 "as" on your system).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 Error message from <filename>configure</filename> on a Solaris x86 system using
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 GCC without GNU assembler:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 % configure
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 Checking assembler (/usr/ccs/bin/as) ... , failed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 Please upgrade(downgrade) binutils to 2.10.1...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 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
170 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 % gmake
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 Assembler: mplayer.c
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 "(stdin)", line 3567 : Illegal mnemonic
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 "(stdin)", line 3567 : Syntax error
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 ... more "Illegal mnemonic" and "Syntax error" errors ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 </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>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 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
184 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 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
189 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
190 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 This problem does not exist in the SPARC version of Solaris 8.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 A similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 hsfs may not not support partitions/disks larger than 4GB, all data is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 accessed modulo 4GB
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 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
201 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 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
206 CPU's VIS instructions for certain time consuming operations. VIS acceleration
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 can be used in MPlayer by calling functions in Sun's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 VIS accelerated operations from mediaLib are used for mpeg2 video decoding
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 and for color space conversion in the video output drivers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <sect1 id="sgi">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 <title>Silicon Graphics / Irix</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 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
221 not put it in your global path) then point to the location with:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 <screen>./configure --install-path=PATH</screen>
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 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
227 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
228 Change the following two lines:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 to:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 And then do (from within the MPlayer source dir):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 and then go on with building and installing.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 <sect1 id="qnx">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 <title>QNX</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 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
250 <application>MPlayer</application> with <option>-vo sdl:photon</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 and <option>-ao sdl:nto</option> options, and it should be fast.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 The <option>-vo x11</option> output will be even slower than on Linux,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 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
257 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259
10561
diego
parents: 10445
diff changeset
260 <sect1 id="windows">
diego
parents: 10445
diff changeset
261 <title>Windows</title>
diego
parents: 10445
diff changeset
262
diego
parents: 10445
diff changeset
263 <para>Yes, MPlayer runs on Windows under
diego
parents: 10445
diff changeset
264 <ulink url="http://www.cygwin.com/">Cygwin</ulink> and
diego
parents: 10445
diff changeset
265 <ulink url="http://www.mingw.org/">MinGW</ulink>.
diego
parents: 10445
diff changeset
266 It does not have a GUI yet, but the command line version is almost completely
diego
parents: 10445
diff changeset
267 functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome.
diego
parents: 10445
diff changeset
268 You should check out the
diego
parents: 10445
diff changeset
269 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink>
diego
parents: 10445
diff changeset
270 mailing list for help and latest information.</para>
diego
parents: 10445
diff changeset
271
diego
parents: 10445
diff changeset
272 <para>Best results are achieved with the native DirectX video output driver
diego
parents: 10445
diff changeset
273 (<option>-vo directx</option>) and the native Windows waveout audio driver
diego
parents: 10445
diff changeset
274 (<option>-ao win32</option>) as OpenGL does not work and SDL is known to
diego
parents: 10445
diff changeset
275 distort sound and image or crash on some systems. You can make the movie
diego
parents: 10445
diff changeset
276 window stay on top with <option>-vo directx:ontop</option>. If the image is
diego
parents: 10445
diff changeset
277 distorted, try turning off hardware acceleration with
diego
parents: 10445
diff changeset
278 <option>-vo directx:noaccel</option>. Download
diego
parents: 10445
diff changeset
279 <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink>
diego
parents: 10445
diff changeset
280 to compile the DirectX video output driver.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281
10650
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
282 <para>Win32 codecs, QuickTime DLLs and Real Win32 codecs (not Real Linux codecs)
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
283 also work. Put the codecs somewhere in your path or pass
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
284 <option>--with-codecsdir=c:/path/to/your/codecs</option> (alternatively
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
285 <option>--with-codecsdir=/path/to/your/codecs</option> only on Cygwin) to
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
286 <filename>configure</filename>. We have had some reports that Real DLLs need
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
287 to be writable by the user running MPlayer, but only on some systems. Try
6f51d17ecfc8 Binary codecs finally work as they should on Windows.
diego
parents: 10645
diff changeset
288 making them writable if you have problems.</para>
10645
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
289
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
290 <para>The Cygwin/MinGW console is rather slow. Redirecting output or using
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
291 the <option>-quiet</option> option has been reported to improve performance
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
292 on some systems. Direct rendering (<option>-dr</option>) may also help.
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
293 You can prevent OSD flicker through double buffering with the
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
294 <option>-double</option> option. If playback is jerky, try
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
295 <option>-autosync 100</option>. If some of these options help you, you
558d0bc8354d Windows hints as discussed on mplayer-cygwin
diego
parents: 10575
diff changeset
296 may want to put them in your config file.</para>
10561
diego
parents: 10445
diff changeset
297
diego
parents: 10445
diff changeset
298 <para>There are precompiled binary versions made by Sascha Sommer available for
diego
parents: 10445
diff changeset
299 download from
diego
parents: 10445
diff changeset
300 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/">our homepage</ulink>.
diego
parents: 10445
diff changeset
301 Joey Parrish has been making
diego
parents: 10445
diff changeset
302 <ulink url="http://joey.nicewarrior.org/cygmp/">unofficial Windows packages</ulink>
diego
parents: 10445
diff changeset
303 complete with installer.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304
10561
diego
parents: 10445
diff changeset
305 <sect2 id="cygwin">
diego
parents: 10445
diff changeset
306 <title>Cygwin</title>
diego
parents: 10445
diff changeset
307
diego
parents: 10445
diff changeset
308 <para>Cygwin versions prior to 1.5.0 do not include <filename>inttypes.h</filename>. You
diego
parents: 10445
diff changeset
309 will have to copy or symlink <filename>etc/cygwin_inttypes.h</filename> from the
diego
parents: 10445
diff changeset
310 MPlayer source directory to <filename>/usr/include/inttypes.h</filename> in order to
diego
parents: 10445
diff changeset
311 make MPlayer compile.</para>
diego
parents: 10445
diff changeset
312
diego
parents: 10445
diff changeset
313 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
diego
parents: 10445
diff changeset
314 <filename class="directory">/usr/local/include/</filename>.</para>
diego
parents: 10445
diff changeset
315
diego
parents: 10445
diff changeset
316 <para>Instructions and files for making SDL run under Cygwin can be found on the
diego
parents: 10445
diff changeset
317 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318
10561
diego
parents: 10445
diff changeset
319 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
diego
parents: 10445
diff changeset
320 that Windows exposes on VCDs. It works like this (adjust for the drive letter
diego
parents: 10445
diff changeset
321 of your CD-ROM):</para>
diego
parents: 10445
diff changeset
322
diego
parents: 10445
diff changeset
323 <screen>mplayer d:/mpegav/avseq01.dat</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 <screen>mplayer /cygdrive/d/MPEG2/AVSEQ01.MPG</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326
10998
b96a23f1fa24 More precise wording as suggested by Maciej Paszta <macp@wp.pl>.
diego
parents: 10958
diff changeset
327 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
b96a23f1fa24 More precise wording as suggested by Maciej Paszta <macp@wp.pl>.
diego
parents: 10958
diff changeset
328 of your DVD-ROM:</para>
10561
diego
parents: 10445
diff changeset
329
10184
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 9675
diff changeset
330 <screen>mplayer dvd://&lt;title&gt; -dvd-device '\\.\d:'</screen>
10561
diego
parents: 10445
diff changeset
331
diego
parents: 10445
diff changeset
332 </sect2>
diego
parents: 10445
diff changeset
333
diego
parents: 10445
diff changeset
334
diego
parents: 10445
diff changeset
335 <sect2 id="mingw">
diego
parents: 10445
diff changeset
336 <title>MinGW</title>
diego
parents: 10445
diff changeset
337
diego
parents: 10445
diff changeset
338 <para>Installing a version of MinGW that could compile MPlayer used to be quite
10909
afa3e514f472 MinGW 3.1.0 supports MPlayer out of the box.
diego
parents: 10650
diff changeset
339 tricky, but it works out of the box now. Just install MinGW 3.1.0 or later
afa3e514f472 MinGW 3.1.0 supports MPlayer out of the box.
diego
parents: 10650
diff changeset
340 and MSYS 1.0.9 or later and tell the MSYS postinstall that MinGW is
afa3e514f472 MinGW 3.1.0 supports MPlayer out of the box.
diego
parents: 10650
diff changeset
341 installed.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342
10909
afa3e514f472 MinGW 3.1.0 supports MPlayer out of the box.
diego
parents: 10650
diff changeset
343 <para>If you use a version of MinGW before 3.1.0, you need to replace
afa3e514f472 MinGW 3.1.0 supports MPlayer out of the box.
diego
parents: 10650
diff changeset
344 <filename>/mingw/include/sys/types.h</filename> with this
afa3e514f472 MinGW 3.1.0 supports MPlayer out of the box.
diego
parents: 10650
diff changeset
345 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para>
10561
diego
parents: 10445
diff changeset
346
diego
parents: 10445
diff changeset
347 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
10191
6e6844f66d85 -vo directx:ontop, console output, inttypes.h
diego
parents: 10184
diff changeset
348
10561
diego
parents: 10445
diff changeset
349 <para>VCDs and DVDs work almost like Cygwin (adjust for the drive letter of your
10998
b96a23f1fa24 More precise wording as suggested by Maciej Paszta <macp@wp.pl>.
diego
parents: 10958
diff changeset
350 CD-ROM/DVD-ROM):</para>
10561
diego
parents: 10445
diff changeset
351
diego
parents: 10445
diff changeset
352 <screen>mplayer d:/mpegav/avseq01.dat</screen>
diego
parents: 10445
diff changeset
353
diego
parents: 10445
diff changeset
354 <screen>mplayer /d/MPEG2/AVSEQ01.MPG</screen>
diego
parents: 10445
diff changeset
355
diego
parents: 10445
diff changeset
356 <screen>mplayer dvd://&lt;title&gt; -dvd-device /d/</screen>
diego
parents: 10445
diff changeset
357
diego
parents: 10445
diff changeset
358 </sect2>
diego
parents: 10445
diff changeset
359
diego
parents: 10445
diff changeset
360
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
362
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 </chapter>