source: multimedia/videoutils/mplayer.xml@ f7ae70f

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 f7ae70f was f7ae70f, checked in by Randy McMurchy <randy@…>, 18 years ago

Updates to MPlayer: added an x264 patch, added new dependencies, updated the version of the Skins file

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

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