source: multimedia/videoutils/mplayer/mplayer-inst.xml@ 17eae5f

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 17eae5f was 17eae5f, checked in by Igor Živković <igor@…>, 17 years ago

updated to mplayer-1.0pre4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2176 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<sect2>
2<title>Installation of <application>MPlayer</application></title>
3
4<para>If you downloaded any proprietary <acronym>CODEC</acronym>s,
5extract them at some system-wide location (like <filename
6class="directory">/usr/lib/mplayer/codecs</filename>) and add
7<parameter>--with-codecsdir=<replaceable>[location]</replaceable></parameter>
8option to the configure script.</para>
9
10<note><para>The package maintainers recommend building without any
11optimizations.</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 &amp;&amp;
17make &amp;&amp;
18make install &amp;&amp;
19make -C libavcodec/libpostproc install</command></userinput></screen>
20
21<para>You will need <filename>codecs.conf</filename> only if you want to
22change its properties, as the main binary contains an internal copy of
23it:</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
29one at recommended location:</para>
30
31<screen><userinput><command>install -d /usr/share/mplayer/Skin &amp;&amp;
32tar 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
39from 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
44device is appropriate, for example <filename>/dev/hdc</filename>. if
45you 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,
52ATAPI CD/DVD-ROM drive</userinput></screen>
53
54<para>If you have SCSI-Emulation activated for the drives, you'll need
55to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
56same order as in <acronym>IDE</acronym> to the devices named
57<filename>/dev/scd0</filename>,
58<filename>/dev/scd1</filename> and so on.</para>
59
60</sect3>
61
62</sect2>
Note: See TracBrowser for help on using the repository browser.