source: multimedia/videoutils/mplayer.xml@ 442bf14

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 442bf14 was 442bf14, checked in by Ragnar Thomsen <rthomsen@…>, 12 years ago

MPlayer improvements

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

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