1 | <sect2>
|
---|
2 | <title>Installation of <application>MPlayer</application></title>
|
---|
3 |
|
---|
4 | <para>If you downloaded any proprietary <acronym>CODEC</acronym>s,
|
---|
5 | extract them at some system-wide location (like <filename
|
---|
6 | class="directory">/usr/lib/mplayer/codecs</filename>) and add
|
---|
7 | <parameter>--with-codecsdir=<replaceable>[location]</replaceable></parameter>
|
---|
8 | option to the configure script.</para>
|
---|
9 |
|
---|
10 | <note><para>The package maintainers recommend building without any
|
---|
11 | optimizations.</para></note>
|
---|
12 |
|
---|
13 | <para>Install <application>MPlayer</application> by running the following commands:</para>
|
---|
14 |
|
---|
15 | <screen><userinput><command>./configure --prefix=/usr --confdir=/etc/mplayer \
|
---|
16 | --enable-largefiles --enable-shared-pp &&
|
---|
17 | make &&
|
---|
18 | make install &&
|
---|
19 | make -C libavcodec/libpostproc install</command></userinput></screen>
|
---|
20 |
|
---|
21 | <para>You will need <filename>codecs.conf</filename> only if you want to
|
---|
22 | change its properties, as the main binary contains an internal copy of
|
---|
23 | it:</para>
|
---|
24 |
|
---|
25 | <screen><userinput><command>cp etc/codecs.conf /etc/mplayer</command></userinput></screen>
|
---|
26 |
|
---|
27 | <para>The <acronym>GUI</acronym> version of
|
---|
28 | <application>MPlayer</application> requires a skin. Extract the default
|
---|
29 | one to the recommended location:</para>
|
---|
30 |
|
---|
31 | <screen><userinput><command>install -d /usr/share/mplayer/Skin &&
|
---|
32 | tar xjvf ../default-1.8.tar.bz2 -C /usr/share/mplayer/Skin</command></userinput></screen>
|
---|
33 |
|
---|
34 | <sect3>
|
---|
35 | <title>Installation for <acronym>DVD</acronym> playback</title>
|
---|
36 |
|
---|
37 | <para>If you want <acronym>DVD</acronym> playback with
|
---|
38 | <application>MPlayer</application>, you need to make a link
|
---|
39 | from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>:</para>
|
---|
40 |
|
---|
41 | <screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
|
---|
42 |
|
---|
43 | <para>Replace <replaceable>[dvd drive]</replaceable> with whatever
|
---|
44 | device is appropriate, for example <filename>/dev/hdc</filename>. If
|
---|
45 | you don't know which device to choose, type:</para>
|
---|
46 |
|
---|
47 | <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
|
---|
48 |
|
---|
49 | <para>It should result in an output like:</para>
|
---|
50 |
|
---|
51 | <screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
52 | ATAPI CD/DVD-ROM drive</userinput></screen>
|
---|
53 |
|
---|
54 | <para>If you have SCSI-Emulation activated for the drives, you'll need
|
---|
55 | to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
|
---|
56 | same order as in <acronym>IDE</acronym> devices to the devices named
|
---|
57 | <filename>/dev/scd0</filename>,
|
---|
58 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
59 |
|
---|
60 | </sect3>
|
---|
61 |
|
---|
62 | </sect2>
|
---|