source: multimedia/videoutils/mplayer/mplayer-inst.xml@ 44e8a64

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 44e8a64 was 44e8a64, checked in by Igor Živković <igor@…>, 21 years ago

fixed permissions for all untarred files

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

  • Property mode set to 100644
File size: 2.3 KB
Line 
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 &amp;&amp;
9tar xjvf ../extralite.tar.bz2 -C /usr/lib/mplayer &amp;&amp;
10./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
11--enable-gui --enable-menu --enable-shared-pp \
12--with-codecsdir=/usr/lib/mplayer/extralite &amp;&amp;
13make &amp;&amp;
14make install &amp;&amp;
15make -C libavcodec/libpostproc install &amp;&amp;
16cp etc/codecs.conf /etc/mplayer &amp;&amp;
17tar xjvf ../default-1.7.tar.bz2 -C /usr/share/mplayer/Skin
18</command></userinput></screen>
19
20<para>If <application>FreeType</application> is in use, the only advantage of prerendered fonts is
21that they are faster. Install them like this:</para>
22
23<screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font</command></userinput></screen>
24
25<para>Set the proper permissions for codecs, skins and fonts:</para>
26
27<screen><userinput><command>chown -R root:root /usr/{lib/mplayer/extralite,share/mplayer}</command></userinput></screen>
28
29<sect3>
30<title>Installation for <acronym>DVD</acronym> playback</title>
31
32<para>If you want <acronym>DVD</acronym> playback with
33<application>MPlayer</application>, you need to make a link
34from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>:</para>
35
36<screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
37
38<para>Replace <replaceable>[dvd drive]</replaceable> with whatever
39device is appropriate, for example <filename>/dev/hdc</filename>. if
40you don't know which device to choose, type:</para>
41
42<screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
43
44<para>It should result in an output like:</para>
45
46<screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
47ATAPI CD/DVD-ROM drive</userinput></screen>
48
49<para>If you have SCSI-Emulation activated for the drives, you'll need
50to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
51same order as in <acronym>IDE</acronym> to the devices named
52<filename>/dev/scd0</filename>,
53<filename>/dev/scd1</filename> and so on.</para>
54
55</sect3>
56
57</sect2>
Note: See TracBrowser for help on using the repository browser.