source: multimedia/videoutils/mplayer/mplayer-inst.xml@ 40f14a6

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 40f14a6 was b02f257, checked in by Tushar Teredesai <tushar@…>, 21 years ago

Fixes for bash 2.05a users, and other misc changes in descriptions

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

  • Property mode set to 100644
File size: 2.6 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<para>Install MPlayer by running the following commands:</para>
8
9<para><screen><userinput>install -d /usr/lib/win32 &amp;&amp;
10tar -xvf ../w32codec.tar -C /usr/lib/win32 &amp;&amp;
11tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &amp;&amp;
12tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &amp;&amp;
13tar -xvf ../qtextras.tar -C /usr/lib/win32 &amp;&amp;
14tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &amp;&amp;
15unset CFLAGS
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
22</userinput></screen></para>
23
24<para> Each user of MPlayer should complete the install by running the
25following commands:</para>
26<para><screen><userinput>
27mkdir ~/.mplayer &amp;&amp;
28cp etc/codecs.conf ~/.mplayer &amp;&amp;
29cp etc/example.conf ~/.mplayer/example.conf
30</userinput></screen></para>
31
32<sect3>
33<title>Installing the prerendered Fonts</title>
34
35<para>If freetype is in use, the only advantage of prerendered fonts is
36that they are faster. Install them like this:</para>
37
38<para><screen><userinput>install -d /usr/share/mplayer/font &amp;&amp;
39tar -xvf ../font-arial-iso-8859-1.tar -C /usr/share/mplayer/font &amp;&amp;
40for i in /usr/share/mplayer/font/font-arial-&lt;size&gt;*
41do ln -s $i /usr/share/mplayer/font; done</userinput></screen></para>
42
43<para>Replace <userinput>&lt;size&gt;</userinput> with either 14, 18, 24
44or 28.</para>
45
46</sect3>
47
48<sect3>
49<title>Installation for DVD playback</title>
50<para>If you want DVD playback with MPlayer, you need to make a link
51from your DVD drive to <filename>/dev/dvd</filename>:</para>
52<para><screen><userinput>ln -s /dev/&lt;dvd drive&gt; /dev/dvd
53</userinput></screen></para>
54<para>replace <userinput>&lt;dvd drive&gt;</userinput> with whatever
55device is appropriate, for example <filename>/dev/hdc</filename>. if
56you don't know which device to choose, type:</para>
57<para><screen><userinput>dmesg | grep DVD</userinput></screen></para>
58<para>It should result in an output like:</para>
59<para><screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
60ATAPI CD/DVD-ROM drive</userinput></screen></para>
61<para>If you have SCSI-Emulation activated for the drives, you'll need
62to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
63same order as in IDE to the devices named
64<filename>/dev/scd0</filename>,
65<filename>/dev/scd1</filename> and so on.</para>
66</sect3>
67
68</sect2>
69
Note: See TracBrowser for help on using the repository browser.