Ignore:
Timestamp:
03/15/2012 11:46:54 PM (12 years ago)
Author:
Ragnar Thomsen <rthomsen@…>
Branches:
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
Children:
b865548
Parents:
7d1d69e1
Message:

mplayer svn

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/mplayer.xml

    r7d1d69e1 r874f1e88  
    55  %general-entities;
    66
    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        "18c05d88e22c3b815a43ca8d7152ccdc">
    10   <!ENTITY mplayer-size          "8.3 MB">
    11   <!ENTITY mplayer-buildsize     "133-250 MB (additional 22 MB for essential CODECs)">
    12   <!ENTITY mplayer-time          "1.2-2.5 SBU (depends on how FFmpeg is linked in)">
    13 
    14   <!ENTITY mplayer-codec         "essential-20061022.tar.bz2">
    15   <!ENTITY mplayer-codec-md5sum  "abcf4a3abc16cf88c9df7e0a77e9b941">
    16   <!ENTITY mplayer-codec-size    "10.0 MB">
    17   <!ENTITY mplayer-alt-codec     "all-20061022.tar.bz2">
    18 
    19   <!ENTITY mplayer-skin          "Blue-1.7.tar.bz2">
    20   <!ENTITY mplayer-skin-md5sum   "e4e2020d11b681aac898103b3ba723c4">
    21   <!ENTITY mplayer-skin-size     "222 KB">
    22 
    23   <!ENTITY mplayer-font          "font-arial-iso-8859-1">
    24   <!ENTITY mplayer-font-md5sum   "1ecd31d17b51f16332b1fcc7da36b312">
    25   <!ENTITY mplayer-font-size     "234 KB">
     7  <!ENTITY mplayer-download-http "http://www.linuxfromscratch.org/~andy/mplayer-15-03-12.tar.xz">
     8  <!ENTITY mplayer-download-ftp  " ">
     9  <!ENTITY mplayer-md5sum        "775fcefab99004de09d0fae2c52dc06b">
     10  <!ENTITY mplayer-size          "9.9 MB">
     11  <!ENTITY mplayer-buildsize     "137 MB">
     12  <!ENTITY mplayer-time          "4.7 SBU">
     13
     14  <!ENTITY mplayer-codec         "essential-20071007.tar.bz2">
     15  <!ENTITY mplayer-codec-md5sum  "4ea9c2dbd0945c83af1a8d0dd363993c">
     16  <!ENTITY mplayer-codec-size    "9.5 MB">
     17
     18  <!ENTITY mplayer-skin          "Blue-1.8.tar.bz2">
     19  <!ENTITY mplayer-skin-md5sum   "340368f4e33f767d9df109990fb29c02">
     20  <!ENTITY mplayer-skin-size     "218 KB">
    2621]>
    2722
     
    4338    <title>Introduction to MPlayer</title>
    4439
    45     <para>The <application>MPlayer</application> package contains an
     40    <para>The <application>MPlayer</application> package contains a powerful
    4641    audio/video player controlled via the command line or graphical interface
    47     which is able to play almost every popular audio and video file format and
    48     CODEC (COder/DECoder, also COmpressor/DECompressor). With supported video
    49     hardware and additional drivers, <application>MPlayer</application> can
     42    which is able to play almost every popular audio and video file format. With
     43    supported video hardware and additional drivers, <application>MPlayer</application> can
    5044    play video files without an <application>X Window System</application>
    5145    installed.</para>
     
    5448    available features, including a full list of file formats, CODECs and
    5549    output devices supported by <application>MPlayer</application>, visit the
    56     <ulink url="http://www1.mplayerhq.hu/homepage/design7/info.html">
     50    <ulink url="http://www.mplayerhq.hu/">
    5751    <application>MPlayer</application> web site</ulink>.</para>
     52   
     53    &lfs70_checked;
    5854
    5955    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8076
    8177    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    82 
     78<!--
    8379    <itemizedlist spacing='compact'>
    8480      <title>Patches</title>
     
    9692      </listitem>
    9793    </itemizedlist>
    98 
     94-->
    9995    <itemizedlist spacing='compact'>
    10096      <title>CODECs</title>
    101       <listitem>
    102         <para>Proprietary CODECs: <ulink
     97      <para>Although MPlayer has built-in support for playing most popular video
     98      and audio formats, packages with proprietary binary CODECs that enable support
     99      for playing some rare formats are available. Most people don't need the binary
     100      CODECs.</para>
     101      <listitem>
     102        <para>Essential binary CODECs: <ulink
    103103        url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-codec;"/></para>
    104104      </listitem>
     
    109109        <para>Download size: &mplayer-codec-size;</para>
    110110      </listitem>
     111<!--
    111112      <listitem>
    112113        <para>Alternate CODECs (provides additional functionality and is a
     
    117118        url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
    118119      </listitem>
     120-->
    119121    </itemizedlist>
    120 
     122   
    121123    <itemizedlist spacing='compact'>
    122124      <title>Skins</title>
     
    136138      </listitem>
    137139    </itemizedlist>
    138 
     140<!--
    139141    <itemizedlist spacing='compact'>
    140142      <title>Fonts</title>
     
    154156      </listitem>
    155157    </itemizedlist>
    156 
    157     <para>The CODECs, skins and fonts are not required to
     158-->
     159    <para>The CODECs and skins are not required to
    158160    build and use <application>MPlayer</application>.</para>
    159161
    160162    <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
    161163
     164    <bridgehead renderas="sect4">Recommended</bridgehead>
     165    <para role="recommended">
     166    <xref linkend="x-window-system"/>
     167    </para>
     168   
    162169    <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
    163     <para role="optional"><xref linkend="cdparanoia"/>,
    164     <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink>,
    165     <ulink url="http://www.linuxtv.org/">DVB drivers</ulink>,
     170    <para role="optional">
     171    <xref linkend="cdparanoia"/>,
     172    <xref linkend="samba3"/>,
     173    <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
    166174    <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
    167     <xref linkend="libdv"/>,
     175    <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
     176    <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
     177    <ulink url="http://code.google.com/p/vstream-client/">TiVo vstream client</ulink> and
     178    <ulink url="http://www.xmms.org/">XMMS</ulink>
     179    <!-- Mplayer uses internal versions of these:
    168180    <xref linkend="libdvdread"/>,
    169     <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
    170     <xref linkend="samba3"/>, and
    171     <ulink url="http://armory.nicewarrior.org/projects/vstream-client/">TiVo vstream client</ulink></para>
    172     <!-- Disabling for now as only internal Matroska support is available
    173     <ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>
    174     (requires
    175     <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>), -->
     181    <xref linkend="libdvdnav"/>,
     182    <xref linkend="libdvdcss"/>,
     183    -->
     184    </para>
    176185
    177186    <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
     
    181190      <xref linkend="esound"/>,
    182191      <xref linkend='pulseaudio'/>, 
    183       <xref linkend="sdl"/> (also used for video output),
    184       <ulink url="http://jackit.sourceforge.net/">JACK</ulink>,
    185       <ulink url="http://www.ladspa.org/">LADSPA</ulink>, and
    186       <ulink url="http://openal.org/">OpenAL</ulink>
    187       <!--<xref linkend="nas"/>,-->
    188       <!--<xref linkend="xmms"/>-->
     192      <xref linkend="sdl"/>,
     193      <ulink url="http://jackaudio.org/">JACK</ulink>,
     194      <ulink url="http://openal.org/">OpenAL</ulink> and
     195      <ulink url="http://www.radscan.com/nas.html">NAS</ulink>
    189196    </para>
    190197
    191198    <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
    192     <para role="optional"><xref linkend="aalib"/>,
     199    <para role="optional">
     200    <xref linkend="aalib"/>,
     201    <xref linkend="libpng"/>,
     202    <xref linkend="libjpeg"/>,
     203    <xref linkend="libmng"/>,
     204    <xref linkend="giflib"/>,
    193205    <ulink url="http://www.directfb.org/">DirectFB</ulink>,
    194     <ulink url="http://trific.ath.cx/software/enca/">Enca</ulink>,
    195     <xref linkend="fontconfig"/>,
    196     <xref linkend="freetype2"/>,
    197     <xref linkend="fribidi"/>,
    198     <ulink url="http://www.ggi-project.org/">GGI</ulink>,
    199     <xref linkend="giflib"/>,
    200     <xref linkend="gtk2"/> <!-- or
    201     <xref linkend="GTK"/>, -->
    202206    <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
    203     <xref linkend="libjpeg"/>,
    204     <xref linkend="libpng"/>,
    205     <ulink url="http://maemo.org/">maemo</ulink>,
    206     <ulink url="http://vidix.sourceforge.net/">VIDIX</ulink>, and
    207     <xref linkend="x-window-system"/></para>
     207    <ulink url="http://www.svgalib.org/">SVGAlib</ulink> and
     208    <ulink url="http://www.openjpeg.org/">OpenJPEG</ulink>
     209    </para>
    208210
    209211    <bridgehead renderas="sect4">Optional CODECs</bridgehead>
    210     <para role="optional"><ulink
    211       url="http://www.3gpp.org/ftp/Specs/latest/Rel-7/26_series/26104-700.zip">AMR
    212       narrowband (floating point)</ulink> or
    213     <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-7/26_series/26073-700.zip">AMR
    214       naarrowband (fixed point)</ulink>,
    215     <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-7/26_series/26204-710.zip">
    216       AMR wideband</ulink>,
    217       <!-- Dead link <ulink url="http://www.divx.com/divx/linux/">DivX</ulink>, i-->
     212    <para role="optional">
     213    <xref linkend="libmad"/>,
     214    <xref linkend="LZO"/>,
     215    <xref linkend="speex"/>,
     216    <xref linkend="libtheora"/>,
     217    <xref linkend="mpg123"/>,
     218    <xref linkend="liba52"/>,
    218219    <xref linkend="faac"/>,
    219     <xref linkend="faad2"/> (must disable the internal version),
    220     <xref linkend="ffmpeg"/>,
     220    <xref linkend="faad2"/>,
     221    <xref linkend="libdv"/>,
     222    <xref linkend="xvid"/>,
     223    <xref linkend="libvpx"/>,
    221224    <xref linkend="lame"/>,
    222     <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
    223     <xref linkend="libfame"/>,
    224     <xref linkend="libmad"/>,
    225     <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
    226     <ulink url="http://svn.mplayerhq.hu/nut/src/trunk/">libnut</ulink> (SVN checkout),
    227     <xref linkend="libvorbis"/>,
    228     <ulink url="http://www.lirc.org/">LIRC</ulink>,
    229     <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>,
    230     <xref linkend="LZO"/> (requires
    231     <ulink url="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/lzo-1.08.tar.gz">Version 1</ulink>),
    232     <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
    233     <xref linkend="libtheora"/>,
    234225    <ulink url="ftp://ftp.videolan.org/pub/videolan/vlc/0.8.2/contrib/toolame-02m-beta8.tar.bz2">tooLAME</ulink>,
    235226    <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>,
    236     <ulink url="http://www.xiph.org/vorbis/">Tremor</ulink> (requires
    237     <xref linkend="libvorbis"/> and you must disable the internal version),
    238     <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>, and
    239     <xref linkend="xvid"/></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 
     227    <ulink url="https://launchpad.net/libgsm">libgsm</ulink>,
     228    <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
     229    <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
     230    <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore Adaptive Multi Rate</ulink>,
     231    <ulink url="http://www.broadcom.com/support/crystal_hd/">CrystalHD</ulink>,
     232    <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
     233    <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
     234    <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
     235    <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>
     236   
     237    <!-- Internal <xref linkend="ffmpeg"/>, -->
     238   
     239    </para>
     240   
     241    <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
     242    <para role="optional">
     243      <xref linkend="fontconfig"/>,
     244      <xref linkend="freetype2"/>,
     245      <xref linkend="fribidi"/>,
     246      <xref linkend="unrar"/>,
     247      <xref linkend="gtk2"/> (required for the GUI),
     248      <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
     249      <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
     250      <ulink url="http://sourceforge.net/projects/bs2b/">libbs2b</ulink>,
     251      <ulink url="http://www.lirc.org/">LIRC</ulink> and
     252      <ulink url="http://www.dolda2000.com/~fredrik/lirccd/">LIRC Client Daemon</ulink>
     253    </para>
     254   
    285255    <para condition="html" role="usernotes">User Notes:
    286256    <ulink url="&blfs-wiki;/mplayer"/></para>
     
    294264      <title>CODEC Installation (Optional)</title>
    295265
    296       <para>If you downloaded any proprietary CODECs (which can provide support
    297       for additional audio and video formats such as Real, Indeo and QuickTime),
    298       extract them to <filename class="directory">/usr/lib/mplayer/codecs</filename>
    299       using the following commands as the <systemitem
    300       class="username">root</systemitem> user (substitute and/or add different
    301       CODEC filenames, if necessary):</para>
     266      <para>If you downloaded the binary CODECs, extract them to
     267      <filename class="directory">/usr/lib/mplayer/codecs</filename> using the
     268      following commands as the <systemitem class="username">root</systemitem>
     269      user (substitute and/or add different CODEC filenames, if necessary):</para>
    302270
    303271<screen role="root"><userinput>install -v -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
     
    307275
    308276      <para>If you installed any CODECs, ensure you add
    309       <option>--with-codecsdir=/usr/lib/mplayer/codecs</option>
     277      <option>--codecsdir=/usr/lib/mplayer/codecs</option>
    310278      to the <command>configure</command> script.</para>
    311279
    312280    </sect3>
    313281
    314     <sect3>
    315       <title>GUI Installation (Optional)</title>
    316 
    317       <para>To enable building the GUI version of
    318       <application>MPlayer</application> (requires <xref linkend="gtk2"/><!-- or
    319       <xref linkend="GTK"/>-->), add <option>--enable-gui</option> to the
    320       <command>configure</command> script. You'll also need to extract at least
    321       one skin. Extract the desired skin and create the default location (as
    322       the <systemitem class="username">root</systemitem> user):</para>
    323 
    324 <screen role="root"><userinput>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp;
    325 tar -xvf ../&mplayer-skin; \
    326     -C /usr/share/mplayer/Skin &amp;&amp;
    327 chown -v -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp;
    328 chmod -v 755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp;
    329 ln -sfv Blue /usr/share/mplayer/Skin/default</userinput></screen>
    330 
    331     </sect3>
    332 
     282<!--
    333283    <sect3>
    334284      <title>Installing OSD and Subtitles Support (Optional)</title>
    335285
    336286      <para>To enable OSD (On Screen Display) and subtitles support, add
    337       <option>--enable-menu</option> to the <command>configure</command>
     287        <option>-enable-menu</option> to the <command>configure</command>
    338288      script. You'll also need to set up at least one font (see font
    339289      installation instructions a little later).</para>
    340290
    341291    </sect3>
    342 
     292-->
    343293    <sect3>
    344294      <title>Main MPlayer Installation</title>
     
    352302      href="../../xincludes/X11R6_symlink.xml"/>
    353303
    354       <para><application>MPlayer</application> can build a shared
    355       post-processing library from the internal
    356       <application>FFmpeg</application> package which
    357       other packages can link to. This requires
    358       <application>MPlayer</application>
    359       to link dynamically to this library instead of the default statically
    360       linked method. If you desire to build the shared library, add
    361       <option>--enable-shared-pp</option> to the <command>configure</command>
    362       script. Note that the <application>FFmpeg</application> package can also
    363       build this library (which <application>MPlayer</application> can link to
    364       instead of building it), ensure you don't overwrite an existing one.</para>
    365 
    366304      <para>You may wish to examine the output from
    367305      <command>./configure --help</command> to find out what additional
    368306      parameters to <command>configure</command> are needed to include
    369       the dependencies you have installed on your system. To link in existing
    370       <application>FFmpeg</application> libraries (and
    371       <application>MPlayer</application> won't have to build them), you must
    372       pass a total of nine additional options to the
    373       <command>configure</command> script. Four to disable building the static
    374       <application>FFmpeg</application> libraries, four to enable using the
    375       system-installed shared libraries and
    376       <option>--with-extraincdir=/usr/include/ffmpeg</option> so the build can
    377       locate the <application>FFmpeg</application> interface headers.</para>
     307      the dependencies you have installed on your system.</para>
    378308
    379309      <para>Install <application>MPlayer</application> by running the following
    380310      commands:</para>
    381 
    382 <screen><userinput>patch -Np0 -i ../asmrules_fix_20061231.diff &amp;&amp;
    383 patch -Np0 -i ../cddb_fix_20070605.diff &amp;&amp;
    384 patch -Np1 -i ../MPlayer-&mplayer-version;-ext_ffmpeg-1.patch &amp;&amp;
    385 
    386 ./configure --prefix=/usr \
     311<screen><userinput>./configure --prefix=/usr \
    387312            --confdir=/etc/mplayer \
    388             --enable-largefiles \
    389             --enable-dynamic-plugins &amp;&amp;
     313            --enable-dynamic-plugins \
     314            --enable-menu \
     315            --enable-gui &amp;&amp;
    390316make</userinput></screen>
    391317
     
    394320      <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    395321
    396 <screen role="root"><userinput>make install &amp;&amp;
    397 
     322<screen role="root"><userinput>make install &amp;&amp;</userinput></screen>
     323<!--
    398324install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
    399325cp -v -R DOCS/*     /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
    400 
    401       <para>Passing certain parameters to <command>configure</command> may
    402       result in the creation of
    403       <filename class='libraryfile'>libdha.so.1.0</filename>. If so, you may
    404       wish to create a symlink to this library in case other packages link to
    405       <filename class='libraryfile'>libdha.so</filename>. Use the following
    406       command as the <systemitem class="username">root</systemitem> user to
    407       create the symbolic link:</para>
    408 
    409 <screen role="root"><userinput>ln -v -s libdha.so.1.0 /usr/lib/libdha.so</userinput></screen>
    410 
     326-->
    411327      <para>You will need <filename>codecs.conf</filename> only if you want to
    412328      change its properties, as the main binary contains an internal copy of
     
    424340<screen role="root"><userinput>install -m644 etc/*.conf /etc/mplayer</userinput></screen>
    425341
     342      <!-- Is this needed?
    426343      <para><application>MPlayer</application> requires that the RTC run at a
    427344      frequency of 1024 Hz.  Make this setting change at boot-time by adding
    428345      a line to <filename>/etc/sysctl.conf</filename>:</para>
    429 
     346     
    430347<screen role="root"><userinput>echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf</userinput></screen>
    431 
    432     </sect3>
    433 
    434     <sect3>
    435       <title>OSD and Subtitles Font Installation (Required if '--enable-menu' Was
     348       -->
     349       
     350    </sect3>
     351
     352    <sect3>
     353      <title>Skin Installation (Optional)</title>
     354
     355      <para>To enable the GTK frontend of <application>MPlayer</application>,
     356      you'll need to install at least one skin. Extract the desired skin and
     357      create the default location (as the <systemitem class="username">root</systemitem>
     358      user):</para>
     359     
     360<screen role="root"><userinput>tar -xvf ../&mplayer-skin; \
     361    -C /usr/share/mplayer/skins &amp;&amp;
     362chown -v -R root:root /usr/share/mplayer/skins/Blue &amp;&amp;
     363chmod -v 755 /usr/share/mplayer/skins/Blue{,/icons} &amp;&amp;
     364ln -sfv Blue /usr/share/mplayer/skins/default</userinput></screen>
     365
     366    </sect3>
     367   
     368<!--
     369    <sect3>
     370      <title>OSD and Subtitles Font Installation (Required if '-enable-menu' Was
    436371      Passed to 'configure')</title>
    437372
    438373      <para>The recommended method to set up a font for
    439374      <application>MPlayer</application> is to link a TTF file to
    440       your <filename class="directory">~/.mplayer</filename> directory. A link
    441       should be created in each user's home directory who may use
    442       <application>MPlayer</application>. For example:</para>
    443 
    444 <screen><userinput>install -v -m750 -d ~/.mplayer &amp;&amp;
     375      the <filename class="directory">/usr/share/mplayer</filename> directory.
     376      For example:</para>
     377
     378<screen><userinput>install -v -m750 -d /usr/share/mplayer &amp;&amp;
    445379ln -v -sf /usr/share/fonts/X11-TTF/luxisri.ttf \
    446380    ~/.mplayer/subfont.ttf</userinput></screen>
     
    463397
    464398    </sect3>
    465 
     399    -->
     400   
    466401    <!--
    467402      Following section should be removed after BLFS-6.2.
     
    480415    </sect3>
    481416    -->
    482 
     417  </sect2>
     418   
     419  <sect2 role="commands">
     420    <title>Command Explanations</title>
     421   
     422    <para><parameter>--enable-gui</parameter>: This option is set to build GMPlayer,
     423    a GTK frontend for MPlayer.</para>
     424    <para><parameter>--enable-menu</parameter>: This option is set to enable the
     425    on-screen-display.</para>
     426    <para><parameter>--codecsdir=/usr/lib/mplayer/codecs</parameter>: Use this option
     427    if you installed the binary codecs.</para>
     428   
    483429  </sect2>
    484430
     
    510456      above). Configuration can be accomplished by choosing the configuration
    511457      button located on the <application>MPlayer</application> GUI. Any
    512       configuration changes made here will be copied to the user's
     458      configuration changes made in the GUI will be saved in the user's
    513459      <filename class='directory'>~/.mplayer</filename> directory.</para>
    514460
     
    516462
    517463  </sect2>
    518 
     464 
    519465  <sect2 role="content">
    520466    <title>Contents</title>
     
    526472
    527473      <seglistitem>
    528         <seg>gmplayer, mplayer, and mencoder</seg>
    529         <seg>libdha.so and optionally, libpostproc.so</seg>
    530         <seg>~/.mplayer, /etc/mplayer, /usr/include/postproc, /usr/lib/mplayer,
    531         /usr/share/mplayer, and /usr/share/doc/mplayer-&mplayer-version;</seg>
     474        <seg>gmplayer, mplayer and mencoder</seg>
     475        <seg>none</seg>
     476        <seg>/etc/mplayer, /usr/lib/mplayer, /usr/share/mplayer and
     477        /usr/share/doc/mplayer</seg>
    532478      </seglistitem>
    533479    </segmentedlist>
     
    542488        <listitem>
    543489          <para>is a symlink to <command>mplayer</command> which
    544           brings up the graphical user interface component of
     490          brings up the GTK frontend of
    545491          <application>MPlayer</application>.</para>
    546492          <indexterm zone="mplayer gmplayer">
     
    553499        <term><command>mplayer</command></term>
    554500        <listitem>
    555           <para> manages the input formats, the CODECs and
    556           the output formats to play video files, DVDs,
    557           (S)VCDs or network streams containing audio and/or video
    558           information on your system.</para>
    559 
    560           <para>Examples:</para>
     501          <para> is the main MPlayer video player.</para>
     502
     503<!-- This is not the place for usage directions, right?
     504<para>Examples of usage:</para>
    561505
    562506<screen><userinput>mplayer -fs blfs.avi
     
    570514          <filename class="directory">DOCS</filename> (also installed at
    571515          <filename class='directory'>/usr/share/doc/mplayer-&mplayer-version;</filename>).</para>
    572 
     516          -->
    573517          <indexterm zone="mplayer mplayer-prog">
    574518            <primary sortas="b-mplayer">mplayer</primary>
     
    580524        <term><command>mencoder</command></term>
    581525        <listitem>
    582           <para>is used to encode any <application>MPlayer</application>
     526          <para>is a powerful command line video decoding, encoding and
     527            filtering tool.</para>
     528<!-- Usage directions       
     529          is used to encode any <application>MPlayer</application>
    583530          playable movie to DivX4, <application>XviD</application> or any
    584531          CODEC in <filename class='libraryfile'>libavcodec</filename> with
     
    603550    -o &lt;name.avi&gt;
    604551mencoder -forceidx &lt;name.avi&gt;</userinput></screen>
     552-->
    605553          <indexterm zone="mplayer mencoder">
    606554            <primary sortas="b-mencoder">mencoder</primary>
     
    608556        </listitem>
    609557      </varlistentry>
    610 
     558<!-- not installed anymore?
    611559      <varlistentry id="libdha">
    612560        <term><filename class='libraryfile'>libdha.so</filename></term>
     
    619567        </listitem>
    620568      </varlistentry>
    621 
     569-->
     570<!-- not installed anymore
    622571      <varlistentry id="libpostproc">
    623572        <term><filename class='libraryfile'>libpostproc.so</filename></term>
     
    630579        </listitem>
    631580      </varlistentry>
    632 
     581-->
    633582    </variablelist>
    634583
Note: See TracChangeset for help on using the changeset viewer.