source: multimedia/videoutils/mplayer.xml@ faec3f7

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 faec3f7 was faec3f7, checked in by Andrew Benton <andy@…>, 12 years ago

ffmpeg-0.10.3

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

  • Property mode set to 100644
File size: 19.1 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 "http://www.linuxfromscratch.org/~krejzi/mplayer-1.0~rc4+svn20120427.tar.xz">
8<!-- <!ENTITY mplayer-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/svn/m/mplayer-svn_20120427.tar.xz">-->
9 <!ENTITY mplayer-download-ftp " ">
10 <!ENTITY mplayer-md5sum "f2723e317e5a6935af2460b48c3fa0c4 ">
11 <!ENTITY mplayer-size "10 MB">
12 <!ENTITY mplayer-buildsize "178 MB">
13 <!ENTITY mplayer-time "2.2 SBU">
14
15 <!ENTITY mplayer-skin "Blue-1.8.tar.bz2">
16 <!ENTITY mplayer-skin-md5sum "340368f4e33f767d9df109990fb29c02">
17 <!ENTITY mplayer-skin-size "218 KB">
18]>
19
20<sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
21 <?dbhtml filename="mplayer.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>MPlayer-&mplayer-version;</title>
29
30 <indexterm zone="mplayer">
31 <primary sortas="a-MPlayer">MPlayer</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to MPlayer</title>
36
37 <para>The <application>MPlayer</application> package contains a powerful
38 audio/video player controlled via the command line or graphical interface
39 which is able to play almost every popular audio and video file format. With
40 supported video hardware and additional drivers, <application>MPlayer</application> can
41 play video files without an <application>X Window System</application>
42 installed.</para>
43
44 <para>For <application>MPlayer</application> general information and
45 available features, including a full list of file formats, codecs and
46 output devices supported by <application>MPlayer</application>, visit the
47 <ulink url="http://www.mplayerhq.hu/">
48 <application>MPlayer</application> web site</ulink>.</para>
49
50 &lfs71_checked;
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download MD5 sum: &mplayer-md5sum;</para>
62 </listitem>
63 <listitem>
64 <para>Download size: &mplayer-size;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated disk space required: &mplayer-buildsize;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated build time: &mplayer-time;</para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75<!--
76 <itemizedlist spacing='compact'>
77 <title>Patches</title>
78 <listitem>
79 <para>Required Patch: <ulink
80 url="http://www.mplayerhq.hu/MPlayer/patches/asmrules_fix_20061231.diff"/></para>
81 </listitem>
82 <listitem>
83 <para>Required Patch: <ulink
84 url="http://www.mplayerhq.hu/MPlayer/patches/cddb_fix_20070605.diff"/></para>
85 </listitem>
86 <listitem>
87 <para>Required Patch: <ulink
88 url="&patch-root;/MPlayer-&mplayer-version;-ext_ffmpeg-1.patch"/></para>
89 </listitem>
90 </itemizedlist>
91-->
92
93 <itemizedlist spacing='compact'>
94 <title>Skins</title>
95 <listitem>
96 <para>Default GUI skin: <ulink
97 url="http://www.mplayerhq.hu/MPlayer/skins/&mplayer-skin;"/></para>
98 </listitem>
99 <listitem>
100 <para>Download MD5 sum: &mplayer-skin-md5sum;</para>
101 </listitem>
102 <listitem>
103 <para>Download size: &mplayer-skin-size;</para>
104 </listitem>
105 <listitem>
106 <para>Additional skins: <ulink
107 url="http://www1.mplayerhq.hu/MPlayer/skins/"/></para>
108 </listitem>
109 </itemizedlist>
110<!--
111 <itemizedlist spacing='compact'>
112 <title>Fonts</title>
113 <listitem>
114 <para>Prerendered fonts: <ulink
115 url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/&mplayer-font;.tar.bz2"/></para>
116 </listitem>
117 <listitem>
118 <para>Download MD5 sum: &mplayer-font-md5sum;</para>
119 </listitem>
120 <listitem>
121 <para>Download size: &mplayer-font-size;</para>
122 </listitem>
123 <listitem>
124 <para>Additional fonts: <ulink
125 url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/"/></para>
126 </listitem>
127 </itemizedlist>
128-->
129 <para>Skins are not required to build and use <application>MPlayer
130 </application>.</para>
131
132 <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
133
134 <bridgehead renderas="sect4">Required</bridgehead>
135 <para role="required">
136 <xref linkend="yasm"/>
137 </para>
138
139 <bridgehead renderas="sect4">Recommended</bridgehead>
140 <para role="recommended">
141 <xref linkend="x-window-system"/>
142 </para>
143
144 <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
145 <para role="optional">
146 <xref linkend="cdparanoia"/>,
147 <xref linkend="samba3"/>,
148 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
149 <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
150 <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
151 <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
152 <ulink url="http://code.google.com/p/vstream-client/">TiVo vstream client</ulink> and
153 <ulink url="http://www.xmms.org/">XMMS</ulink>
154 <!-- Mplayer can only use internal versions of these at the moment:
155 <xref linkend="libdvdread"/>,
156 <xref linkend="libdvdnav"/>,
157 <xref linkend="libdvdcss"/>,
158 -->
159 </para>
160
161 <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
162 <para role="optional">
163 <xref linkend="alsa"/>,
164 <!-- <xref linkend="arts"/>, -->
165 <xref linkend="esound"/>,
166 <xref linkend='pulseaudio'/>,
167 <xref linkend="sdl"/>,
168 <ulink url="http://jackaudio.org/">JACK</ulink>,
169 <ulink url="http://openal.org/">OpenAL</ulink> and
170 <ulink url="http://www.radscan.com/nas.html">NAS</ulink>
171 </para>
172
173 <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
174 <para role="optional">
175 <xref linkend="aalib"/>,
176 <xref linkend="libpng"/>,
177 <xref linkend="libjpeg"/>,
178 <xref linkend="libmng"/>,
179 <xref linkend="giflib"/>,
180 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
181 <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
182 <ulink url="http://www.svgalib.org/">SVGAlib</ulink> and
183 <xref linkend="openjpeg"/>
184 </para>
185
186 <bridgehead renderas="sect4">Optional CODECs</bridgehead>
187 <para role="optional">
188 <xref linkend="libmad"/>,
189 <xref linkend="LZO"/>,
190 <xref linkend="speex"/>,
191 <xref linkend="libtheora"/>,
192 <xref linkend="mpg123"/>,
193 <xref linkend="liba52"/>,
194 <xref linkend="faac"/>,
195 <xref linkend="faad2"/>,
196 <xref linkend="libdv"/>,
197 <xref linkend="xvid"/>,
198 <xref linkend="libvpx"/>,
199 <xref linkend="lame"/>,
200 <ulink url="ftp://ftp.videolan.org/pub/videolan/vlc/0.8.2/contrib/toolame-02m-beta8.tar.bz2">tooLAME</ulink>,
201 <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>,
202 <ulink url="https://launchpad.net/libgsm">libgsm</ulink>,
203 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
204 <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
205 <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore Adaptive Multi Rate</ulink>,
206 <ulink url="http://www.broadcom.com/support/crystal_hd/">CrystalHD</ulink>,
207 <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
208 <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
209 <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
210 <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>
211
212 <!-- MPlayer can only use an internal version of this at the moment
213 <xref linkend="ffmpeg"/> -->
214
215 </para>
216
217 <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
218 <para role="optional">
219 <xref linkend="fontconfig"/>,
220 <xref linkend="freetype2"/>,
221 <xref linkend="fribidi"/>,
222 <xref linkend="unrar"/>,
223 <xref linkend="gtk2"/> (required for the GUI),
224 <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
225 <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
226 <ulink url="http://sourceforge.net/projects/bs2b/">libbs2b</ulink>,
227 <ulink url="http://www.lirc.org/">LIRC</ulink> and
228 <ulink url="http://www.dolda2000.com/~fredrik/lirccd/">LIRC Client Daemon</ulink>,
229 <xref linkend="libxslt"/> (required to build the HTML documentation),
230 <xref linkend="DocBook"/> (required to build the HTML documentation) and
231 <xref linkend="docbook-xsl"/> (required to build the HTML documentation)
232 </para>
233
234 <para condition="html" role="usernotes">User Notes:
235 <ulink url="&blfs-wiki;/mplayer"/></para>
236
237 </sect2>
238
239 <sect2 role="installation">
240 <title>Installation of MPlayer</title>
241
242<!-- MPlayer can play most filetypes without this
243 <sect3>
244 <title>CODEC Installation (Optional)</title>
245
246 <para>If you downloaded the binary CODECs, extract them to
247 <filename class="directory">/usr/lib/mplayer/codecs</filename> using the
248 following commands as the <systemitem class="username">root</systemitem>
249 user (substitute and/or add different CODEC filenames, if necessary):</para>
250
251<screen role="root"><userinput>install -v -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
252tar -xvf ../&mplayer-codec; \
253 -C /usr/lib/mplayer/codecs -strip-components=1 &amp;&amp;
254chown -v -R root:root /usr/lib/mplayer/codecs</userinput></screen>
255
256 <para>If you installed any CODECs, ensure you add
257 <option>-codecsdir=/usr/lib/mplayer/codecs</option>
258 to the <command>configure</command> script.</para>
259
260 </sect3>
261-->
262<!-- No longer needed
263 <sect3>
264 <title>Installing OSD and Subtitles Support (Optional)</title>
265
266 <para>To enable OSD (On Screen Display) and subtitles support, add
267 <option>-enable-menu</option> to the <command>configure</command>
268 script. You'll also need to set up at least one font (see font
269 installation instructions a little later).</para>
270
271 </sect3>
272-->
273 <sect3>
274 <title>Main MPlayer Installation</title>
275
276 <note>
277 <para>The package maintainers recommend building without any
278 optimizations.</para>
279 </note>
280
281 <para>You may wish to examine the output from
282 <command>./configure --help</command> to find out what additional
283 parameters to <command>configure</command> are needed to include
284 the dependencies you have installed on your system.</para>
285
286 <para>Install <application>MPlayer</application> by running the following
287 commands:</para>
288<screen><userinput>./configure --prefix=/usr \
289 --confdir=/etc/mplayer \
290 --enable-dynamic-plugins \
291 --enable-menu \
292 --enable-gui &amp;&amp;
293make</userinput></screen>
294
295 <para>This package does not come with a test suite.</para>
296
297 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
298
299<screen role="root"><userinput>make install &amp;&amp;</userinput></screen>
300
301<para>To build and install the HTML documentation, run as
302<systemitem class="username">root</systemitem>:</para>
303
304<screen role="root"><userinput>make doc &amp;&amp;
305install -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
306cp -v DOCS/HTML/en/* /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
307
308 <para>You will need <filename>codecs.conf</filename> only if you want to
309 change its properties, as the main binary contains an internal copy of
310 it. Ensure any changes you make to <filename>codecs.conf</filename>
311 achieve the desired results, as incorrect entries in this file have been
312 known to cause errors and render the player unusable. If necessary,
313 create the file using the following command.</para>
314
315<screen role="root"><userinput>install -v -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
316
317 <para>You may alternatively want to copy all the default configuration files to
318 <filename class='directory'>/etc/mplayer</filename> for future reference
319 or more customization ability.</para>
320
321<screen role="root"><userinput>install -v -m644 etc/*.conf /etc/mplayer</userinput></screen>
322
323 <!-- Is this needed?
324 <para><application>MPlayer</application> requires that the RTC run at a
325 frequency of 1024 Hz. Make this setting change at boot-time by adding
326 a line to <filename>/etc/sysctl.conf</filename>:</para>
327
328<screen role="root"><userinput>echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf</userinput></screen>
329 -->
330
331 </sect3>
332
333 <sect3>
334 <title>Skin Installation (Optional)</title>
335
336 <para>To enable the GTK frontend of <application>MPlayer</application>,
337 you'll need to install at least one skin. Extract the desired skin and
338 create the default location (as the <systemitem class="username">root</systemitem>
339 user):</para>
340
341<!-- moved from within screen.../screen but kept in case ever needed.
342 we are already root ; almost everything in the skin is a graphic
343chown -v -R root:root /usr/share/mplayer/skins/Blue &amp;&amp;
344chmod -v 755 /usr/share/mplayer/skins/Blue{,/icons} &amp;&amp;-->
345<screen role="root"><userinput>tar -xvf ../&mplayer-skin; \
346 -C /usr/share/mplayer/skins &amp;&amp;
347ln -sfv Blue /usr/share/mplayer/skins/default</userinput></screen>
348
349 </sect3>
350
351<!--
352 <sect3>
353 <title>OSD and Subtitles Font Installation (Required if '-enable-menu' Was
354 Passed to 'configure')</title>
355
356 <para>The recommended method to set up a font for
357 <application>MPlayer</application> is to link a TTF file to
358 the <filename class="directory">/usr/share/mplayer</filename> directory.
359 For example:</para>
360
361<screen><userinput>install -v -m750 -d /usr/share/mplayer &amp;&amp;
362ln -v -sf /usr/share/fonts/X11-TTF/luxisri.ttf \
363 ~/.mplayer/subfont.ttf</userinput></screen>
364
365 <para>There are several other ways to set up a font package. To use a
366 prerendered <application>MPlayer</application> font package, extract
367 and link one of the font tarballs using the following commands:</para>
368
369<screen role="root"><userinput>tar -xvf ../&mplayer-font;.tar.bz2 \
370 -C /usr/share/mplayer/font &amp;&amp;
371chown -v -R root:root /usr/share/mplayer/font &amp;&amp;
372cd /usr/share/mplayer/font &amp;&amp;
373ln -v -sf &mplayer-font;/font-arial-<replaceable>&lt;font size&gt;</replaceable>-iso-8859-1/* .</userinput></screen>
374
375 <para>Available font sizes are 14, 18, 24 or 28.</para>
376
377 <para>Additional information as well as additional methods to set up an
378 <application>MPlayer</application> font package can be found at <ulink
379 url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>.</para>
380
381 </sect3>
382 -->
383
384 <!--
385 Following section should be removed after BLFS-6.2.
386 Current Udev creates persistent cd/dvd links automatically
387 <sect3>
388 <title>Installation for DVD Playback (Optional)</title>
389
390 <para>If you want DVD playback with <application>MPlayer</application>,
391 you need to ensure a link exists between your DVD drive and
392 <filename>/dev/dvd</filename>. This process is described in the
393 <ulink url="&lfs-root;/chapter07/symlinks.html">Creating custom
394 symlinks to devices</ulink> section in LFS. The user must be part
395 of the <systemitem class="groupname">cdrom</systemitem> group in
396 order to use the device.</para>
397
398 </sect3>
399 -->
400 </sect2>
401
402 <sect2 role="commands">
403 <title>Command Explanations</title>
404
405 <para><parameter>--enable-gui</parameter>: This option is set to build GMPlayer,
406 a GTK frontend for MPlayer.</para>
407 <para><parameter>--enable-menu</parameter>: This option is set to enable the
408 on-screen-display.</para>
409 <!--
410 <para><parameter>-codecsdir=/usr/lib/mplayer/codecs</parameter>: Use this option
411 if you installed the binary codecs.</para>
412 -->
413
414 </sect2>
415
416 <sect2 role="configuration">
417 <title>Configuring MPlayer</title>
418
419 <sect3 id="mplayer-config">
420 <title>Config Files</title>
421
422 <para><filename>/etc/mplayer/*</filename> and
423 <filename>~/.mplayer/*</filename></para>
424
425 <indexterm zone="mplayer mplayer-config">
426 <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
427 </indexterm>
428
429 <indexterm zone="mplayer mplayer-config">
430 <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
431 </indexterm>
432
433 </sect3>
434
435 <sect3>
436 <title>Configuration Information</title>
437
438 <para>Typically, there's no configuration required for the system-wide
439 files in <filename class='directory'>/etc/mplayer</filename> (in fact,
440 this directory is empty unless you copied the default files as mentioned
441 above). Configuration can be accomplished by choosing the configuration
442 button located on the <application>MPlayer</application> GUI. Any
443 configuration changes made in the GUI will be saved in the user's
444 <filename class='directory'>~/.mplayer</filename> directory.</para>
445 </sect3>
446 </sect2>
447
448 <sect2 role="content">
449 <title>Contents</title>
450
451 <segmentedlist>
452 <segtitle>Installed Programs</segtitle>
453 <segtitle>Installed Libraries</segtitle>
454 <segtitle>Installed Directories</segtitle>
455
456 <seglistitem>
457 <seg>gmplayer, mplayer and mencoder</seg>
458 <seg>none</seg>
459 <seg>
460 /etc/mplayer,
461 /usr/lib/mplayer,
462 /usr/share/mplayer and
463 /usr/share/doc/mplayer
464 </seg>
465 </seglistitem>
466 </segmentedlist>
467
468 <variablelist>
469 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
470 <?dbfo list-presentation="list"?>
471 <?dbhtml list-presentation="table"?>
472
473 <varlistentry id="gmplayer">
474 <term><command>gmplayer</command></term>
475 <listitem>
476 <para>is a symlink to <command>mplayer</command> which
477 brings up the GTK frontend of
478 <application>MPlayer</application>.</para>
479 <indexterm zone="mplayer gmplayer">
480 <primary sortas="b-gmplayer">gmplayer</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="mplayer-prog">
486 <term><command>mplayer</command></term>
487 <listitem>
488 <para> is the main MPlayer video player.</para>
489 <indexterm zone="mplayer mplayer-prog">
490 <primary sortas="b-mplayer">mplayer</primary>
491 </indexterm>
492 </listitem>
493 </varlistentry>
494
495 <varlistentry id="mencoder">
496 <term><command>mencoder</command></term>
497 <listitem>
498 <para>
499 is a powerful command line video decoding, encoding and filtering
500 tool.
501 </para>
502 <indexterm zone="mplayer mencoder">
503 <primary sortas="b-mencoder">mencoder</primary>
504 </indexterm>
505 </listitem>
506 </varlistentry>
507 </variablelist>
508 </sect2>
509</sect1>
Note: See TracBrowser for help on using the repository browser.