2002-10-12 07:04:24 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of MPlayer</title>
|
|
|
|
|
2003-02-26 06:05:00 +08:00
|
|
|
<para>The extra downloads should be located in your source directory with
|
2003-02-26 06:05:52 +08:00
|
|
|
the bzip2 files decompressed.</para>
|
2002-10-12 07:04:24 +08:00
|
|
|
|
2003-04-08 23:42:15 +08:00
|
|
|
<note><para>The package maintainers recommend building without any optimization</para></note>
|
2002-10-12 07:04:24 +08:00
|
|
|
<para>Install MPlayer by running the following commands:</para>
|
|
|
|
|
2002-10-17 09:57:28 +08:00
|
|
|
<para><screen><userinput>install -d /usr/lib/win32 &&
|
2003-04-17 11:43:30 +08:00
|
|
|
tar -xvf ../win32codecs.tar -C /usr/lib/win32 &&
|
2002-12-27 11:33:24 +08:00
|
|
|
tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &&
|
|
|
|
tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &&
|
|
|
|
tar -xvf ../qtextras.tar -C /usr/lib/win32 &&
|
|
|
|
tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &&
|
|
|
|
./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
|
|
|
|
--enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
|
2003-02-07 10:42:08 +08:00
|
|
|
--enable-vorbis --with-reallibdir=/usr/lib/win32/rp9codecs \
|
2002-12-27 11:33:24 +08:00
|
|
|
--enable-freetype --enable-shared-pp &&
|
2002-10-12 07:04:24 +08:00
|
|
|
make &&
|
2003-04-19 22:05:48 +08:00
|
|
|
make install</userinput></screen></para>
|
2002-10-12 10:43:32 +08:00
|
|
|
|
|
|
|
<para> Each user of MPlayer should complete the install by running the
|
2003-04-19 22:05:48 +08:00
|
|
|
following commands:
|
|
|
|
<screen><userinput>mkdir ~/.mplayer &&
|
2002-10-12 07:04:24 +08:00
|
|
|
cp etc/codecs.conf ~/.mplayer &&
|
2003-04-19 22:05:48 +08:00
|
|
|
cp etc/example.conf ~/.mplayer/example.conf</userinput></screen></para>
|
2002-12-27 11:33:24 +08:00
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Installing the prerendered Fonts</title>
|
|
|
|
|
|
|
|
<para>If freetype is in use, the only advantage of prerendered fonts is
|
|
|
|
that they are faster. Install them like this:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>install -d /usr/share/mplayer/font &&
|
|
|
|
tar -xvf ../font-arial-iso-8859-1.tar -C /usr/share/mplayer/font &&
|
|
|
|
for i in /usr/share/mplayer/font/font-arial-<size>*
|
|
|
|
do ln -s $i /usr/share/mplayer/font; done</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Replace <userinput><size></userinput> with either 14, 18, 24
|
|
|
|
or 28.</para>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Installation for DVD playback</title>
|
|
|
|
<para>If you want DVD playback with MPlayer, you need to make a link
|
|
|
|
from your DVD drive to <filename>/dev/dvd</filename>:</para>
|
2003-04-19 22:05:48 +08:00
|
|
|
<para><screen><userinput>ln -s /dev/<dvd drive> /dev/dvd</userinput></screen></para>
|
2002-12-27 11:33:24 +08:00
|
|
|
<para>replace <userinput><dvd drive></userinput> with whatever
|
|
|
|
device is appropriate, for example <filename>/dev/hdc</filename>. if
|
|
|
|
you don't know which device to choose, type:</para>
|
|
|
|
<para><screen><userinput>dmesg | grep DVD</userinput></screen></para>
|
|
|
|
<para>It should result in an output like:</para>
|
|
|
|
<para><screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
|
|
|
ATAPI CD/DVD-ROM drive</userinput></screen></para>
|
|
|
|
<para>If you have SCSI-Emulation activated for the drives, you'll need
|
|
|
|
to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
|
|
|
|
same order as in IDE to the devices named
|
|
|
|
<filename>/dev/scd0</filename>,
|
|
|
|
<filename>/dev/scd1</filename> and so on.</para>
|
|
|
|
</sect3>
|
2002-10-12 07:04:24 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|