source: multimedia/videoutils/mplayer.xml@ 45f56ac

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 45f56ac was 45f56ac, checked in by Krejzi <krejzi@…>, 11 years ago

Rename samba3 to samba, begin updating packages in GNOME chapter.

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

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