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 | <note><para>The package maintainers recommend building without any optimization</para></note>
|
---|
8 | <para>Install MPlayer by running the following commands:</para>
|
---|
9 |
|
---|
10 | <para><screen><userinput>install -d /usr/lib/win32 &&
|
---|
11 | tar -xvf ../win32codecs.tar -C /usr/lib/win32 &&
|
---|
12 | tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &&
|
---|
13 | tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &&
|
---|
14 | tar -xvf ../qtextras.tar -C /usr/lib/win32 &&
|
---|
15 | tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &&
|
---|
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</userinput></screen></para>
|
---|
22 |
|
---|
23 | <para> Each user of MPlayer should complete the install by running the
|
---|
24 | following commands:
|
---|
25 | <screen><userinput>mkdir ~/.mplayer &&
|
---|
26 | cp etc/codecs.conf ~/.mplayer &&
|
---|
27 | cp etc/example.conf ~/.mplayer/example.conf</userinput></screen></para>
|
---|
28 |
|
---|
29 | <sect3>
|
---|
30 | <title>Installing the prerendered Fonts</title>
|
---|
31 |
|
---|
32 | <para>If freetype is in use, the only advantage of prerendered fonts is
|
---|
33 | that they are faster. Install them like this:</para>
|
---|
34 |
|
---|
35 | <para><screen><userinput>install -d /usr/share/mplayer/font &&
|
---|
36 | tar -xvf ../font-arial-iso-8859-1.tar -C /usr/share/mplayer/font &&
|
---|
37 | for i in /usr/share/mplayer/font/font-arial-<size>*
|
---|
38 | do ln -s $i /usr/share/mplayer/font; done</userinput></screen></para>
|
---|
39 |
|
---|
40 | <para>Replace <userinput><size></userinput> with either 14, 18, 24
|
---|
41 | or 28.</para>
|
---|
42 |
|
---|
43 | </sect3>
|
---|
44 |
|
---|
45 | <sect3>
|
---|
46 | <title>Installation for DVD playback</title>
|
---|
47 | <para>If you want DVD playback with MPlayer, you need to make a link
|
---|
48 | from your DVD drive to <filename>/dev/dvd</filename>:</para>
|
---|
49 | <para><screen><userinput>ln -s /dev/<dvd drive> /dev/dvd</userinput></screen></para>
|
---|
50 | <para>replace <userinput><dvd drive></userinput> with whatever
|
---|
51 | device is appropriate, for example <filename>/dev/hdc</filename>. if
|
---|
52 | you don't know which device to choose, type:</para>
|
---|
53 | <para><screen><userinput>dmesg | grep DVD</userinput></screen></para>
|
---|
54 | <para>It should result in an output like:</para>
|
---|
55 | <para><screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
56 | ATAPI CD/DVD-ROM drive</userinput></screen></para>
|
---|
57 | <para>If you have SCSI-Emulation activated for the drives, you'll need
|
---|
58 | to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
|
---|
59 | same order as in IDE to the devices named
|
---|
60 | <filename>/dev/scd0</filename>,
|
---|
61 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
62 | </sect3>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|