Ignore:
Timestamp:
01/20/2005 05:06:50 AM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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
Children:
731b319c
Parents:
3809022
Message:

Updated to MPlayer-1.0pre6a, also added indexing tags to package instructions

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/mplayer.xml

    r3809022 rec2270f  
    66  <!ENTITY mplayer-download-http "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
    77  <!ENTITY mplayer-download-ftp  "ftp://ftp1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
    8   <!ENTITY mplayer-size          "5.6 MB">
    9   <!ENTITY mplayer-buildsize     "82 MB (additional 22 MB for essential CODECs)">
    10   <!ENTITY mplayer-time          "2.18 SBU">
     8  <!ENTITY mplayer-md5sum        "a812d945b884c2e2fa7f90c57cd76bff">
     9  <!ENTITY mplayer-size          "6.3 MB">
     10  <!ENTITY mplayer-buildsize     "93.5 MB (additional 22 MB for essential CODECs)">
     11  <!ENTITY mplayer-time          "2.19 SBU">
    1112  <!ENTITY mplayer-default-codec "essential-20041107.tar.bz2">
    1213  <!ENTITY mplayer-default-skin  "Blue-1.4.tar.bz2">
     
    1415]>
    1516
    16 <sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
     17<sect1 id="mplayer-package" xreflabel="MPlayer-&mplayer-version;">
    1718<sect1info>
    1819<othername>$LastChangedBy$</othername>
     
    2122<?dbhtml filename="mplayer.html"?>
    2223<title><application>MPlayer</application>-&mplayer-version;</title>
     24<indexterm zone="mplayer-package">
     25<primary sortas="a-MPlayer">MPlayer</primary></indexterm>
    2326
    2427<sect2>
     
    4548<listitem><para>Download (FTP):
    4649<ulink url="&mplayer-download-ftp;"/></para></listitem>
     50<listitem><para>Download MD5 sum: &mplayer-md5sum;</para></listitem>
    4751<listitem><para>Download size: &mplayer-size;</para></listitem>
    4852<listitem><para>Estimated disk space required:
     
    163167Real, Indeo and QuickTime), extract them to
    164168<filename class="directory">/usr/lib/mplayer/codecs</filename>
    165 using the following commands (substitute and/or add different
     169using the following commands as the root user (substitute and/or add different
    166170<acronym>CODEC</acronym> filenames, if necessary):</para>
    167171
    168 <screen><userinput><command>install -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
     172<screen><userinput role='root'><command>install -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
    169173tar -jxf ../&mplayer-default-codec; \
    170174    -C /usr/lib/mplayer/codecs --strip-path=1 &amp;&amp;
     
    183187<option>--enable-gui</option> to the <command>configure</command>
    184188script. You'll also need to extract at least one skin. Extract the desired
    185 skin and create the default location:</para>
    186 
    187 <screen><userinput><command>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp;
     189skin and create the default location (as the root user):</para>
     190
     191<screen><userinput role='root'><command>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp;
    188192tar -jxf ../&mplayer-default-skin; \
    189193    -C /usr/share/mplayer/Skin &amp;&amp;
     
    215219./configure --prefix=/usr --confdir=/etc/mplayer \
    216220    --enable-largefiles &amp;&amp;
    217 make &amp;&amp;
    218 make install &amp;&amp;
     221make</command></userinput></screen>
     222
     223<para>Now, as the root user:</para>
     224
     225<screen><userinput role='root'><command>make install &amp;&amp;
    219226install -d -m755 /usr/share/doc/mplayer &amp;&amp;
    220227cp -R DOCS/* /usr/share/doc/mplayer</command></userinput></screen>
     
    228235the commands above:</para>
    229236
    230 <screen><userinput><command>make -C libavcodec/libpostproc install</command></userinput></screen>
     237<screen><userinput role='root'><command>make -C libavcodec/libpostproc install</command></userinput></screen>
    231238
    232239<para>You will need <filename>codecs.conf</filename> only if you want to
     
    237244using the following command.</para>
    238245
    239 <screen><userinput><command>install -m644 etc/codecs.conf /etc/mplayer</command></userinput></screen>
     246<screen><userinput role='root'><command>install -m644 etc/codecs.conf /etc/mplayer</command></userinput></screen>
    240247
    241248<para>You may also want to copy all the default configuration files to
     
    243250more customization ability.</para>
    244251
    245 <screen><userinput><command>install -m644 etc/*.conf /etc/mplayer</command></userinput></screen>
     252<screen><userinput role='root'><command>install -m644 etc/*.conf /etc/mplayer</command></userinput></screen>
    246253</sect3>
    247254
     
    266273one of the font tarballs using the following commands:</para>
    267274
    268 <screen><userinput><command>tar -jxf ../&mplayer-default-font;.tar.bz2 \
     275<screen><userinput role='root'><command>tar -jxf ../&mplayer-default-font;.tar.bz2 \
    269276    -C /usr/share/mplayer/font &amp;&amp;
    270277chown -R root:root /usr/share/mplayer/font &amp;&amp;
     
    287294necessary, create the link using the following commands:</para>
    288295
    289 <screen><userinput><command>cat &gt;&gt; /etc/udev/rules.d/24-dvd.rules &lt;&lt; "EOF"</command>
     296<screen><userinput role='root'><command>cat &gt;&gt; /etc/udev/rules.d/24-dvd.rules &lt;&lt; "EOF"</command>
    290297# Create a /dev/dvd symlink
    291298 
     
    312319<title>Configuring <application>MPlayer</application></title>
    313320
    314 <sect3><title>Config files</title>
     321<sect3 id="mplayer-config"><title>Config files</title>
    315322<para><filename>/etc/mplayer/*</filename>,
    316323<filename>~/.mplayer/*</filename></para>
     324<indexterm zone="mplayer-package mplayer-config">
     325<primary sortas="e-AA.mplayer">~/.mplayer/*</primary></indexterm>
     326<indexterm zone="mplayer-package mplayer-config">
     327<primary sortas="e-etc-mplayer">/etc/mplayer/*</primary></indexterm>
    317328</sect3>
    318329
     
    324335on the <application>MPlayer</application> <acronym>GUI</acronym>. Any
    325336configuration changes made here will be copied to the user's
    326 <filename>~/.mplayer</filename> directory.</para>
     337<filename class='directory'>~/.mplayer</filename> directory.</para>
    327338</sect3>
    328339
     
    332343<title>Contents</title>
    333344
    334 <para>The <application>MPlayer</application> package contains
    335 <command>mplayer</command>,
    336 <command>gmplayer</command> and
    337 <command>mencoder</command>.</para>
    338 
    339 </sect2>
    340 
    341 <sect2><title>Description</title>
    342 
    343 <sect3><title>mplayer</title>
    344 <para><command>mplayer</command> manages the input formats, the
    345 <acronym>CODEC</acronym>s and the output formats to play video files,
    346 <acronym>DVD</acronym>s, (S)<acronym>VCD</acronym>s or network streams
    347 containing audio and/or video information on your system.</para>
     345<segmentedlist>
     346<segtitle>Installed Programs</segtitle>
     347<segtitle>Installed Libraries</segtitle>
     348<segtitle>Installed Directories</segtitle>
     349<seglistitem>
     350<seg>gmplayer, mplayer and mencoder</seg>
     351<seg>libdha.so and optionally, libpostproc.so</seg>
     352<seg>/etc/mplayer, /usr/lib/mplayer, /usr/share/mplayer and
     353/usr/share/doc/mplayer</seg>
     354</seglistitem>
     355</segmentedlist>
     356
     357<variablelist>
     358<bridgehead renderas="sect3">Short Descriptions</bridgehead>
     359<?dbfo list-presentation="list"?>
     360
     361<varlistentry id="gmplayer">
     362<term><command>gmplayer</command></term>
     363<listitem><para>is a symlink to <command>mplayer</command> which brings up
     364the graphical user interface component of
     365<application>MPlayer</application>.</para>
     366<indexterm zone="mplayer-package gmplayer">
     367<primary sortas="b-gmplayer">gmplayer</primary></indexterm>
     368</listitem>
     369</varlistentry>
     370
     371<varlistentry id="mplayer">
     372<term><command>mplayer</command></term>
     373<listitem><para> manages the input formats, the <acronym>CODEC</acronym>s and
     374the output formats to play video files, <acronym>DVD</acronym>s,
     375(S)<acronym>VCD</acronym>s or network streams containing audio and/or video
     376information on your system.</para>
     377<indexterm zone="mplayer-package mplayer">
     378<primary sortas="b-mplayer">mplayer</primary></indexterm>
    348379
    349380<para>Examples:</para>
    350381
    351 <screen><command>mplayer -fs blfs.avi
     382<screen><userinput><command>mplayer -fs blfs.avi
    352383mplayer -vo fbdev -fb /dev/fb0 dvd://1 -aid 128 -sub en -framedrop
    353384mplayer -fs vcd://1    # works both for VCDs and SVCDs
    354 mplayer http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</command></screen>
     385mplayer http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</command></userinput></screen>
    355386
    356387<para>For further information, look at the very good documentation included
     
    358389<filename class="directory">DOCS</filename> (also installed at
    359390<filename class='directory'>/usr/share/doc/mplayer</filename>).</para>
    360 </sect3>
    361 
    362 <sect3><title>gmplayer</title>
    363 <para><command>gmplayer</command> is a symlink to
    364 <command>mplayer</command> which brings up the graphical user
    365 interface component of <application>MPlayer</application>.</para></sect3>
    366 
    367 <sect3><title>mencoder</title>
    368 <para><command>mencoder</command> is used to encode any
    369 <application>MPlayer</application> playable movie to DivX4,
    370 <application>XviD</application> or any <acronym>CODEC</acronym> in
     391</listitem>
     392</varlistentry>
     393
     394<varlistentry id="mencoder">
     395<term><command>mencoder</command></term>
     396<listitem><para>is used to encode any <application>MPlayer</application>
     397playable movie to DivX4, <application>XviD</application> or any
     398<acronym>CODEC</acronym> in
    371399<filename class='libraryfile'>libavcodec</filename> with
    372400<acronym>PCM</acronym>/MP3/VBRMP3 audio.</para>
     401<indexterm zone="mplayer-package mencoder">
     402<primary sortas="b-mencoder">mencoder</primary></indexterm>
    373403
    374404<para>Example:</para>
     
    388418-lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=&lt;bitrate&gt; -o &lt;name.avi&gt;
    389419mencoder -forceidx &lt;name.avi&gt;</command></userinput></screen>
    390 </sect3>
     420</listitem>
     421</varlistentry>
     422
     423<varlistentry id="libdha">
     424<term><filename class='libraryfile'>libdha.so</filename></term>
     425<listitem><para>contains functions used by the
     426<application>MPlayer</application> programs.</para>
     427<indexterm zone="mplayer-package libdha">
     428<primary sortas="c-libdha">libdha.so</primary></indexterm>
     429</listitem>
     430</varlistentry>
     431
     432<varlistentry id="libpostproc">
     433<term><filename class='libraryfile'>libpostproc.so</filename></term>
     434<listitem><para>is a post-processing filter library used by the
     435<application>MPlayer</application> programs and other packages.</para>
     436<indexterm zone="mplayer-package libpostproc">
     437<primary sortas="c-libpostproc">libpostproc.so</primary></indexterm>
     438</listitem>
     439</varlistentry>
     440
     441</variablelist>
    391442
    392443</sect2>
Note: See TracChangeset for help on using the changeset viewer.