source: multimedia/videoutils/mplayer/mplayer-inst.xml@ a9869ad

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_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a9869ad was a9869ad, checked in by Igor Živković <igor@…>, 20 years ago

updated to mplayer-1.0pre2

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