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

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 v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c4ebaa6 was c4ebaa6, checked in by Larry Lawrence <larry@…>, 21 years ago

corrections found by others

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

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<sect2>
2<title>Installation of MPlayer</title>
3
4<para>The extra downloads should be located in your source directory with
5the bzip2 files decompressed.</para>
6
7<note><para>The package maintainers recommend building without any optimization</para></note>
8<para>Install MPlayer by running the following commands:</para>
9
10<para><screen><userinput>install -d /usr/lib/win32 &amp;&amp;
11tar -xvf ../win32codecs.tar -C /usr/lib/win32 &amp;&amp;
12tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &amp;&amp;
13tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &amp;&amp;
14tar -xvf ../qtextras.tar -C /usr/lib/win32 &amp;&amp;
15tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &amp;&amp;
16./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
17--enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
18--enable-vorbis --with-reallibdir=/usr/lib/win32/rp9codecs \
19--enable-freetype --enable-shared-pp &amp;&amp;
20make &amp;&amp;
21make install</userinput></screen></para>
22
23<para> Each user of MPlayer should complete the install by running the
24following commands:
25<screen><userinput>mkdir ~/.mplayer &amp;&amp;
26cp etc/codecs.conf ~/.mplayer &amp;&amp;
27cp etc/example.conf ~/.mplayer/example.conf</userinput></screen></para>
28
29<sect3>
30<title>Installing the prerendered Fonts</title>
31
32<para>If freetype is in use, the only advantage of prerendered fonts is
33that they are faster. Install them like this:</para>
34
35<para><screen><userinput>install -d /usr/share/mplayer/font &amp;&amp;
36tar -xvf ../font-arial-iso-8859-1.tar -C /usr/share/mplayer/font &amp;&amp;
37for i in /usr/share/mplayer/font/font-arial-&lt;size&gt;*
38do ln -s $i /usr/share/mplayer/font; done</userinput></screen></para>
39
40<para>Replace <userinput>&lt;size&gt;</userinput> with either 14, 18, 24
41or 28.</para>
42
43</sect3>
44
45<sect3>
46<title>Installation for DVD playback</title>
47<para>If you want DVD playback with MPlayer, you need to make a link
48from your DVD drive to <filename>/dev/dvd</filename>:</para>
49<para><screen><userinput>ln -s /dev/&lt;dvd drive&gt; /dev/dvd</userinput></screen></para>
50<para>replace <userinput>&lt;dvd drive&gt;</userinput> with whatever
51device is appropriate, for example <filename>/dev/hdc</filename>. if
52you don't know which device to choose, type:</para>
53<para><screen><userinput>dmesg | grep DVD</userinput></screen></para>
54<para>It should result in an output like:</para>
55<para><screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
56ATAPI CD/DVD-ROM drive</userinput></screen></para>
57<para>If you have SCSI-Emulation activated for the drives, you'll need
58to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
59same order as in IDE to the devices named
60<filename>/dev/scd0</filename>,
61<filename>/dev/scd1</filename> and so on.</para>
62</sect3>
63
64</sect2>
65
Note: See TracBrowser for help on using the repository browser.