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 | cp etc/codecs.conf /etc/mplayer &&
|
---|
16 | tar xjvf ../default-1.7.tar.bz2 -C /usr/share/mplayer/Skin
|
---|
17 | </command></userinput></screen>
|
---|
18 |
|
---|
19 | <para>If freetype is in use, the only advantage of prerendered fonts is
|
---|
20 | that they are faster. Install them like this:</para>
|
---|
21 |
|
---|
22 | <screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font
|
---|
23 | </command></userinput></screen>
|
---|
24 |
|
---|
25 | <sect3>
|
---|
26 | <title>Installation for <acronym>DVD</acronym> playback</title>
|
---|
27 |
|
---|
28 | <para>If you want <acronym>DVD</acronym> playback with
|
---|
29 | <application>MPlayer</application>, you need to make a link
|
---|
30 | from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>:</para>
|
---|
31 |
|
---|
32 | <screen><userinput><command>ln -s /dev/<dvd drive> /dev/dvd</command></userinput></screen>
|
---|
33 |
|
---|
34 | <para>Replace <userinput><dvd drive></userinput> with whatever
|
---|
35 | device is appropriate, for example <filename>/dev/hdc</filename>. if
|
---|
36 | you don't know which device to choose, type:</para>
|
---|
37 |
|
---|
38 | <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
|
---|
39 |
|
---|
40 | <para>It should result in an output like:</para>
|
---|
41 |
|
---|
42 | <screen><userinput><command>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
43 | ATAPI CD/DVD-ROM drive</command></userinput></screen>
|
---|
44 |
|
---|
45 | <para>If you have SCSI-Emulation activated for the drives, you'll need
|
---|
46 | to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
|
---|
47 | same order as in <acronym>IDE</acronym> to the devices named
|
---|
48 | <filename>/dev/scd0</filename>,
|
---|
49 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
50 |
|
---|
51 | </sect3>
|
---|
52 |
|
---|
53 | </sect2>
|
---|