[69bc513] | 1 | <sect2>
|
---|
[d50ef4c5] | 2 | <title>Installation of <application>MPlayer</application></title>
|
---|
[69bc513] | 3 |
|
---|
[2537aba] | 4 | <note><para>The package maintainers recommend building without any optimization</para></note>
|
---|
[69bc513] | 5 |
|
---|
[d50ef4c5] | 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 &&
|
---|
[4875b9a] | 10 | ./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
|
---|
[d50ef4c5] | 11 | --enable-gui --enable-menu --enable-shared-pp \
|
---|
| 12 | --with-codecsdir=/usr/lib/mplayer/extralite &&
|
---|
[69bc513] | 13 | make &&
|
---|
[d50ef4c5] | 14 | make install &&
|
---|
[c47b5f11] | 15 | make -C libavcodec/libpostproc install &&
|
---|
[d50ef4c5] | 16 | cp etc/codecs.conf /etc/mplayer &&
|
---|
| 17 | tar xjvf ../default-1.7.tar.bz2 -C /usr/share/mplayer/Skin
|
---|
| 18 | </command></userinput></screen>
|
---|
[4875b9a] | 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 |
|
---|
[d50ef4c5] | 23 | <screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font
|
---|
| 24 | </command></userinput></screen>
|
---|
[4875b9a] | 25 |
|
---|
[d50ef4c5] | 26 | <sect3>
|
---|
| 27 | <title>Installation for <acronym>DVD</acronym> playback</title>
|
---|
[4875b9a] | 28 |
|
---|
[d50ef4c5] | 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>
|
---|
[4875b9a] | 32 |
|
---|
[d50ef4c5] | 33 | <screen><userinput><command>ln -s /dev/<dvd drive> /dev/dvd</command></userinput></screen>
|
---|
| 34 |
|
---|
| 35 | <para>Replace <userinput><dvd drive></userinput> with whatever
|
---|
[4875b9a] | 36 | device is appropriate, for example <filename>/dev/hdc</filename>. if
|
---|
| 37 | you don't know which device to choose, type:</para>
|
---|
[d50ef4c5] | 38 |
|
---|
| 39 | <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
|
---|
| 40 |
|
---|
[4875b9a] | 41 | <para>It should result in an output like:</para>
|
---|
[d50ef4c5] | 42 |
|
---|
| 43 | <screen><userinput><command>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
| 44 | ATAPI CD/DVD-ROM drive</command></userinput></screen>
|
---|
| 45 |
|
---|
[4875b9a] | 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
|
---|
[d50ef4c5] | 48 | same order as in <acronym>IDE</acronym> to the devices named
|
---|
[4875b9a] | 49 | <filename>/dev/scd0</filename>,
|
---|
| 50 | <filename>/dev/scd1</filename> and so on.</para>
|
---|
[d50ef4c5] | 51 |
|
---|
[4875b9a] | 52 | </sect3>
|
---|
[69bc513] | 53 |
|
---|
| 54 | </sect2>
|
---|