1 | <sect2>
|
---|
2 | <title>Installation of MPlayer</title>
|
---|
3 |
|
---|
4 | <para>The extra downloads should be located in your source directory with
|
---|
5 | the bzip2 files decompressed.</para>
|
---|
6 |
|
---|
7 | <para>Install MPlayer by running the following commands:</para>
|
---|
8 |
|
---|
9 | <para><screen><userinput>install -d /usr/lib/win32 &&
|
---|
10 | tar -xvf ../w32codec.tar -C /usr/lib/win32 &&
|
---|
11 | tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &&
|
---|
12 | tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &&
|
---|
13 | tar -xvf ../qtextras.tar -C /usr/lib/win32 &&
|
---|
14 | tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &&
|
---|
15 | unset CFLAGS
|
---|
16 | ./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
|
---|
17 | --enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
|
---|
18 | --enable-vorbis --with-reallibdir=/usr/lib/win32/rp9codecs \
|
---|
19 | --enable-freetype --enable-shared-pp &&
|
---|
20 | make &&
|
---|
21 | make install
|
---|
22 | </userinput></screen></para>
|
---|
23 |
|
---|
24 | <para> Each user of MPlayer should complete the install by running the
|
---|
25 | following commands:</para>
|
---|
26 | <para><screen><userinput>
|
---|
27 | mkdir ~/.mplayer &&
|
---|
28 | cp etc/codecs.conf ~/.mplayer &&
|
---|
29 | cp etc/example.conf ~/.mplayer/example.conf
|
---|
30 | </userinput></screen></para>
|
---|
31 |
|
---|
32 | <sect3>
|
---|
33 | <title>Installing the prerendered Fonts</title>
|
---|
34 |
|
---|
35 | <para>If freetype is in use, the only advantage of prerendered fonts is
|
---|
36 | that they are faster. Install them like this:</para>
|
---|
37 |
|
---|
38 | <para><screen><userinput>install -d /usr/share/mplayer/font &&
|
---|
39 | tar -xvf ../font-arial-iso-8859-1.tar -C /usr/share/mplayer/font &&
|
---|
40 | for i in /usr/share/mplayer/font/font-arial-<size>*
|
---|
41 | do ln -s $i /usr/share/mplayer/font; done</userinput></screen></para>
|
---|
42 |
|
---|
43 | <para>Replace <userinput><size></userinput> with either 14, 18, 24
|
---|
44 | or 28.</para>
|
---|
45 |
|
---|
46 | </sect3>
|
---|
47 |
|
---|
48 | <sect3>
|
---|
49 | <title>Installation for DVD playback</title>
|
---|
50 | <para>If you want DVD playback with MPlayer, you need to make a link
|
---|
51 | from your DVD drive to <filename>/dev/dvd</filename>:</para>
|
---|
52 | <para><screen><userinput>ln -s /dev/<dvd drive> /dev/dvd
|
---|
53 | </userinput></screen></para>
|
---|
54 | <para>replace <userinput><dvd drive></userinput> with whatever
|
---|
55 | device is appropriate, for example <filename>/dev/hdc</filename>. if
|
---|
56 | you don't know which device to choose, type:</para>
|
---|
57 | <para><screen><userinput>dmesg | grep DVD</userinput></screen></para>
|
---|
58 | <para>It should result in an output like:</para>
|
---|
59 | <para><screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
60 | ATAPI CD/DVD-ROM drive</userinput></screen></para>
|
---|
61 | <para>If you have SCSI-Emulation activated for the drives, you'll need
|
---|
62 | to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
|
---|
63 | same order as in IDE to the devices named
|
---|
64 | <filename>/dev/scd0</filename>,
|
---|
65 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
66 | </sect3>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
69 |
|
---|