Mercurial > mplayer.hg
annotate DOCS/xml/en/ports.xml @ 15477:15f012150986
more efficient read() without memcpy()
author | nicodvb |
---|---|
date | Sun, 15 May 2005 07:59:30 +0000 |
parents | 9df34c9d1747 |
children | 83b5083d4a85 |
rev | line source |
---|---|
9675 | 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 | 3 <chapter id="ports" xreflabel="Ports"> |
4 <title>Ports</title> | |
5 | |
6 <sect1 id="linux"> | |
7 <title>Linux</title> | |
8 <para> | |
9 The main development platform is Linux on x86, although | |
10 <application>MPlayer</application> works on many other Linux ports. | |
11540 | 11 Binary packages of <application>MPlayer</application> are available from several |
12 sources. However, <emphasis role="bold">none of these packages are supported</emphasis>. | |
9675 | 13 Report problems to the authors, not to us. |
14 </para> | |
15 | |
16 <sect2 id="debian"> | |
17 <title>Debian packaging</title> | |
18 <para> | |
11540 | 19 To build a Debian package, run the following command in the |
20 <application>MPlayer</application> source directory: | |
13939
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
21 |
9675 | 22 <screen>fakeroot debian/rules binary</screen> |
13939
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
23 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
24 If you want to pass custom options to configure, you can set up the |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
25 <envar>DEB_BUILD_OPTIONS</envar> environment variable. For instance, |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
26 if you want GUI and OSD menu support you would use: |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
27 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
28 <screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen> |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
29 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
30 You can also pass some variables to the Makefile. For example, if you want |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
31 to compile with gcc 3.4 even if it's not the default compiler: |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
32 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
33 <screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen> |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
34 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
35 To clean up the source tree run the following command: |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
36 |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
37 <screen>fakeroot debian/rules clean</screen> |
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
38 |
9675 | 39 As root you can then install the <filename>.deb</filename> package as usual: |
13939
25db6ab99ff3
More detailed Debian package building instructions, based on a patch by
diego
parents:
13892
diff
changeset
|
40 |
9675 | 41 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen> |
42 </para> | |
43 | |
44 <para> | |
13813 | 45 Christian Marillat has been making unofficial Debian packages of |
11540 | 46 <application>MPlayer</application>, <application>MEncoder</application> and |
13813 | 47 our bitmap fonts for a while, you can (apt-)get them from |
48 <ulink url="http://hpisi.nerim.net/">his homepage</ulink>. | |
9675 | 49 </para> |
50 </sect2> | |
51 | |
52 <sect2 id="rpm"> | |
53 <title>RPM packaging</title> | |
54 <para> | |
15136
b2edad2111b8
update site link and supported distributions list
rathann
parents:
15029
diff
changeset
|
55 Dominik Mierzejewski created and maintains the official RPM packages of |
b2edad2111b8
update site link and supported distributions list
rathann
parents:
15029
diff
changeset
|
56 <application>MPlayer</application> for Red Hat and Fedora Core. They are available |
b2edad2111b8
update site link and supported distributions list
rathann
parents:
15029
diff
changeset
|
57 from his <ulink url="http://rpm.greysector.net/mplayer/">repository</ulink>. |
9675 | 58 </para> |
59 | |
60 <para> | |
61 Mandrake RPM packages are available from the <ulink url="http://plf.zarb.org/">P.L.F.</ulink>. | |
11540 | 62 SuSE used to include a crippled version of <application>MPlayer</application> |
63 in their distribution. They have removed it in their latest releases. You can | |
64 get working RPMs from | |
65 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>. | |
9675 | 66 </para> |
67 </sect2> | |
68 | |
69 <sect2 id="arm"> | |
70 <title>ARM</title> | |
71 <para> | |
11540 | 72 <application>MPlayer</application> works on Linux PDAs with ARM CPU e.g. Sharp Zaurus, |
73 Compaq Ipaq. The easiest way to obtain <application>MPlayer</application> is to get it | |
11714 | 74 from one of the <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds. If |
9675 | 75 you want to compile it yourself, you should look at the |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
76 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink> |
9675 | 77 and the |
78 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink> | |
79 directory in the OpenZaurus distribution buildroot. These always have the latest | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
80 Makefile and patches used for building a CVS <application>MPlayer</application> with |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
81 <systemitem class="library">libavcodec</systemitem>. |
9675 | 82 If you need a GUI frontend, you can use xmms-embedded. |
83 </para> | |
84 </sect2> | |
85 </sect1> | |
86 | |
87 <sect1 id="bsd"> | |
88 <title>*BSD</title> | |
89 <para> | |
90 <application>MPlayer</application> runs on FreeBSD, OpenBSD, NetBSD, | |
11540 | 91 BSD/OS and Darwin. There are ports/pkgsrc/fink/etc versions of <application>MPlayer</application> |
9675 | 92 available that are probably easier to use than our raw sources. |
93 </para> | |
94 | |
95 <para> | |
11540 | 96 To build <application>MPlayer</application> you will need GNU make |
97 (gmake - native BSD make will not work) and a recent version of binutils. | |
9675 | 98 </para> |
99 | |
100 <para> | |
11540 | 101 If <application>MPlayer</application> complains about not finding <filename>/dev/cdrom</filename> |
102 or <filename>/dev/dvd</filename>, create an appropriate symbolic link: | |
10958 | 103 <screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen> |
9675 | 104 </para> |
105 | |
106 <para> | |
11540 | 107 To use Win32 DLLs with <application>MPlayer</application> you will need to |
108 re-compile the kernel with "<envar>option USER_LDT</envar>" | |
109 (unless you run FreeBSD-CURRENT, | |
9675 | 110 where this is the default). |
111 </para> | |
112 | |
113 | |
114 <sect2 id="freebsd"> | |
115 <title>FreeBSD</title> | |
116 <para> | |
117 If your CPU has SSE, recompile your kernel with | |
118 "<envar>options CPU_ENABLE_SSE</envar>" (FreeBSD-STABLE or kernel | |
119 patches required). | |
120 </para> | |
121 </sect2> | |
122 | |
123 <sect2 id="openbsd"> | |
124 <title>OpenBSD</title> | |
125 <para> | |
126 Due to limitations in different versions of gas (relocation vs MMX), you | |
127 will need to compile in two steps: First make sure that the non-native as | |
128 is first in your <envar>$PATH</envar> and do a <command>gmake -k</command>, then | |
129 make sure that the native version is used and do <command>gmake</command>. | |
130 </para> | |
13281
d9b7fabd9739
OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents:
13222
diff
changeset
|
131 <para> |
d9b7fabd9739
OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents:
13222
diff
changeset
|
132 As of OpenBSD 3.4 the hack above is no longer needed. |
d9b7fabd9739
OpenBSD clarification by Bj«Órn Sandell <biorn @ dce . chalmers . se>
diego
parents:
13222
diff
changeset
|
133 </para> |
9675 | 134 </sect2> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
135 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
136 <sect2 id="darwin"> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
137 <title>Darwin</title> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
138 <para> |
11348 | 139 See the <link linkend="macos">Mac OS</link> section. |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
140 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
141 </sect2> |
9675 | 142 </sect1> |
143 | |
144 <sect1 id="solaris"> | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
145 <title>Sun Solaris</title> |
9675 | 146 <para> |
147 <application>MPlayer</application> should work on Solaris 2.6 or newer. | |
14632 | 148 Use the SUN audio driver with the <option>-ao sun</option> option for sound. |
9675 | 149 </para> |
150 | |
151 <para> | |
11540 | 152 On <emphasis role="bold">UltraSPARCs</emphasis>, <application>MPlayer</application> |
153 takes advantage of their <emphasis role="bold">VIS</emphasis> extensions | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
154 (equivalent to MMX), currently only in |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
155 <systemitem class="library">libmpeg2</systemitem>, |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
156 <systemitem class="library">libvo</systemitem> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
157 and <systemitem class="library">libavcodec</systemitem>, but not in |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
158 <systemitem class="library">mp3lib</systemitem>. You can watch a VOB file |
9675 | 159 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
|
160 <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
|
161 installed. |
9675 | 162 </para> |
163 | |
164 <para> | |
165 To build the package you will need GNU <application>make</application> | |
166 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native | |
167 Solaris make will not work. Typical error you get when building with | |
168 Solaris' make instead of GNU make: | |
169 <screen> | |
170 % /usr/ccs/bin/make | |
171 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen | |
172 </screen> | |
173 </para> | |
174 | |
175 <para> | |
176 On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter if | |
177 GNU C/C++ compiler is configured with or without the GNU assembler. | |
178 </para> | |
179 | |
180 <para> | |
181 On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler, | |
12552 | 182 configured to use the GNU assembler! The <application>MPlayer</application> |
183 code on the x86 platform makes heavy use of MMX, SSE and 3DNOW! instructions | |
184 that cannot be compiled using Sun's assembler <filename>/usr/ccs/bin/as</filename>. | |
9675 | 185 </para> |
186 | |
12552 | 187 <para> |
188 The <filename>configure</filename> script tries to find out, which | |
9675 | 189 assembler program is used by your "gcc" command (in case the autodetection |
11630 | 190 fails, use the <option>--as=<replaceable>/wherever/you/have/installed/gnu-as</replaceable></option> |
9675 | 191 option to tell the <filename>configure</filename> script where it can find GNU |
192 "as" on your system). | |
193 </para> | |
194 | |
195 <para> | |
196 Error message from <filename>configure</filename> on a Solaris x86 system using | |
197 GCC without GNU assembler: | |
198 <screen> | |
199 % configure | |
200 ... | |
201 Checking assembler (/usr/ccs/bin/as) ... , failed | |
202 Please upgrade(downgrade) binutils to 2.10.1... | |
203 </screen> | |
204 (Solution: Install and use a gcc configured with <option>--with-as=gas</option>) | |
205 </para> | |
206 | |
207 <para> | |
208 Typical error you get when building with a GNU C compiler that does not use GNU as: | |
209 <screen> | |
210 % gmake | |
211 ... | |
212 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math | |
213 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c | |
214 Assembler: mplayer.c | |
215 "(stdin)", line 3567 : Illegal mnemonic | |
216 "(stdin)", line 3567 : Syntax error | |
217 ... more "Illegal mnemonic" and "Syntax error" errors ... | |
218 </screen> | |
219 </para> | |
220 | |
221 <para> | |
222 Due to bugs in Solaris 8, you may not be able to play DVD discs larger than 4 GB: | |
223 </para> | |
224 | |
225 <itemizedlist> | |
226 <listitem><para> | |
227 The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB | |
228 on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media). | |
229 Due to a 32Bit int overflow, a disk address modulo 4GB is accessed | |
230 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>). | |
231 This problem does not exist in the SPARC version of Solaris 8. | |
232 </para></listitem> | |
233 | |
234 <listitem><para> | |
13222 | 235 A similar bug is present in the hsfs(7FS) filesystem code (AKA ISO9660), |
9675 | 236 hsfs may not not support partitions/disks larger than 4GB, all data is |
237 accessed modulo 4GB | |
238 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>). | |
239 The hsfs problem can be fixed by installing patch 109764-04 (sparc) / 109765-04 (x86). | |
240 </para></listitem> | |
241 </itemizedlist> | |
242 </sect1> | |
243 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
244 <sect1 id="irix"> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
245 <title>Silicon Graphics Irix</title> |
9675 | 246 <para> |
247 You can either try to install the GNU install program, and (if you did | |
248 not put it in your global path) then point to the location with: | |
11630 | 249 <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen> |
9675 | 250 </para> |
251 | |
252 <para> | |
253 Or you can use the default install delivered with IRIX 6.5 in which case | |
254 you will have to edit the <filename>Makefile</filename> by hand a little bit. | |
255 Change the following two lines: | |
256 <programlisting> | |
257 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 | |
258 | |
259 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf | |
260 </programlisting> | |
261 to: | |
262 <programlisting> | |
263 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ | |
264 | |
265 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ | |
266 </programlisting> | |
11540 | 267 And then do (from within the <application>MPlayer</application> source dir): |
9675 | 268 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen> |
269 and then go on with building and installing. | |
270 </para> | |
271 </sect1> | |
272 | |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
273 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
274 <sect1 id="hp-ux"> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
275 <title>HP-UX</title> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
276 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
277 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
|
278 <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
|
279 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
|
280 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
|
281 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
282 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
283 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
284 You need GCC 3.4.0 or later, GNU make 3.80 or later and SDL 1.2.7 or later. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
285 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
|
286 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
|
287 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
|
288 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
|
289 GNU esound. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
290 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
291 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
292 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
293 Create the DVD device |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
294 scan the SCSI bus with: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
295 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
296 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
297 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
298 # ioscan -fn |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
299 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
300 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
|
301 ... |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
302 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
|
303 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
|
304 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
|
305 /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
|
306 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
|
307 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
|
308 /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
|
309 ... |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
310 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
311 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
312 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
313 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
|
314 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
|
315 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
316 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
317 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
318 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
|
319 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
320 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
321 <screen> |
14136 | 322 # ln -s /dev/rdsk/c<replaceable><SCSI bus instance></replaceable>t<replaceable><SCSI target ID></replaceable>d<replaceable><LUN></replaceable> /dev/<replaceable><device></replaceable> |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
323 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
324 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
325 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
326 Example: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
327 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
328 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
329 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
330 # ln -s /dev/rdsk/c1t2d0 /dev/dvd |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
331 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
332 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
333 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
334 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
|
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 <itemizedlist> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
338 <listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
339 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
340 Crash at Start with the following error message: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
341 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
342 /usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
343 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
344 </para> |
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 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
347 This means that the function <systemitem>.finite().</systemitem> is not |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
348 available in the standard HP-UX math library. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
349 Instead there is <systemitem>.isfinite().</systemitem>. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
350 Solution: Use the latest Mesa depot file. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
351 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
352 </listitem> |
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 <listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
355 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
356 Crash at playback with the following error message: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
357 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
358 /usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
359 </screen> |
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 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
362 <para> |
14136 | 363 Solution: Use the extralibdir option of configure |
14114
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
364 <option>--with-extralibdir="/usr/lib -lrt"</option> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
365 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
366 </listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
367 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
368 <listitem> |
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 MPlayer segfaults with a message like this: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
371 <screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
372 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
|
373 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
374 Segmentation fault |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
375 </screen> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
376 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
377 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
378 <para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
379 Solution: |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
380 The HP-UX kernel has a default stack size of 8MB(?) per process.(11.0 and |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
381 newer 10.20 patches let you increase <systemitem>maxssiz</systemitem> up to |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
382 350MB for 32-bit programs). You need to extend <systemitem>maxssiz</systemitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
383 and recompile the kernel (and reboot). You can use SAM to do this. (While at |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
384 it, check out the <systemitem>maxdsiz</systemitem> parameter for the maximum |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
385 amount of data a program can use. It depends on your applications, if the |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
386 default of 64MB is enough or not.) |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
387 </para> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
388 </listitem> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
389 </itemizedlist> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
390 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
391 </sect1> |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
392 |
072c69e79c23
More detailed HP-UX instructions, mostly taken from Martin Gansser's HOWTO.
diego
parents:
14044
diff
changeset
|
393 |
9675 | 394 <sect1 id="qnx"> |
395 <title>QNX</title> | |
396 <para> | |
397 Works. You'll need to download SDL for QNX, and install it. Then run | |
398 <application>MPlayer</application> with <option>-vo sdl:photon</option> | |
399 and <option>-ao sdl:nto</option> options, and it should be fast. | |
400 </para> | |
401 | |
402 <para> | |
403 The <option>-vo x11</option> output will be even slower than on Linux, | |
404 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL. | |
405 </para> | |
406 </sect1> | |
407 | |
10561 | 408 <sect1 id="windows"> |
409 <title>Windows</title> | |
410 | |
11540 | 411 <para>Yes, <application>MPlayer</application> runs on Windows under |
412 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and | |
413 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>. | |
15458
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
414 It does not have an official GUI yet, but the command line version |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
415 is completely functional. You should check out the |
15029 | 416 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink> |
15458
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
417 mailing list for help and latest information. |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
418 Official Windows binaries can be found on the |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
419 <ulink url="http://www.mplayerhq.hu/homepage/design7/dload.html">download page</ulink>. |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
420 Installer packages and simple GUI frontends are available from external |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
421 sources, we have collected then in the Windows section of our |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
422 <ulink url="http://www.mplayerhq.hu/homepage/design7/projects.html#windows">projects page</ulink>. |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
423 </para> |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
424 |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
425 <para>If you wish to avoid using the command line, a simple trick is |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
426 to put a shortcut on your desktop that contains something like the |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
427 following in the execute section: |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
428 <screen><replaceable>c:\path\to\</replaceable>mplayer.exe %1</screen> |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
429 This will make <application>MPlayer</application> play any movie that is |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
430 dropped on the shortcut. Add <option>-fs</option> for fullscreen mode. |
9df34c9d1747
Explain how to drop movies on desktop shortcuts, other updates.
diego
parents:
15136
diff
changeset
|
431 </para> |
10561 | 432 |
433 <para>Best results are achieved with the native DirectX video output driver | |
434 (<option>-vo directx</option>) and the native Windows waveout audio driver | |
12014 | 435 (<option>-ao win32</option>). Alternatives are OpenGL and SDL, but OpenGL |
436 performance varies greatly between systems and SDL is known to | |
437 distort sound and video or crash on some systems. If the image is | |
10561 | 438 distorted, try turning off hardware acceleration with |
439 <option>-vo directx:noaccel</option>. Download | |
13892
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
440 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/dx7headers.tgz">DirectX 7 header files</ulink> |
13455 | 441 to compile the DirectX video output driver. Furthermore you need to have |
442 DirectX 7 or later installed for the DirectX video output driver to work. | |
443 </para> | |
9675 | 444 |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
445 <para><link linkend="vidix">VIDIX</link> now works under Windows as |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
446 <option>-vo winvidix</option>, although it is still experimental |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
447 and needs a bit of manual setup. Download |
13892
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
448 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> or |
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
449 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (with MTRR support)</ulink> |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
450 and copy it to the |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
451 <filename class="directory">libdha/dhahelperwin</filename> directory in your |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
452 <application>MPlayer</application> source tree. |
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
453 Open a console and change to that directory. Then type |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
454 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
455 <screen>gcc -o dhasetup.exe dhasetup.c</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
456 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
457 and execute |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
458 |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
459 <screen>dhasetup.exe install</screen> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
460 |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
461 as Administrator. After that you will have to reboot. When you are |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
462 done, copy the <systemitem class="library">.so</systemitem> files from |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
463 <filename class="directory">vidix/drivers</filename> to the |
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
464 <filename class="directory">mplayer/vidix</filename> directory |
12418
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
465 relative to your <filename>mplayer.exe</filename>.</para> |
80266d26d80c
winvidix documented, alternative ways of specifying -dvd-device.
diego
parents:
12325
diff
changeset
|
466 |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
467 <para>For best results <application>MPlayer</application> should use a |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
468 colorspace that your video card supports in hardware. Unfortunately many |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
469 Windows graphics drivers wrongly report some colorspaces as supported in |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
470 hardware. To find out which, try |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
471 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
472 <screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable></screen> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
473 |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
474 where <replaceable>colorspace</replaceable> can be any colorspace |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
475 printed by the <option>-vf format=fmt=help</option> option. If you |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
476 find a colorspace your card handles particularly bad |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
477 <option>-vf noformat=<replaceable>colorspace</replaceable></option> |
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
478 will keep it from being used. Add this to your config file to permanently |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
479 keep it from being used.</para> |
12325
9e5ebd0c97d0
Hint about testing different colorspaces and putting codes in ./, based on
diego
parents:
12014
diff
changeset
|
480 |
14533
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
481 <para>There are special codec packages for Windows available on our |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
482 <ulink url="http://mplayerhq.hu/homepage/design7/codecs.html">codecs page</ulink> |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
483 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
|
484 Put the codecs somewhere in your path or pass |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
485 <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
486 (alternatively |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
487 <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option> |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
488 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
|
489 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
|
490 running <application>MPlayer</application>, but only on some systems (NT4). |
d5b27912e97a
Binary codecs and Windows section overhauled to reflect recent changes.
diego
parents:
14136
diff
changeset
|
491 Try making them writable if you have problems.</para> |
10645 | 492 |
12439
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
493 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files |
13763
c5502c9d4fb5
whitespace fixes by Mizda Gabor <gabrov at freemail dot hu>
diego
parents:
13754
diff
changeset
|
494 that Windows exposes on VCDs. It works like this (adjust for the drive letter |
12439
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
495 of your CD-ROM):</para> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
496 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
497 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
498 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
499 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
500 of your DVD-ROM:</para> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
501 |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
502 <screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:</screen> |
33916977a36e
Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
diego
parents:
12418
diff
changeset
|
503 |
11540 | 504 <para>The <application>Cygwin</application>/<application>MinGW</application> |
505 console is rather slow. Redirecting output or using the | |
506 <option>-quiet</option> option has been reported to improve performance on | |
507 some systems. Direct rendering (<option>-dr</option>) may also help. | |
10645 | 508 You can prevent OSD flicker through double buffering with the |
509 <option>-double</option> option. If playback is jerky, try | |
510 <option>-autosync 100</option>. If some of these options help you, you | |
511 may want to put them in your config file.</para> | |
10561 | 512 |
513 <sect2 id="cygwin"> | |
11540 | 514 <title><application>Cygwin</application></title> |
10561 | 515 |
13892
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
516 <para>You need to run <application>Cygwin</application> 1.5.0 or later in |
934721303a4b
We no longer provide (int)types.h for obsolete versions of Cygwin/MinGW,
diego
parents:
13813
diff
changeset
|
517 order to compile <application>MPlayer</application>.</para> |
10561 | 518 |
519 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or | |
520 <filename class="directory">/usr/local/include/</filename>.</para> | |
521 | |
11540 | 522 <para>Instructions and files for making SDL run under |
523 <application>Cygwin</application> can be found on the | |
10561 | 524 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para> |
9675 | 525 |
10561 | 526 </sect2> |
527 | |
528 | |
529 <sect2 id="mingw"> | |
11540 | 530 <title><application>MinGW</application></title> |
10561 | 531 |
11540 | 532 <para>Installing a version of <application>MinGW</application> that could |
533 compile <application>MPlayer</application> used to be quite tricky, but it | |
534 works out of the box now. Just install <application>MinGW</application> | |
535 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that | |
536 <application>MinGW</application> is installed.</para> | |
9675 | 537 |
10561 | 538 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para> |
10191 | 539 |
12496
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
540 <para>MOV compressed header support requires |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
541 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
542 <application>MinGW</application> does not provide by default. |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
543 Configure it with <option>--prefix=/mingw</option> and install |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
544 it before compiling <application>MPlayer</application>.</para> |
8f4574d094a5
MinGW comes without zlib (necessary for compressed MOV headers).
diego
parents:
12439
diff
changeset
|
545 |
10561 | 546 </sect2> |
547 | |
548 | |
9675 | 549 </sect1> |
550 | |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
551 <sect1 id="macos"> |
11348 | 552 <title>Mac OS</title> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
553 <para> |
11348 | 554 Only Mac OS X 10.2 and up is supported by the "raw" |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
555 <application>MPlayer</application> source. Feel free to make support for older |
11348 | 556 Mac OS versions and send patches! |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
557 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
558 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
559 <para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
560 Apple's modified GCC 3.x is preferred for compiling |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
561 <application>MPlayer</application> especially when using |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11802
diff
changeset
|
562 <systemitem class="library">libavcodec</systemitem> as Apple's |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
563 modified GCC 2.95.x doesn't support C99 syntax well. |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
564 </para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
565 |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
566 <para> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
567 One can get an Aqua GUI for <application>MPlayer</application> together with |
11355 | 568 compiled <application>MPlayer</application> binaries for Mac OS X from the |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
569 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project. |
11341 | 570 </para> |
11340
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
571 </sect1> |
5d1438e8511a
a bit of consistency changes and new macos&darwin sections
alex
parents:
11338
diff
changeset
|
572 |
11607 | 573 <sect1 id="amiga"> |
574 <title>Amiga/MorphOS (GeekGadgets)</title> | |
575 <para> | |
576 Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer | |
577 </application> for MorphOS. Sadly it's based on the 0.90 series. | |
578 </para> | |
579 | |
580 <para> | |
581 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>: | |
11621 | 582 <itemizedlist> |
583 <listitem><para> | |
11614 | 584 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90"> |
585 <application>MPlayer</application> 0.91 binary</ulink> | |
11621 | 586 </para></listitem> |
587 <listitem><para> | |
11614 | 588 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91"> |
589 <application>MPlayer</application> 0.91 source</ulink> | |
11621 | 590 </para></listitem> |
591 <listitem><para> | |
14121 | 592 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92"> |
593 <application>MEncoder</application> 1.0pre3 binary</ulink> | |
11621 | 594 </para></listitem> |
595 </itemizedlist> | |
11607 | 596 </para> |
597 </sect1> | |
598 | |
9675 | 599 </chapter> |