source: multimedia/videoutils/mplayer.xml@ c34ca00a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c34ca00a was 7eba4892, checked in by Igor Živković <igor@…>, 19 years ago

Updated to MPlayer-1.0pre7try2.

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

  • Property mode set to 100644
File size: 21.8 KB
RevLine 
[f29d6ee]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[01062dd]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[0a35e881]6
[7eba4892]7 <!ENTITY mplayer-download-http "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
[01062dd]8 <!ENTITY mplayer-download-ftp "ftp://ftp1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
[7eba4892]9 <!ENTITY mplayer-md5sum "aaca4fd327176c1afb463f0f047ef6f4">
10 <!ENTITY mplayer-size "6.6 MB">
[9a9df1f8]11 <!ENTITY mplayer-buildsize "97 MB (additional 22 MB for essential CODECs)">
12 <!ENTITY mplayer-time "2.0 SBU">
[6c0c2a83]13
[9a9df1f8]14 <!ENTITY mplayer-codec "essential-20050412.tar.bz2">
15 <!ENTITY mplayer-codec-md5sum "5fe89bb095bdf9b4f9cda5479dbde906">
16 <!ENTITY mplayer-codec-size "9.3 MB">
[6c0c2a83]17
18 <!ENTITY mplayer-skin "Blue-1.4.tar.bz2">
[5d62564]19 <!ENTITY mplayer-skin-md5sum "05dd8e4f11a715c9e5d2abf1cdeb907c">
[6c0c2a83]20 <!ENTITY mplayer-skin-size "221 KB">
21
22 <!ENTITY mplayer-font "font-arial-iso-8859-1">
23 <!ENTITY mplayer-font-md5sum "1ecd31d17b51f16332b1fcc7da36b312">
24 <!ENTITY mplayer-font-size "234 KB">
[01062dd]25]>
26
[0b5a693]27<sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
[f29d6ee]28 <?dbhtml filename="mplayer.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 </sect1info>
34
35 <title>MPlayer-&mplayer-version;</title>
36
37 <indexterm zone="mplayer">
38 <primary sortas="a-MPlayer">MPlayer</primary>
39 </indexterm>
40
41 <sect2 role="package">
42 <title>Introduction to MPlayer</title>
43
[79ccca0]44 <para>The <application>MPlayer</application> package contains an audio/video
45 player controlled via the command line or a graphical interface which is able
46 to play almost every popular audio and video file format and CODEC
47 (COder/DECoder, also COmpressor/DECompressor). With supported video
48 hardware and additional drivers, <application>MPlayer</application> can play
[f29d6ee]49 video files without an <application>X Window System</application> installed.</para>
50
[79ccca0]51 <para>For <application>MPlayer</application> general information and
52 available features, including a full list of file formats, CODECs and
53 output devices supported by <application>MPlayer</application>, visit the
[f29d6ee]54 <ulink url="http://www1.mplayerhq.hu/homepage/design7/info.html">
55 <application>MPlayer</application> web site</ulink>.</para>
56
57 <bridgehead renderas="sect3">Package Information</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para>
64 </listitem>
65 <listitem>
66 <para>Download MD5 sum: &mplayer-md5sum;</para>
67 </listitem>
68 <listitem>
69 <para>Download size: &mplayer-size;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated disk space required: &mplayer-buildsize;</para>
73 </listitem>
74 <listitem>
75 <para>Estimated build time: &mplayer-time;</para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[d7ecaa6]80
[f29d6ee]81 <itemizedlist spacing='compact'>
82 <title>Patches</title>
[da98fb3]83 <listitem>
84 <para>Required Patch: <ulink
85 url="&patch-root;/MPlayer-&mplayer-version;-gcc4-1.patch"/></para>
86 </listitem>
[f29d6ee]87 <listitem>
[79ccca0]88 <para>Required Patch (for fbdev driver support): <ulink
[f29d6ee]89 url="&patch-root;/MPlayer-&mplayer-version;-kernel_2.6-1.patch"/></para>
90 </listitem>
91 </itemizedlist>
92
93 <itemizedlist spacing='compact'>
94 <title>CODECs</title>
95 <listitem>
[79ccca0]96 <para>Proprietary CODECs: <ulink
[f29d6ee]97 url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-codec;"/></para>
98 </listitem>
99 <listitem>
100 <para>Download MD5 sum: &mplayer-codec-md5sum;</para>
101 </listitem>
102 <listitem>
103 <para>Download size: &mplayer-codec-size;</para>
104 </listitem>
[79ccca0]105 <listitem><para>Additional CODECs: <ulink
[f29d6ee]106 url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
107 </listitem>
108 </itemizedlist>
109
110 <itemizedlist spacing='compact'>
111 <title>Skins</title>
112 <listitem>
[79ccca0]113 <para>Default GUI skin: <ulink
[7eba4892]114 url="http://www.mplayerhq.hu/MPlayer/Skin/&mplayer-skin;"/></para>
[f29d6ee]115 </listitem>
116 <listitem>
117 <para>Download MD5 sum: &mplayer-skin-md5sum;</para>
118 </listitem>
119 <listitem>
120 <para>Download size: &mplayer-skin-size;</para>
121 </listitem>
122 <listitem>
[79ccca0]123 <para>Additional skins: <ulink
[f29d6ee]124 url="http://www1.mplayerhq.hu/MPlayer/Skin/"/></para>
125 </listitem>
126 </itemizedlist>
127
128 <itemizedlist spacing='compact'>
129 <title>Fonts</title>
130 <listitem>
[79ccca0]131 <para>Prerendered fonts: <ulink
[f29d6ee]132 url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/&mplayer-font;.tar.bz2"/></para>
133 </listitem>
134 <listitem>
135 <para>Download MD5 sum: &mplayer-font-md5sum;</para>
136 </listitem>
137 <listitem>
138 <para>Download size: &mplayer-font-size;</para>
139 </listitem>
140 <listitem>
[79ccca0]141 <para>Additional fonts: <ulink
[f29d6ee]142 url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/"/></para>
143 </listitem>
144 </itemizedlist>
145
146 <note>
[79ccca0]147 <para>The CODECs, skins and fonts are not required to
[f29d6ee]148 build and use <application>MPlayer</application>.</para>
149 </note>
150
151 <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
[d7ecaa6]152
[f29d6ee]153 <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
[79ccca0]154 <para><xref linkend="cdparanoia"/>,
155 <xref linkend="libdv"/>,
156 <xref linkend="libdvdread"/>,
157 <xref linkend="samba3"/>,
158 <ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>,
[d7ecaa6]159 <ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>
[79ccca0]160 (requires
161 <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
[d7ecaa6]162 <ulink url="http://www.linuxtv.org/">DVB drivers</ulink>
[f29d6ee]163 and <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink></para>
[d7ecaa6]164
[f29d6ee]165 <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
[79ccca0]166 <para><xref linkend="alsa"/>,
167 <xref linkend="arts"/>,
168 <xref linkend="esound"/>,
169 <xref linkend="nas"/>,
170 <xref linkend="sdl"/> (also used for video output),
171 <xref linkend="xmms"/>,
[12ca7381]172 <ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>,
[79ccca0]173 <ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink> (requires
[f29d6ee]174 <ulink url="http://jackit.sourceforge.net/">JACK</ulink>)</para>
[d7ecaa6]175
[f29d6ee]176 <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
[79ccca0]177 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
178 <xref linkend="libpng"/>,
179 <xref linkend="libjpeg"/>,
180 <xref linkend="libungif"/> or <xref linkend="giflib"/>,
181 <xref linkend="GTK"/>,
182 <xref linkend="freetype2"/>,
183 <xref linkend="fontconfig"/>,
184 <xref linkend="aalib"/>,
[b9d81c7f]185 <xref linkend="fribidi"/>,
[79ccca0]186 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
187 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
188 <ulink url="http://www.ggi-project.org/">GGI</ulink>,
189 <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
190 <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
191 <ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink>,
192 <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
[b9d81c7f]193 <ulink url="http://prdownloads.sourceforge.net/zapping/">MP1E</ulink> and
[f29d6ee]194 <ulink url="http://trific.ath.cx/software/enca/">Enca</ulink></para>
[d7ecaa6]195
[f29d6ee]196 <bridgehead renderas="sect4">Optional CODECs</bridgehead>
[79ccca0]197 <para><xref linkend="libvorbis"/>,
198 <xref linkend="xvid"/>,
199 <xref linkend="LZO"/>,
200 <xref linkend="libmad"/>,
201 <xref linkend="lame"/>,
202 <xref linkend="libfame"/>,
203 <ulink url="http://www.theora.org/">Theora</ulink>,
204 <ulink url="http://www.xiph.org/ogg/vorbis/index.html">Tremor</ulink>,
205 <ulink url="http://sourceforge.net/projects/faac">FAAD2</ulink>,
206 <ulink url="http://www.divx.com/divx/linux/">DivX4Linux</ulink>,
207 <ulink url="http://sourceforge.net/projects/toolame">TooLAME</ulink>,
[d7ecaa6]208 <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>
[f29d6ee]209 and <ulink url="http://www.lirc.org/">LIRC</ulink></para>
210
211 </sect2>
212
213 <sect2 role="installation">
214 <title>Installation of MPlayer</title>
215
216 <sect3>
217 <title>CODEC Installation (Optional)</title>
218
[79ccca0]219 <para>If you downloaded any proprietary CODECs (which can provide support
220 for additional audio and video formats such as Real, Indeo and QuickTime),
[d7ecaa6]221 extract them to <filename class="directory">/usr/lib/mplayer/codecs</filename>
[79ccca0]222 using the following commands as the <systemitem
223 class="username">root</systemitem> user (substitute and/or add different
[f29d6ee]224 CODEC filenames, if necessary):</para>
225
226<screen role="root"><userinput>install -v -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
[9a9df1f8]227tar -jvxf ../&mplayer-codec; \
[a242f2e1]228 -C /usr/lib/mplayer/codecs --strip-components=1 &amp;&amp;
[f29d6ee]229chown -v -R root:root /usr/lib/mplayer/codecs</userinput></screen>
[0a35e881]230
[79ccca0]231 <para>If you installed any CODECs, ensure you add
[d7ecaa6]232 <option>--with-codecsdir=/usr/lib/mplayer/codecs</option>
[f29d6ee]233 to the <command>configure</command> script.</para>
[0a35e881]234
[f29d6ee]235 </sect3>
[0a35e881]236
[f29d6ee]237 <sect3>
238 <title>GUI Installation (Optional)</title>
[0a35e881]239
[79ccca0]240 <para>To enable building the GUI version of
241 <application>MPlayer</application> (requires <xref linkend="GTK"/>), add
[d7ecaa6]242 <option>--enable-gui</option> to the <command>configure</command>
[79ccca0]243 script. You'll also need to extract at least one skin. Extract the desired
244 skin and create the default location (as the <systemitem
[f29d6ee]245 class="username">root</systemitem> user):</para>
246
247<screen role="root"><userinput>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp;
[9a9df1f8]248tar -jvxf ../&mplayer-skin; \
[26f7934]249 -C /usr/share/mplayer/Skin &amp;&amp;
[9aa1897]250chown -v -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp;
251chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp;
[f29d6ee]252ln -sfv Blue /usr/share/mplayer/Skin/default</userinput></screen>
253
254 </sect3>
255
256 <sect3>
257 <title>Installing OSD and Subtitles Support (Optional)</title>
258
[79ccca0]259 <para>To enable OSD (On Screen Display) and subtitles support, add
[d7ecaa6]260 <option>--enable-menu</option> to the <command>configure</command>
[79ccca0]261 script. You'll also need to set up at least one font (see font installation
[f29d6ee]262 instructions a little later).</para>
263
264 </sect3>
265
266 <sect3>
267 <title>Main MPlayer Installation</title>
268
269 <note>
270 <para>The package maintainers recommend building without any
271 optimizations.</para>
272 </note>
273
[79ccca0]274 <para><application>MPlayer</application> can build a shared post-processing
275 library from the internal <application>FFmpeg</application> package which
[d7ecaa6]276 other packages can link to. This requires <application>MPlayer</application>
[79ccca0]277 to link dynamically to this library instead of the default statically linked method.
[d7ecaa6]278 If you desire to build the shared library, add <option>--enable-shared-pp</option>
279 and <option>--disable-fastmemcpy</option> to the <command>configure</command>
[79ccca0]280 script. The <option>--disable-fastmemcpy</option> parameter is required to
281 avoid <computeroutput>undefined reference</computeroutput> errors when other
[f29d6ee]282 packages link to the shared library.</para>
283
[79ccca0]284 <para>You may wish to examine the output from
285 <command>./configure --help</command> to find out what additional
286 parameters to <command>configure</command> are needed to include
[f29d6ee]287 the dependencies you have installed on your system.</para>
288
[79ccca0]289 <para>Install <application>MPlayer</application> by running the following
[f29d6ee]290 commands:</para>
291
292<screen><userinput>patch -Np1 -i ../MPlayer-&mplayer-version;-kernel_2.6-1.patch &amp;&amp;
[da98fb3]293patch -Np1 -i ../MPlayer-&mplayer-version;-gcc4-1.patch &amp;&amp;
[0a35e881]294./configure --prefix=/usr --confdir=/etc/mplayer \
[26f7934]295 --enable-largefiles &amp;&amp;
[f29d6ee]296make</userinput></screen>
[ec2270f]297
[f29d6ee]298 <para>This package does not come with a test suite.</para>
[ace94c34]299
[f29d6ee]300 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[ec2270f]301
[f29d6ee]302<screen role="root"><userinput>make install &amp;&amp;
[9a9df1f8]303install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
[f29d6ee]304cp -v -R DOCS/* /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
305
[79ccca0]306 <para>Passing parameters to <command>configure</command> may result
[f29d6ee]307 in the creation of <filename class='libraryfile'>libdha.so.1.0</filename>. If so,
[79ccca0]308 you may wish to create a symlink to this library in case other packages link
309 to <filename class='libraryfile'>libdha.so</filename>. Use the following
310 command as the <systemitem class="username">root</systemitem> user
[f29d6ee]311 to create the symlink:</para>
[9aa1897]312
[f29d6ee]313<screen role="root"><userinput>ln -v -s libdha.so.1.0 /usr/lib/libdha.so</userinput></screen>
[9aa1897]314
[f29d6ee]315 <para>You will need <filename>codecs.conf</filename> only if you want to
316 change its properties, as the main binary contains an internal copy of
[79ccca0]317 it. Ensure any changes you make to <filename>codecs.conf</filename> achieve
[f29d6ee]318 the desired results, as incorrect entries in this file have been known to
[79ccca0]319 cause errors and render the player unusable. If necessary, create the file
[f29d6ee]320 using the following command.</para>
[01062dd]321
[f29d6ee]322<screen role="root"><userinput>install -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
[01062dd]323
[f29d6ee]324 <para>You may also want to copy all the default configuration files to
[79ccca0]325 <filename class='directory'>/etc/mplayer</filename> for future reference or
[f29d6ee]326 more customization ability.</para>
[9aa1897]327
[f29d6ee]328<screen role="root"><userinput>install -m644 etc/*.conf /etc/mplayer</userinput></screen>
[9aa1897]329
[46fe005]330 <para><application>MPlayer</application> requires that the RTC run at a
331 frequency of 1024 Hz. Make this setting change at boot-time by adding
332 a line to <filename>/etc/sysctl.conf</filename>:</para>
333
334<screen role="root"><userinput>echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf</userinput></screen>
335
[f29d6ee]336 </sect3>
[0a35e881]337
[f29d6ee]338 <sect3>
[79ccca0]339 <title>OSD and Subtitles Font Installation (Required if '--enable-menu' Was
[f29d6ee]340 Passed to 'configure')</title>
[0a35e881]341
[79ccca0]342 <para>The recommended method to set up a font for
343 <application>MPlayer</application> is to link a TTF file to
344 your <filename class="directory">~/.mplayer</filename> directory. A link
345 should be created in each user's home directory who may use
[f29d6ee]346 <application>MPlayer</application>. For example:</para>
[01062dd]347
[f29d6ee]348<screen><userinput>install -v -m750 -d ~/.mplayer &amp;&amp;
[9a9df1f8]349ln -v -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf \
[f29d6ee]350 ~/.mplayer/subfont.ttf</userinput></screen>
[01062dd]351
[79ccca0]352 <para>There are several other ways to set up a font package. To use a
353 prerendered <application>MPlayer</application> font package, extract
[f29d6ee]354 and link one of the font tarballs using the following commands:</para>
[0a35e881]355
[f29d6ee]356<screen role="root"><userinput>tar -jvxf ../&mplayer-font;.tar.bz2 \
[0a35e881]357 -C /usr/share/mplayer/font &amp;&amp;
[9a9df1f8]358chown -v -R root:root /usr/share/mplayer/font &amp;&amp;
[0a35e881]359cd /usr/share/mplayer/font &amp;&amp;
[f29d6ee]360ln -v -sf &mplayer-font;/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* .</userinput></screen>
361
362 <para>Available font sizes are 14, 18, 24 or 28.</para>
[0a35e881]363
[79ccca0]364 <para>Additional information as well as additional methods to set up an
365 <application>MPlayer</application> font package can be found at <ulink
[f29d6ee]366 url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>.</para>
[0a35e881]367
[f29d6ee]368 </sect3>
[01062dd]369
[f29d6ee]370 <sect3>
371 <title>Installation for DVD Playback (Optional)</title>
[01062dd]372
[79ccca0]373 <para>If you want DVD playback with <application>MPlayer</application>,
[cbcc71f1]374 you need to ensure a link exists between your DVD drive and
[79ccca0]375 <filename>/dev/dvd</filename>. If necessary, create the link using the
[f29d6ee]376 following commands:</para>
[01062dd]377
[f29d6ee]378<screen role="root"><userinput>cat &gt;&gt; /etc/udev/rules.d/24-dvd.rules &lt;&lt; "EOF"
[79ccca0]379<literal># Create a /dev/dvd symlink
[d7ecaa6]380
[f29d6ee]381KERNEL="<replaceable>[dvd drive]</replaceable>", SYMLINK="dvd"</literal>
[d7ecaa6]382
[f29d6ee]383EOF
384udevstart</userinput></screen>
385
386 <para>Replace <replaceable>[dvd drive]</replaceable> with whatever
387 device is appropriate, for example <filename>hdc</filename>. If
388 you don't know which device to choose, type:</para>
389
390<screen><userinput>dmesg | grep DVD</userinput></screen>
391
392 <para>It should result in an output like:</para>
393
394<screen><computeroutput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
395ATAPI CD/DVD-ROM drive</computeroutput></screen>
396
397 </sect3>
398
399 </sect2>
400
401 <sect2 role="configuration">
402 <title>Configuring MPlayer</title>
403
404 <sect3 id="mplayer-config">
405 <title>Config Files</title>
406
407 <para><filename>/etc/mplayer/*</filename> and
408 <filename>~/.mplayer/*</filename></para>
409
410 <indexterm zone="mplayer mplayer-config">
411 <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
412 </indexterm>
413
414 <indexterm zone="mplayer mplayer-config">
415 <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
416 </indexterm>
417
418 </sect3>
419
420 <sect3>
421 <title>Configuration Information</title>
422
[79ccca0]423 <para>Typically, there's no configuration required for the system-wide files
424 in <filename class='directory'>/etc/mplayer</filename> (in fact, this
425 directory is empty unless you copied the default files as mentioned above).
426 Configuration can be accomplished by choosing the configuration button located
427 on the <application>MPlayer</application> GUI. Any
428 configuration changes made here will be copied to the user's
[f29d6ee]429 <filename class='directory'>~/.mplayer</filename> directory.</para>
430
431 </sect3>
432
433 </sect2>
434
435 <sect2 role="content">
436 <title>Contents</title>
437
438 <segmentedlist>
439 <segtitle>Installed Programs</segtitle>
440 <segtitle>Installed Libraries</segtitle>
441 <segtitle>Installed Directories</segtitle>
442
443 <seglistitem>
444 <seg>gmplayer, mplayer, and mencoder</seg>
445 <seg>libdha.so and optionally, libpostproc.so</seg>
[79ccca0]446 <seg>~/.mplayer, /etc/mplayer, /usr/include/postproc, /usr/lib/mplayer,
[f29d6ee]447 /usr/share/mplayer, and /usr/share/doc/mplayer-&mplayer-version;</seg>
448 </seglistitem>
449 </segmentedlist>
450
451 <variablelist>
452 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
453 <?dbfo list-presentation="list"?>
454 <?dbhtml list-presentation="table"?>
455
456 <varlistentry id="gmplayer">
457 <term><command>gmplayer</command></term>
458 <listitem>
[79ccca0]459 <para>is a symlink to <command>mplayer</command> which
460 brings up the graphical user interface component of
[f29d6ee]461 <application>MPlayer</application>.</para>
462 <indexterm zone="mplayer gmplayer">
463 <primary sortas="b-gmplayer">gmplayer</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="mplayer-prog">
469 <term><command>mplayer</command></term>
470 <listitem>
[79ccca0]471 <para> manages the input formats, the CODECs and
472 the output formats to play video files, DVDs,
473 (S)VCDs or network streams containing audio and/or video
[f29d6ee]474 information on your system.</para>
475
476 <para>Examples:</para>
477
478<screen><userinput>mplayer -fs blfs.avi
[1e901a7]479mplayer -vo fbdev -fb /dev/fb0 dvd://1 \
480 -aid 128 -sub en -framedrop
[01062dd]481mplayer -fs vcd://1 # works both for VCDs and SVCDs
[1e901a7]482mplayer \
483http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</userinput></screen>
[f29d6ee]484
[79ccca0]485 <para>For further information, look at the very good documentation included
486 with the package in the source tree subdirectory
[f29d6ee]487 <filename class="directory">DOCS</filename> (also installed at
488 <filename class='directory'>/usr/share/doc/mplayer</filename>).</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>
[d7ecaa6]498 <para>is used to encode any <application>MPlayer</application>
[79ccca0]499 playable movie to DivX4, <application>XviD</application> or any
[f29d6ee]500 CODEC in <filename class='libraryfile'>libavcodec</filename> with
501 PCM/MP3/VBRMP3 audio.</para>
502
503 <para>Example:</para>
504
505<screen><userinput>rm frameno.avi
[01062dd]506mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \
[f29d6ee]507-lameopts vbr=3 -o frameno.avi
[01062dd]508
[f29d6ee]509<literal># mencoder should output bitrates for average encodings
[01062dd]510# now, choose one you like best! In the following lines,
511# replace &lt;bitrate&gt; and &lt;name.avi&gt; with statements of your
[f29d6ee]512# personal liking.</literal>
[01062dd]513
[f29d6ee]514mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
[1e901a7]515 -lavcopts vcodec=mpeg4:vpass=1:vhq:vbitrate=&lt;bitrate&gt; \
516 -o &lt;name.avi&gt;
[01062dd]517mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
[1e901a7]518 -lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=&lt;bitrate&gt; \
519 -o &lt;name.avi&gt;
[f29d6ee]520mencoder -forceidx &lt;name.avi&gt;</userinput></screen>
521 <indexterm zone="mplayer mencoder">
522 <primary sortas="b-mencoder">mencoder</primary>
523 </indexterm>
524 </listitem>
525 </varlistentry>
526
527 <varlistentry id="libdha">
528 <term><filename class='libraryfile'>libdha.so</filename></term>
529 <listitem>
[79ccca0]530 <para>contains functions used by the
[f29d6ee]531 <application>MPlayer</application> programs.</para>
532 <indexterm zone="mplayer libdha">
533 <primary sortas="c-libdha">libdha.so</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="libpostproc">
539 <term><filename class='libraryfile'>libpostproc.so</filename></term>
540 <listitem>
[79ccca0]541 <para>is a post-processing filter library used by the
[f29d6ee]542 <application>MPlayer</application> programs and other packages.</para>
543 <indexterm zone="mplayer libpostproc">
544 <primary sortas="c-libpostproc">libpostproc.so</primary>
545 </indexterm>
546 </listitem>
547 </varlistentry>
548
549 </variablelist>
550
551 </sect2>
[f45b1953]552
553</sect1>
Note: See TracBrowser for help on using the repository browser.