[69bc513] | 1 | <sect2>
|
---|
[d50ef4c5] | 2 | <title>Installation of <application>MPlayer</application></title>
|
---|
[69bc513] | 3 |
|
---|
[6c91f96e] | 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 |
|
---|
[a9869ad] | 10 | <note><para>The package maintainers recommend building without any
|
---|
| 11 | optimizations.</para></note>
|
---|
[69bc513] | 12 |
|
---|
[d50ef4c5] | 13 | <para>Install <application>MPlayer</application> by running the following commands:</para>
|
---|
| 14 |
|
---|
[6c91f96e] | 15 | <screen><userinput><command>./configure --prefix=/usr --confdir=/etc/mplayer \
|
---|
[bf5edeec] | 16 | --enable-largefiles --enable-shared-pp &&
|
---|
[69bc513] | 17 | make &&
|
---|
[d50ef4c5] | 18 | make install &&
|
---|
[6c91f96e] | 19 | make -C libavcodec/libpostproc install</command></userinput></screen>
|
---|
[4875b9a] | 20 |
|
---|
[6c91f96e] | 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>
|
---|
[4875b9a] | 24 |
|
---|
[6c91f96e] | 25 | <screen><userinput><command>cp etc/codecs.conf /etc/mplayer</command></userinput></screen>
|
---|
[44e8a64] | 26 |
|
---|
[6c91f96e] | 27 | <para>The <acronym>GUI</acronym> version of
|
---|
| 28 | <application>MPlayer</application> requires a skin. Extract the default
|
---|
[eac1ee9] | 29 | one to the recommended location:</para>
|
---|
[44e8a64] | 30 |
|
---|
[17eae5f] | 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>
|
---|
[4875b9a] | 33 |
|
---|
[d50ef4c5] | 34 | <sect3>
|
---|
| 35 | <title>Installation for <acronym>DVD</acronym> playback</title>
|
---|
[4875b9a] | 36 |
|
---|
[d50ef4c5] | 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>
|
---|
[4875b9a] | 40 |
|
---|
[8223b66] | 41 | <screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
|
---|
[d50ef4c5] | 42 |
|
---|
[8223b66] | 43 | <para>Replace <replaceable>[dvd drive]</replaceable> with whatever
|
---|
[eac1ee9] | 44 | device is appropriate, for example <filename>/dev/hdc</filename>. If
|
---|
[4875b9a] | 45 | you don't know which device to choose, type:</para>
|
---|
[d50ef4c5] | 46 |
|
---|
| 47 | <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
|
---|
| 48 |
|
---|
[4875b9a] | 49 | <para>It should result in an output like:</para>
|
---|
[d50ef4c5] | 50 |
|
---|
[8223b66] | 51 | <screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
| 52 | ATAPI CD/DVD-ROM drive</userinput></screen>
|
---|
[d50ef4c5] | 53 |
|
---|
[4875b9a] | 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
|
---|
[eac1ee9] | 56 | same order as in <acronym>IDE</acronym> devices to the devices named
|
---|
[4875b9a] | 57 | <filename>/dev/scd0</filename>,
|
---|
| 58 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
[d50ef4c5] | 59 |
|
---|
[4875b9a] | 60 | </sect3>
|
---|
[69bc513] | 61 |
|
---|
| 62 | </sect2>
|
---|