1 | <sect2>
|
---|
2 | <title>Installation of <application>MPlayer</application></title>
|
---|
3 |
|
---|
4 | <note><para>The package maintainers recommend building without any optimization</para></note>
|
---|
5 |
|
---|
6 | <para>Install <application>MPlayer</application> by running the following commands:</para>
|
---|
7 |
|
---|
8 | <screen><userinput><command>install -d /usr/lib/mplayer/extralite &&
|
---|
9 | tar xjvf ../extralite.tar.bz2 -C /usr/lib/mplayer &&
|
---|
10 | ./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
|
---|
11 | --enable-gui --enable-menu --enable-shared-pp \
|
---|
12 | --with-codecsdir=/usr/lib/mplayer/extralite &&
|
---|
13 | make &&
|
---|
14 | make install &&
|
---|
15 | make -C libavcodec/libpostproc install &&
|
---|
16 | cp etc/codecs.conf /etc/mplayer &&
|
---|
17 | tar xjvf ../default-1.7.tar.bz2 -C /usr/share/mplayer/Skin
|
---|
18 | </command></userinput></screen>
|
---|
19 |
|
---|
20 | <para>If freetype is in use, the only advantage of prerendered fonts is
|
---|
21 | that they are faster. Install them like this:</para>
|
---|
22 |
|
---|
23 | <screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font
|
---|
24 | </command></userinput></screen>
|
---|
25 |
|
---|
26 | <sect3>
|
---|
27 | <title>Installation for <acronym>DVD</acronym> playback</title>
|
---|
28 |
|
---|
29 | <para>If you want <acronym>DVD</acronym> playback with
|
---|
30 | <application>MPlayer</application>, you need to make a link
|
---|
31 | from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>:</para>
|
---|
32 |
|
---|
33 | <screen><userinput><command>ln -s /dev/<dvd drive> /dev/dvd</command></userinput></screen>
|
---|
34 |
|
---|
35 | <para>Replace <userinput><dvd drive></userinput> with whatever
|
---|
36 | device is appropriate, for example <filename>/dev/hdc</filename>. if
|
---|
37 | you don't know which device to choose, type:</para>
|
---|
38 |
|
---|
39 | <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
|
---|
40 |
|
---|
41 | <para>It should result in an output like:</para>
|
---|
42 |
|
---|
43 | <screen><userinput><command>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
44 | ATAPI CD/DVD-ROM drive</command></userinput></screen>
|
---|
45 |
|
---|
46 | <para>If you have SCSI-Emulation activated for the drives, you'll need
|
---|
47 | to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
|
---|
48 | same order as in <acronym>IDE</acronym> to the devices named
|
---|
49 | <filename>/dev/scd0</filename>,
|
---|
50 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
51 |
|
---|
52 | </sect3>
|
---|
53 |
|
---|
54 | </sect2>
|
---|