source: multimedia/videoutils/mplayer.xml@ c3c56b2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c3c56b2 was 5a464e4d, checked in by Randy McMurchy <randy@…>, 11 years ago

Minor changes to various packages

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

  • Property mode set to 100644
File size: 15.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY mplayer-download-http
8 "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.xz">
9 <!ENTITY mplayer-download-ftp
10 "ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.xz">
11 <!ENTITY mplayer-md5sum "ac7bf1cfedc1c5c24bfc83107eefb1d9">
12 <!ENTITY mplayer-size "11 MB">
13 <!ENTITY mplayer-buildsize "183 MB (120 MB using system-installed FFMpeg)">
14 <!ENTITY mplayer-time "4 SBU (1.5 SBU using system-installed FFMpeg)">
15
16 <!ENTITY mplayer-skin "Clearlooks-1.5">
17 <!ENTITY mplayer-skin-download-http
18 "http://www.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
19 <!ENTITY mplayer-skin-download-ftp
20 "ftp://ftp.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
21 <!ENTITY mplayer-skin-md5sum "6b046a78fb15b243dc1eb5884276a750">
22 <!ENTITY mplayer-skin-size "40 KB">
23]>
24
25<sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
26 <?dbhtml filename="mplayer.html"?>
27
28 <sect1info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect1info>
32
33 <title>MPlayer-&mplayer-version;</title>
34
35 <indexterm zone="mplayer">
36 <primary sortas="a-MPlayer">MPlayer</primary>
37 </indexterm>
38
39 <sect2 role="package">
40 <title>Introduction to MPlayer</title>
41
42 <para>
43 <application>MPlayer</application> is a powerful audio/video player
44 controlled via the command line or a graphical interface that is able to
45 play almost every popular audio and video file format. With supported
46 video hardware and additional drivers, <application>MPlayer</application>
47 can play video files without an <application>X Window System</application>
48 installed.
49 </para>
50
51 &lfs72_checked;
52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download MD5 sum: &mplayer-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>Download size: &mplayer-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &mplayer-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &mplayer-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76
77 <itemizedlist spacing='compact'>
78 <title>Skins</title>
79 <listitem>
80 <para>
81 GUI skin (HTTP): <ulink url="&mplayer-skin-download-http;"/>
82 </para>
83 </listitem>
84 <listitem>
85 <para>GUI skin (FTP): <ulink url="&mplayer-skin-download-ftp;"/></para>
86 </listitem>
87 <listitem>
88 <para>Skin MD5 sum: &mplayer-skin-md5sum;</para>
89 </listitem>
90 <listitem>
91 <para>Skin size: &mplayer-skin-size;</para>
92 </listitem>
93 <listitem>
94 <para>
95 Alternative skins:
96 <ulink url="http://www1.mplayerhq.hu/MPlayer/skins/"/>
97 </para>
98 </listitem>
99 </itemizedlist>
100
101 <note>
102 <para>
103 Skins are only required to use the Gtk+ 2 user interface.
104 </para>
105 </note>
106
107 <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
108
109 <bridgehead renderas="sect4">Required</bridgehead>
110 <para role="required"><xref linkend="yasm"/></para>
111
112 <bridgehead renderas="sect4">Recommended</bridgehead>
113 <para role="recommended"><xref linkend="gtk2"/></para>
114
115 <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
116 <para role="optional">
117 <xref linkend="cdparanoia"/>,
118 <xref linkend="samba3"/>,
119 <xref linkend="libdvdread"/>,
120 <xref linkend="libdvdnav"/>,
121 <xref linkend="libdvdcss"/>,
122 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
123 <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
124 <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
125 <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
126 <ulink url="http://code.google.com/p/vstream-client/">TiVo vstream client</ulink>
127 and
128 <ulink url="http://www.xmms.org/">XMMS</ulink>
129 </para>
130
131 <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
132 <para role="optional">
133 <xref linkend="alsa"/>,
134 <!-- <xref linkend="arts"/>, -->
135 <xref linkend="esound"/>,
136 <xref linkend='pulseaudio'/>,
137 <xref linkend="sdl"/>,
138 <ulink url="http://jackaudio.org/">JACK</ulink>,
139 <ulink url="http://openal.org/">OpenAL</ulink> and
140 <ulink url="http://www.radscan.com/nas.html">NAS</ulink>
141 </para>
142
143 <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
144 <para role="optional">
145 <xref linkend="aalib"/>,
146 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
147 <xref linkend="giflib"/>,
148 <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
149 <xref linkend="libjpeg"/>,
150 <xref linkend="libmng"/>,
151 <xref linkend="libpng"/>,
152 <xref linkend="openjpeg"/> and
153 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>
154 </para>
155
156 <bridgehead renderas="sect4">Optional CODECs</bridgehead>
157 <para role="optional">
158 <xref linkend="ffmpeg"/>,
159 <xref linkend="libmad"/>,
160 <xref linkend="LZO"/>,
161 <xref linkend="speex"/>,
162 <xref linkend="libtheora"/>,
163 <xref linkend="mpg123"/>,
164 <xref linkend="liba52"/>,
165 <xref linkend="faac"/>,
166 <xref linkend="faad2"/>,
167 <xref linkend="libdv"/>,
168 <xref linkend="xvid"/>,
169 <xref linkend="libvpx"/>,
170 <xref linkend="lame"/>,
171 <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>,
172 <ulink url="https://launchpad.net/libgsm">libgsm</ulink>,
173 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
174 <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
175 <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore
176 Adaptive Multi Rate</ulink>,
177 <ulink url="http://www.broadcom.com/support/crystal_hd/">CrystalHD</ulink>,
178 <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
179 <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
180 <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink> and
181 <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>
182 </para>
183
184 <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
185 <para role="optional">
186 <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
187 <xref linkend="fontconfig"/>,
188 <xref linkend="freetype2"/>,
189 <xref linkend="fribidi"/>,
190 <xref linkend="gtk2"/> (required for the GUI),
191 <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
192 <ulink url="http://sourceforge.net/projects/bs2b/">libbs2b</ulink>,
193 <ulink url="http://www.lirc.org/">LIRC</ulink> (and
194 <ulink url="http://www.dolda2000.com/~fredrik/lirccd/">LIRC Client Daemon</ulink>),
195 <xref linkend="unrar"/>, and
196 <xref linkend="libxslt"/>,
197 <xref linkend="DocBook"/> and
198 <xref linkend="docbook-xsl"/> (all three required to build the HTML documentation)
199 </para>
200
201 <para condition="html" role="usernotes">
202 User Notes: <ulink url="&blfs-wiki;/mplayer"/>
203 </para>
204 </sect2>
205
206 <sect2 role="installation">
207 <title>Installation of MPlayer</title>
208
209 <sect3>
210 <title>Main MPlayer Installation</title>
211
212 <note>
213 <para>The package maintainers recommend building without any
214 optimizations.</para>
215 </note>
216
217 <para>
218 You may wish to examine the output from
219 <command>./configure --help</command> to find out what additional
220 parameters to <command>configure</command> are needed to include the
221 dependencies you have installed on your system.
222 </para>
223
224 <para>
225 Install <application>MPlayer</application> by running the following
226 commands:
227 </para>
228
229<screen><userinput>./configure --prefix=/usr \
230 --confdir=/etc/mplayer \
231 --enable-dynamic-plugins \
232 --enable-menu \
233 --enable-gui &amp;&amp;
234make</userinput></screen>
235
236 <para>If you wish to rebuild the chunked HTML documentation and build
237 a non-chunked HTML version of the docs, issue the following command:</para>
238
239<screen><userinput>make doc</userinput></screen>
240
241 <para>This package does not come with a test suite.</para>
242
243 <para>
244 Now, as the <systemitem class="username">root</systemitem> user:
245 </para>
246
247<screen role="root"><userinput>make install</userinput></screen>
248
249 <para>
250 To install the HTML documentation, issue the following commands as the
251 <systemitem class="username">root</systemitem> user:
252 </para>
253
254<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
255install -v -m644 DOCS/HTML/en/* \
256 /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
257
258 <para>
259 You will only need <filename>codecs.conf</filename> if you want to
260 change its properties, as the main binary contains an internal copy of
261 it. Ensure any changes you make to <filename>codecs.conf</filename>
262 achieve the desired results, as incorrect entries in this file have been
263 known to cause errors and render the player unusable. If necessary,
264 create the file as the <systemitem class="username">root</systemitem>
265 user:
266 </para>
267
268<screen role="root"><userinput>install -v -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
269
270 <para>
271 You may alternatively want to copy all the default configuration files
272 to <filename class='directory'>/etc/mplayer</filename> for future
273 reference or more customization ability. As the
274 <systemitem class="username">root</systemitem> user:
275 </para>
276
277<screen role="root"><userinput>install -v -m644 etc/*.conf /etc/mplayer</userinput></screen>
278 </sect3>
279
280 <sect3>
281 <title>Skin Installation (Optional)</title>
282
283 <para>
284 To enable the Gtk+ 2 frontend of <application>MPlayer</application>,
285 you'll need to install at least one skin. Extract the desired skin and
286 create the default location (as the
287 <systemitem class="username">root</systemitem> user):
288 </para>
289
290<screen role="root"><userinput>tar -xvf ../&mplayer-skin;.tar.bz2 \
291 -C /usr/share/mplayer/skins &amp;&amp;
292ln -sfv Clearlooks /usr/share/mplayer/skins/default</userinput></screen>
293 </sect3>
294 </sect2>
295
296 <sect2 role="commands">
297 <title>Command Explanations</title>
298
299 <para>
300 <parameter>--enable-gui</parameter>: This option builds the GUI interface
301 into <command>mplayer</command>.
302 </para>
303
304 <para>
305 <parameter>--enable-menu</parameter>: This option is set to enable the
306 on-screen display.
307 </para>
308
309 <para>
310 <option>--disable-ffmpeg_a</option>: You can use this option if you have
311 installed <xref linkend="ffmpeg"/>. MPlayer includes a copy of the FFmpeg
312 source and without this option it will statically compile the included
313 version of FFmpeg into itself. Dynamically linking to a system installed
314 FFmpeg makes MPlayer and Mencoder about 9MB smaller. If MPlayer exhibits
315 unstable behavior linked to a system installed FFmpeg, try recompiling MPlayer
316 without this option (it is always more thoroughly tested with the included
317 FFmpeg).
318 </para>
319 </sect2>
320
321 <sect2 role="configuration">
322 <title>Configuring MPlayer</title>
323
324 <sect3 id="mplayer-config">
325 <title>Config Files</title>
326
327 <para><filename>/etc/mplayer/*</filename> and
328 <filename>~/.mplayer/*</filename></para>
329
330 <indexterm zone="mplayer mplayer-config">
331 <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
332 </indexterm>
333
334 <indexterm zone="mplayer mplayer-config">
335 <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
336 </indexterm>
337 </sect3>
338
339 <sect3>
340 <title>Configuration Information</title>
341
342 <para>
343 Typically, there's no configuration required for the system-wide files
344 in <filename class='directory'>/etc/mplayer</filename> (in fact, this
345 directory is empty unless you copied the default files as mentioned
346 above). Configuration can be accomplished by choosing the configuration
347 button located on the <application>MPlayer</application> GUI. Any
348 configuration changes made in the GUI will be saved in the user's
349 <filename class='directory'>~/.mplayer</filename> directory.
350 </para>
351 </sect3>
352 </sect2>
353
354 <sect2 role="content">
355 <title>Contents</title>
356
357 <segmentedlist>
358 <segtitle>Installed Programs</segtitle>
359 <segtitle>Installed Libraries</segtitle>
360 <segtitle>Installed Directories</segtitle>
361
362 <seglistitem>
363 <seg>gmplayer, mplayer and mencoder</seg>
364 <seg>none</seg>
365 <seg>
366 /etc/mplayer,
367 /usr/lib/mplayer,
368 /usr/share/mplayer and
369 /usr/share/doc/mplayer
370 </seg>
371 </seglistitem>
372 </segmentedlist>
373
374 <variablelist>
375 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
376 <?dbfo list-presentation="list"?>
377 <?dbhtml list-presentation="table"?>
378
379 <varlistentry id="gmplayer">
380 <term><command>gmplayer</command></term>
381 <listitem>
382 <para>
383 is a symlink to <command>mplayer</command> which brings up the
384 Gtk+ 2 frontend of <application>MPlayer</application>.
385 </para>
386 <indexterm zone="mplayer gmplayer">
387 <primary sortas="b-gmplayer">gmplayer</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="mplayer-prog">
393 <term><command>mplayer</command></term>
394 <listitem>
395 <para> is the main MPlayer video player.</para>
396 <indexterm zone="mplayer mplayer-prog">
397 <primary sortas="b-mplayer">mplayer</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="mencoder">
403 <term><command>mencoder</command></term>
404 <listitem>
405 <para>
406 is a powerful command line video decoding, encoding and filtering
407 tool that is useful for (amongst other things) ripping DVDs to files
408 on your hard disk (see
409 /usr/share/doc/mplayer-&mplayer-version;/mencoder.html)
410 </para>
411 <indexterm zone="mplayer mencoder">
412 <primary sortas="b-mencoder">mencoder</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416 </variablelist>
417 </sect2>
418</sect1>
Note: See TracBrowser for help on using the repository browser.