Installation of MPlayer
The extra downloads should be located in you source directory with
the bzip files decompressed.
Install MPlayer by running the following commands:
install -d /usr/lib/win32 &&
tar -xvf ../w32codec.tar -C /usr/lib/win32 &&
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 &&
unset CFLAGS &&
./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
--enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
--enable-vorbis --with-reallibdir=/usr/lib/win32/re9codecs \
--enable-freetype --enable-shared-pp &&
make &&
make install
Each user of MPlayer should complete the install by running the
following commands:
mkdir ~/.mplayer &&
cp etc/codecs.conf ~/.mplayer &&
cp etc/example.conf ~/.mplayer/example.conf
Installing the prerendered Fonts
If freetype is in use, the only advantage of prerendered fonts is
that they are faster. Install them like this:
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
Replace <size> with either 14, 18, 24
or 28.
Installation for DVD playback
If you want DVD playback with MPlayer, you need to make a link
from your DVD drive to /dev/dvd:
ln -s /dev/<dvd drive> /dev/dvd
replace <dvd drive> with whatever
device is appropriate, for example /dev/hdc. if
you don't know which device to choose, type:
dmesg | grep DVD
It should result in an output like:
hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
ATAPI CD/DVD-ROM drive
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
/dev/scd0,
/dev/scd1 and so on.