2003-03-23 23:35:12 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2003-09-21 13:05:42 +00:00
|
|
|
<!-- $Revision$ -->
|
2003-03-23 23:35:12 +00:00
|
|
|
<chapter id="ports" xreflabel="Ports">
|
|
|
|
<title>Ports</title>
|
|
|
|
|
|
|
|
<sect1 id="linux">
|
|
|
|
<title>Linux</title>
|
|
|
|
<para>
|
|
|
|
The main development platform is Linux on x86, although
|
|
|
|
<application>MPlayer</application> works on many other Linux ports.
|
2003-11-30 13:07:40 +00:00
|
|
|
Binary packages of <application>MPlayer</application> are available from several
|
|
|
|
sources. However, <emphasis role="bold">none of these packages are supported</emphasis>.
|
2003-03-23 23:35:12 +00:00
|
|
|
Report problems to the authors, not to us.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<sect2 id="debian">
|
|
|
|
<title>Debian packaging</title>
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
To build a Debian package, run the following command in the
|
|
|
|
<application>MPlayer</application> source directory:
|
2003-03-23 23:35:12 +00:00
|
|
|
<screen>fakeroot debian/rules binary</screen>
|
|
|
|
As root you can then install the <filename>.deb</filename> package as usual:
|
|
|
|
<screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
Christian Marillat has been making unofficial Debian
|
|
|
|
<application>MPlayer</application>, <application>MEncoder</application> and
|
|
|
|
font packages for a while, you can (apt-)get them from his
|
2003-03-23 23:35:12 +00:00
|
|
|
<ulink url="http://marillat.free.fr/">homepage</ulink>.
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="rpm">
|
|
|
|
<title>RPM packaging</title>
|
|
|
|
<para>
|
|
|
|
Dominik Mierzejewski created and maintains official Red Hat RPM packages of
|
|
|
|
<application>MPlayer</application>. They are available from his
|
2004-07-21 20:00:42 +00:00
|
|
|
<ulink url="http://greysector.rangers.eu.org/mplayer.html">homepage</ulink>.
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Mandrake RPM packages are available from the <ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
|
2003-11-30 13:07:40 +00:00
|
|
|
SuSE used to include a crippled version of <application>MPlayer</application>
|
|
|
|
in their distribution. They have removed it in their latest releases. You can
|
|
|
|
get working RPMs from
|
|
|
|
<ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="arm">
|
|
|
|
<title>ARM</title>
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
<application>MPlayer</application> works on Linux PDAs with ARM CPU e.g. Sharp Zaurus,
|
|
|
|
Compaq Ipaq. The easiest way to obtain <application>MPlayer</application> is to get it
|
2004-01-01 17:45:55 +00:00
|
|
|
from one of the <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> package feeds. If
|
2003-03-23 23:35:12 +00:00
|
|
|
you want to compile it yourself, you should look at the
|
2004-01-21 19:25:18 +00:00
|
|
|
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink>
|
2003-03-23 23:35:12 +00:00
|
|
|
and the
|
|
|
|
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink>
|
|
|
|
directory in the OpenZaurus distribution buildroot. These always have the latest
|
2004-01-21 19:25:18 +00:00
|
|
|
Makefile and patches used for building a CVS <application>MPlayer</application> with
|
|
|
|
<systemitem class="library">libavcodec</systemitem>.
|
2003-03-23 23:35:12 +00:00
|
|
|
If you need a GUI frontend, you can use xmms-embedded.
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<sect1 id="bsd">
|
|
|
|
<title>*BSD</title>
|
|
|
|
<para>
|
|
|
|
<application>MPlayer</application> runs on FreeBSD, OpenBSD, NetBSD,
|
2003-11-30 13:07:40 +00:00
|
|
|
BSD/OS and Darwin. There are ports/pkgsrc/fink/etc versions of <application>MPlayer</application>
|
2003-03-23 23:35:12 +00:00
|
|
|
available that are probably easier to use than our raw sources.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
To build <application>MPlayer</application> you will need GNU make
|
|
|
|
(gmake - native BSD make will not work) and a recent version of binutils.
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
If <application>MPlayer</application> complains about not finding <filename>/dev/cdrom</filename>
|
|
|
|
or <filename>/dev/dvd</filename>, create an appropriate symbolic link:
|
2003-09-29 08:24:14 +00:00
|
|
|
<screen>ln -s /dev/<replaceable>your_cdrom_device</replaceable> /dev/cdrom</screen>
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
To use Win32 DLLs with <application>MPlayer</application> you will need to
|
|
|
|
re-compile the kernel with "<envar>option USER_LDT</envar>"
|
|
|
|
(unless you run FreeBSD-CURRENT,
|
2003-03-23 23:35:12 +00:00
|
|
|
where this is the default).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="freebsd">
|
|
|
|
<title>FreeBSD</title>
|
|
|
|
<para>
|
|
|
|
If your CPU has SSE, recompile your kernel with
|
|
|
|
"<envar>options CPU_ENABLE_SSE</envar>" (FreeBSD-STABLE or kernel
|
|
|
|
patches required).
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="openbsd">
|
|
|
|
<title>OpenBSD</title>
|
|
|
|
<para>
|
|
|
|
Due to limitations in different versions of gas (relocation vs MMX), you
|
|
|
|
will need to compile in two steps: First make sure that the non-native as
|
|
|
|
is first in your <envar>$PATH</envar> and do a <command>gmake -k</command>, then
|
|
|
|
make sure that the native version is used and do <command>gmake</command>.
|
|
|
|
</para>
|
|
|
|
</sect2>
|
2003-10-31 21:32:04 +00:00
|
|
|
|
|
|
|
<sect2 id="darwin">
|
|
|
|
<title>Darwin</title>
|
|
|
|
<para>
|
2003-10-31 23:00:45 +00:00
|
|
|
See the <link linkend="macos">Mac OS</link> section.
|
2003-10-31 21:32:04 +00:00
|
|
|
</para>
|
|
|
|
</sect2>
|
2003-03-23 23:35:12 +00:00
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<sect1 id="solaris">
|
2003-10-31 21:32:04 +00:00
|
|
|
<title>Sun Solaris</title>
|
2003-03-23 23:35:12 +00:00
|
|
|
<para>
|
|
|
|
<application>MPlayer</application> should work on Solaris 2.6 or newer.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-11-30 13:07:40 +00:00
|
|
|
On <emphasis role="bold">UltraSPARCs</emphasis>, <application>MPlayer</application>
|
|
|
|
takes advantage of their <emphasis role="bold">VIS</emphasis> extensions
|
2004-01-21 19:25:18 +00:00
|
|
|
(equivalent to MMX), currently only in
|
|
|
|
<systemitem class="library">libmpeg2</systemitem>,
|
|
|
|
<systemitem class="library">libvo</systemitem>
|
|
|
|
and <systemitem class="library">libavcodec</systemitem>, but not in
|
|
|
|
<systemitem class="library">mp3lib</systemitem>. You can watch a VOB file
|
2003-03-23 23:35:12 +00:00
|
|
|
on a 400MHz CPU. You'll need
|
2004-01-21 19:25:18 +00:00
|
|
|
<ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>
|
|
|
|
installed.
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To build the package you will need GNU <application>make</application>
|
|
|
|
(<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), native
|
|
|
|
Solaris make will not work. Typical error you get when building with
|
|
|
|
Solaris' make instead of GNU make:
|
|
|
|
<screen>
|
|
|
|
% /usr/ccs/bin/make
|
|
|
|
make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
|
|
|
|
</screen>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter if
|
|
|
|
GNU C/C++ compiler is configured with or without the GNU assembler.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler,
|
2004-06-10 14:45:20 +00:00
|
|
|
configured to use the GNU assembler! The <application>MPlayer</application>
|
|
|
|
code on the x86 platform makes heavy use of MMX, SSE and 3DNOW! instructions
|
|
|
|
that cannot be compiled using Sun's assembler <filename>/usr/ccs/bin/as</filename>.
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
|
2004-06-10 14:45:20 +00:00
|
|
|
<para>
|
|
|
|
The <filename>configure</filename> script tries to find out, which
|
2003-03-23 23:35:12 +00:00
|
|
|
assembler program is used by your "gcc" command (in case the autodetection
|
2003-12-11 16:18:39 +00:00
|
|
|
fails, use the <option>--as=<replaceable>/wherever/you/have/installed/gnu-as</replaceable></option>
|
2003-03-23 23:35:12 +00:00
|
|
|
option to tell the <filename>configure</filename> script where it can find GNU
|
|
|
|
"as" on your system).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Error message from <filename>configure</filename> on a Solaris x86 system using
|
|
|
|
GCC without GNU assembler:
|
|
|
|
<screen>
|
|
|
|
% configure
|
|
|
|
...
|
|
|
|
Checking assembler (/usr/ccs/bin/as) ... , failed
|
|
|
|
Please upgrade(downgrade) binutils to 2.10.1...
|
|
|
|
</screen>
|
|
|
|
(Solution: Install and use a gcc configured with <option>--with-as=gas</option>)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Typical error you get when building with a GNU C compiler that does not use GNU as:
|
|
|
|
<screen>
|
|
|
|
% gmake
|
|
|
|
...
|
|
|
|
gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
|
|
|
|
-fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
|
|
|
|
Assembler: mplayer.c
|
|
|
|
"(stdin)", line 3567 : Illegal mnemonic
|
|
|
|
"(stdin)", line 3567 : Syntax error
|
|
|
|
... more "Illegal mnemonic" and "Syntax error" errors ...
|
|
|
|
</screen>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Due to bugs in Solaris 8, you may not be able to play DVD discs larger than 4 GB:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para>
|
|
|
|
The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB
|
|
|
|
on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media).
|
|
|
|
Due to a 32Bit int overflow, a disk address modulo 4GB is accessed
|
|
|
|
(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
|
|
|
|
This problem does not exist in the SPARC version of Solaris 8.
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
A similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660),
|
|
|
|
hsfs may not not support partitions/disks larger than 4GB, all data is
|
|
|
|
accessed modulo 4GB
|
|
|
|
(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
|
|
|
|
The hsfs problem can be fixed by installing patch 109764-04 (sparc) / 109765-04 (x86).
|
|
|
|
</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</sect1>
|
|
|
|
|
2003-10-31 21:32:04 +00:00
|
|
|
<sect1 id="irix">
|
|
|
|
<title>Silicon Graphics Irix</title>
|
2003-03-23 23:35:12 +00:00
|
|
|
<para>
|
|
|
|
You can either try to install the GNU install program, and (if you did
|
|
|
|
not put it in your global path) then point to the location with:
|
2003-12-11 16:18:39 +00:00
|
|
|
<screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen>
|
2003-03-23 23:35:12 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Or you can use the default install delivered with IRIX 6.5 in which case
|
|
|
|
you will have to edit the <filename>Makefile</filename> by hand a little bit.
|
|
|
|
Change the following two lines:
|
|
|
|
<programlisting>
|
|
|
|
$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
|
|
|
|
|
|
|
|
$(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
|
|
|
|
</programlisting>
|
|
|
|
to:
|
|
|
|
<programlisting>
|
|
|
|
$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
|
|
|
|
|
|
|
|
$(INSTALL) -m 644 codecs.conf $(CONFDIR)/
|
|
|
|
</programlisting>
|
2003-11-30 13:07:40 +00:00
|
|
|
And then do (from within the <application>MPlayer</application> source dir):
|
2003-03-23 23:35:12 +00:00
|
|
|
<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
|
|
|
|
and then go on with building and installing.
|
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<sect1 id="qnx">
|
|
|
|
<title>QNX</title>
|
|
|
|
<para>
|
|
|
|
Works. You'll need to download SDL for QNX, and install it. Then run
|
|
|
|
<application>MPlayer</application> with <option>-vo sdl:photon</option>
|
|
|
|
and <option>-ao sdl:nto</option> options, and it should be fast.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <option>-vo x11</option> output will be even slower than on Linux,
|
|
|
|
since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL.
|
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
|
2003-08-11 01:14:20 +00:00
|
|
|
<sect1 id="windows">
|
|
|
|
<title>Windows</title>
|
|
|
|
|
2003-11-30 13:07:40 +00:00
|
|
|
<para>Yes, <application>MPlayer</application> runs on Windows under
|
|
|
|
<ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and
|
|
|
|
<ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>.
|
2003-08-11 01:14:20 +00:00
|
|
|
It does not have a GUI yet, but the command line version is almost completely
|
|
|
|
functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome.
|
|
|
|
You should check out the
|
|
|
|
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink>
|
|
|
|
mailing list for help and latest information.</para>
|
|
|
|
|
|
|
|
<para>Best results are achieved with the native DirectX video output driver
|
|
|
|
(<option>-vo directx</option>) and the native Windows waveout audio driver
|
2004-03-09 01:45:58 +00:00
|
|
|
(<option>-ao win32</option>). Alternatives are OpenGL and SDL, but OpenGL
|
|
|
|
performance varies greatly between systems and SDL is known to
|
|
|
|
distort sound and video or crash on some systems. If the image is
|
2003-08-11 01:14:20 +00:00
|
|
|
distorted, try turning off hardware acceleration with
|
|
|
|
<option>-vo directx:noaccel</option>. Download
|
|
|
|
<ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink>
|
|
|
|
to compile the DirectX video output driver.</para>
|
|
|
|
|
2004-05-04 14:34:18 +00:00
|
|
|
<para><link linkend="vidix">VIDIX</link> now works under Windows as
|
|
|
|
<option>-vo winvidix</option>, although it is still experimental
|
|
|
|
and needs a bit of manual setup. Download
|
|
|
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/dhahelper.sys">dhahelper.sys</ulink>
|
|
|
|
and copy it to the
|
|
|
|
<filename class="directory">libdha/dhahelperwin</filename> directory in your
|
|
|
|
<application>MPlayer</application> source tree.
|
|
|
|
Open a console and change to that directory. Then type
|
|
|
|
|
|
|
|
<screen>gcc -o dhasetup.exe dhasetup.c</screen>
|
|
|
|
|
|
|
|
and execute
|
|
|
|
|
|
|
|
<screen>dhasetup.exe install</screen>
|
|
|
|
|
|
|
|
as Administrator. After that you will have to reboot. When you are
|
|
|
|
done, copy the <systemitem class="library">.so</systemitem> files from
|
|
|
|
<filename class="directory">vidix/drivers</filename> to the
|
|
|
|
<filename class="directory">mplayer/vidix</filename> directory
|
|
|
|
relative to your <filename>mplayer.exe</filename>.</para>
|
|
|
|
|
2004-04-27 17:43:18 +00:00
|
|
|
<para>For best results <application>MPlayer</application> should use a
|
|
|
|
colorspace that your video card supports in hardware. Unfortunately many
|
|
|
|
Windows graphics drivers wrongly report some colorspaces as supported in
|
|
|
|
hardware. To find out which, try
|
|
|
|
|
|
|
|
<screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable></screen>
|
|
|
|
|
|
|
|
where <replaceable>colorspace</replaceable> can be any colorspace
|
|
|
|
printed by the <option>-vf format=fmt=help</option> option. If you
|
|
|
|
find a colorspace your card handles particularly bad
|
|
|
|
<option>-vf noformat=<replaceable>colorspace</replaceable></option>
|
|
|
|
will keep it from being used. Add this to your config file to permanently
|
|
|
|
keep it from being used.</para>
|
|
|
|
|
2003-10-30 02:23:09 +00:00
|
|
|
<para>You can use Win32 codecs and Real Win32 codecs (not Real Linux codecs)
|
|
|
|
if you want to. Put the codecs somewhere in your path or pass
|
2004-01-01 17:45:55 +00:00
|
|
|
<option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> (alternatively
|
|
|
|
<option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option> only on
|
2003-11-30 13:07:40 +00:00
|
|
|
<application>Cygwin</application>) to <filename>configure</filename>. We
|
|
|
|
have had some reports that Real DLLs need to be writable by the user running
|
|
|
|
<application>MPlayer</application>, but only on some systems. Try making
|
|
|
|
them writable if you have problems. QuickTime DLLs also work, but you will
|
|
|
|
have to put them in your Windows system directory
|
2004-01-18 16:08:04 +00:00
|
|
|
(<filename class="directory"><replaceable>C:\Windows\system\</replaceable></filename>
|
2004-04-27 17:43:18 +00:00
|
|
|
or similar). As a last resort, try putting them in the same directory as
|
|
|
|
<application>MPlayer</application>.</para>
|
2003-08-17 18:10:42 +00:00
|
|
|
|
2004-05-07 13:13:11 +00:00
|
|
|
<para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
|
|
|
|
that Windows exposes on VCDs. It works like this (adjust for the drive letter
|
|
|
|
of your CD-ROM):</para>
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
|
|
|
|
|
|
|
|
<para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
|
|
|
|
of your DVD-ROM:</para>
|
|
|
|
|
|
|
|
<screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
|
|
|
|
|
2003-11-30 13:07:40 +00:00
|
|
|
<para>The <application>Cygwin</application>/<application>MinGW</application>
|
|
|
|
console is rather slow. Redirecting output or using the
|
|
|
|
<option>-quiet</option> option has been reported to improve performance on
|
|
|
|
some systems. Direct rendering (<option>-dr</option>) may also help.
|
2003-08-17 18:10:42 +00:00
|
|
|
You can prevent OSD flicker through double buffering with the
|
|
|
|
<option>-double</option> option. If playback is jerky, try
|
|
|
|
<option>-autosync 100</option>. If some of these options help you, you
|
|
|
|
may want to put them in your config file.</para>
|
2003-08-11 01:14:20 +00:00
|
|
|
|
2003-11-29 00:52:06 +00:00
|
|
|
<para>Sascha Sommer releases official Windows binaries from time to time,
|
|
|
|
Joey Parrish makes unofficial Windows packages complete with installer.
|
|
|
|
Look for these in the Windows section of
|
2004-01-30 09:43:05 +00:00
|
|
|
<ulink url="http://www.mplayerhq.hu/homepage/projects.html#windows">our projects page</ulink>.</para>
|
2003-08-11 01:14:20 +00:00
|
|
|
|
|
|
|
<sect2 id="cygwin">
|
2003-11-30 13:07:40 +00:00
|
|
|
<title><application>Cygwin</application></title>
|
2003-03-23 23:35:12 +00:00
|
|
|
|
2003-12-01 22:29:56 +00:00
|
|
|
<para><application>Cygwin</application> versions prior to 1.5.0 do
|
|
|
|
not include <filename>inttypes.h</filename>. Put this
|
2003-10-31 18:21:08 +00:00
|
|
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/inttypes.h">inttypes.h</ulink>
|
2003-10-31 18:14:06 +00:00
|
|
|
in <filename class="directory">/usr/include/</filename> in order to
|
2003-11-02 08:35:14 +00:00
|
|
|
make <application>MPlayer</application> compile.</para>
|
2003-03-23 23:35:12 +00:00
|
|
|
|
2003-08-11 01:14:20 +00:00
|
|
|
<para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
|
|
|
|
<filename class="directory">/usr/local/include/</filename>.</para>
|
2003-03-23 23:35:12 +00:00
|
|
|
|
2003-11-30 13:07:40 +00:00
|
|
|
<para>Instructions and files for making SDL run under
|
|
|
|
<application>Cygwin</application> can be found on the
|
2003-08-11 01:14:20 +00:00
|
|
|
<ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="mingw">
|
2003-11-30 13:07:40 +00:00
|
|
|
<title><application>MinGW</application></title>
|
2003-08-11 01:14:20 +00:00
|
|
|
|
2003-11-30 13:07:40 +00:00
|
|
|
<para>Installing a version of <application>MinGW</application> that could
|
|
|
|
compile <application>MPlayer</application> used to be quite tricky, but it
|
|
|
|
works out of the box now. Just install <application>MinGW</application>
|
|
|
|
3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that
|
|
|
|
<application>MinGW</application> is installed.</para>
|
2003-08-11 01:14:20 +00:00
|
|
|
|
2003-11-30 13:07:40 +00:00
|
|
|
<para>If you use a version of <application>MinGW</application> before 3.1.0,
|
|
|
|
you need to replace <filename>/mingw/include/sys/types.h</filename> with this
|
2003-09-21 12:33:13 +00:00
|
|
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para>
|
2003-08-11 01:14:20 +00:00
|
|
|
|
|
|
|
<para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
|
|
|
|
|
2004-05-22 00:47:49 +00:00
|
|
|
<para>MOV compressed header support requires
|
|
|
|
<ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which
|
|
|
|
<application>MinGW</application> does not provide by default.
|
|
|
|
Configure it with <option>--prefix=/mingw</option> and install
|
|
|
|
it before compiling <application>MPlayer</application>.</para>
|
|
|
|
|
2003-08-11 01:14:20 +00:00
|
|
|
</sect2>
|
|
|
|
|
2003-05-25 22:55:46 +00:00
|
|
|
|
2003-03-23 23:35:12 +00:00
|
|
|
</sect1>
|
|
|
|
|
2003-10-31 21:32:04 +00:00
|
|
|
<sect1 id="macos">
|
2003-10-31 23:00:45 +00:00
|
|
|
<title>Mac OS</title>
|
2003-10-31 21:32:04 +00:00
|
|
|
<para>
|
2003-10-31 23:00:45 +00:00
|
|
|
Only Mac OS X 10.2 and up is supported by the "raw"
|
2003-10-31 21:32:04 +00:00
|
|
|
<application>MPlayer</application> source. Feel free to make support for older
|
2003-10-31 23:00:45 +00:00
|
|
|
Mac OS versions and send patches!
|
2003-10-31 21:32:04 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Apple's modified GCC 3.x is preferred for compiling
|
2004-01-21 19:25:18 +00:00
|
|
|
<application>MPlayer</application> especially when using
|
|
|
|
<systemitem class="library">libavcodec</systemitem> as Apple's
|
2003-10-31 21:32:04 +00:00
|
|
|
modified GCC 2.95.x doesn't support C99 syntax well.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
One can get an Aqua GUI for <application>MPlayer</application> together with
|
2003-11-02 08:35:14 +00:00
|
|
|
compiled <application>MPlayer</application> binaries for Mac OS X from the
|
2003-10-31 21:32:04 +00:00
|
|
|
<ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project.
|
2003-10-31 21:34:19 +00:00
|
|
|
</para>
|
2003-10-31 21:32:04 +00:00
|
|
|
</sect1>
|
|
|
|
|
2004-06-15 18:44:11 +00:00
|
|
|
<sect1 id="hp-ux">
|
|
|
|
<title>HP-UX</title>
|
2003-12-09 11:05:07 +00:00
|
|
|
<para>
|
2004-07-14 09:05:47 +00:00
|
|
|
Martin Gansser maintains a valuable
|
2003-12-09 11:05:07 +00:00
|
|
|
<ulink url="http://cloud.prohosting.com/patos/docs/mplayer_on_hpux11.htm">HOWTO</ulink>
|
|
|
|
about building <application>MPlayer</application> on HP-UX. It even has a FAQ
|
|
|
|
section!
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Anyway, our "raw" <application>MPlayer</application> source is used to compile
|
|
|
|
on HP-UX without flaws.
|
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<sect1 id="amiga">
|
|
|
|
<title>Amiga/MorphOS (GeekGadgets)</title>
|
|
|
|
<para>
|
|
|
|
Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer
|
|
|
|
</application> for MorphOS. Sadly it's based on the 0.90 series.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
|
2003-12-10 21:34:49 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para>
|
2003-12-09 21:36:19 +00:00
|
|
|
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
|
|
|
|
<application>MPlayer</application> 0.91 binary</ulink>
|
2003-12-10 21:34:49 +00:00
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
2003-12-09 21:36:19 +00:00
|
|
|
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
|
|
|
|
<application>MPlayer</application> 0.91 source</ulink>
|
2003-12-10 21:34:49 +00:00
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
2003-12-09 21:36:19 +00:00
|
|
|
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=912">
|
|
|
|
<application>MEncoder</application> 0.91 binary</ulink>
|
2003-12-10 21:34:49 +00:00
|
|
|
</para></listitem>
|
|
|
|
</itemizedlist>
|
2003-12-09 11:05:07 +00:00
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
|
2003-03-23 23:35:12 +00:00
|
|
|
</chapter>
|