Ignore:
Timestamp:
09/04/2004 11:52:03 PM (20 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:
ff646a09
Parents:
31156d2
Message:

Updated to MPlayer-1.0pre5

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

Location:
multimedia/videoutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/mplayer.xml

    r31156d2 r0a35e881  
    33  <!ENTITY % general-entities SYSTEM "../../general.ent">
    44  %general-entities;
    5  
     5
    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          "4.7 MB">
    9   <!ENTITY mplayer-buildsize     "51 MB">
     8  <!ENTITY mplayer-size          "5.1 MB">
     9  <!ENTITY mplayer-buildsize     "74 MB (additional 19 MB for CODECs)">
    1010  <!ENTITY mplayer-time          "1.80 SBU">
     11  <!ENTITY mplayer-default-codec "essential-20040809.tar.bz2">
     12  <!ENTITY mplayer-default-skin  "Blue-1.4.tar.bz2">
     13  <!ENTITY mplayer-default-font  "font-arial-iso-8859-1">
    1114]>
    1215
     
    2225<title>Introduction to <application>MPlayer</application></title>
    2326
    24 <para>The <application>MPlayer</application> package contains an audio/video player that is able to
    25 play almost every audio and video <acronym>CODEC</acronym> and can be
    26 controlled via the command
    27 line or a <acronym>GUI</acronym>.</para>
     27<para>The <application>MPlayer</application> package contains an audio/video
     28player controlled via the command line or a graphical interface which is
     29able to play almost every popular audio and video file format
     30and <acronym>CODEC</acronym> (COder/DECoder, also COmpressor/DECompressor).
     31With supported video hardware and additional drivers,
     32<application>MPlayer</application> can play video files without an
     33<application>X</application> window system installed.</para>
     34
     35<para>For a full list of file formats, <acronym>CODEC</acronym>s and
     36output devices supported by <application>MPlayer</application>, visit the
     37<ulink url="http://www.mplayerhq.hu/DOCS/HTML/en/features.html">
     38<application>MPlayer</application> web site</ulink>.</para>
    2839
    2940<sect3><title>Package information</title>
     
    3748
    3849<sect3><title>Additional downloads</title>
    39 <itemizedlist spacing='compact'>
    40 <listitem><para>Proprietary <acronym>CODEC</acronym>s: <ulink
    41 url="http://www1.mplayerhq.hu/MPlayer/releases/codecs/extralite.tar.bz2"/></para></listitem>
    42 <listitem><para>Default <acronym>GUI</acronym> skin: <ulink
    43 url="http://www1.mplayerhq.hu/MPlayer/Skin/default-1.8.tar.bz2"/></para></listitem>
    44 <listitem><para>Prerendered fonts: <ulink
    45 url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2"/></para>
     50<para><emphasis>Patches</emphasis></para>
     51<itemizedlist spacing='compact'>
     52<listitem><para>Required Patch (for fbdev driver support): <ulink
     53url="&patch-root;/MPlayer-&mplayer-version;-kernel_2.6-1.patch"/></para>
     54</listitem></itemizedlist>
     55
     56<para><emphasis><acronym>CODEC</acronym>s</emphasis></para>
     57<itemizedlist spacing='compact'>
     58<listitem><para>Proprietary <acronym>CODEC</acronym>s: <ulink
     59url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-default-codec;"/></para>
    4660</listitem>
    47 </itemizedlist>
    48 
    49 <note><para>The additional downloads are not required to build and use MPlayer. You can
    50 find many more <acronym>CODEC</acronym>s, skins and fonts at <ulink
    51 url="http://www.mplayerhq.hu/">MPlayer's homepage</ulink>.</para></note>
    52 
     61<listitem><para>Additional <acronym>CODEC</acronym>s: <ulink
     62url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
     63</listitem></itemizedlist>
     64
     65<para><emphasis>Skins</emphasis></para>
     66<itemizedlist spacing='compact'>
     67<listitem><para>Default <acronym>GUI</acronym> skin: <ulink
     68url="http://www1.mplayerhq.hu/MPlayer/Skin/&mplayer-default-skin;"/></para>
     69</listitem>
     70<listitem><para>Additional skins: <ulink
     71url="http://www1.mplayerhq.hu/MPlayer/Skin/"/></para>
     72</listitem></itemizedlist>
     73
     74<para><emphasis>Fonts</emphasis></para>
     75<itemizedlist spacing='compact'>
     76<listitem><para>Prerendered fonts: <ulink
     77url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/&mplayer-default-font;.tar.bz2"/></para>
     78</listitem>
     79<listitem><para>Additional fonts: <ulink
     80url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/"/></para>
     81</listitem></itemizedlist>
     82
     83<note><para>The <acronym>CODEC</acronym>s, skins and fonts are not required to
     84build and use <application>MPlayer</application>.</para></note>
    5385</sect3>
    5486
     
    91123<ulink url="http://www.unrarlib.org/">unrarlib</ulink>,
    92124<ulink url="http://www.lirc.org/">LIRC</ulink>,
    93 <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink> and
    94 <ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>
     125<ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>,
     126<ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
     127<ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>,
     128<ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>,
     129<ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink>,
     130<ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink>,
     131<ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
     132<ulink url="http://trific.ath.cx/software/enca/">Enca</ulink>
    95133</para></sect4>
    96134</sect3>
     
    101139<title>Installation of <application>MPlayer</application></title>
    102140
    103 <para>If you downloaded any proprietary <acronym>CODEC</acronym>s,
    104 extract them at some system-wide location (like <filename
    105 class="directory">/usr/lib/mplayer/codecs</filename>) and add
    106 <parameter>--with-codecsdir=<replaceable>[location]</replaceable></parameter>
    107 option to the configure script.</para>
     141<sect3>
     142<title><acronym>CODEC</acronym> installation (optional)</title>
     143
     144<para>If you downloaded any proprietary <acronym>CODEC</acronym>s
     145(which can provide support for additional audio and video formats such as
     146Real, Indeo and QuickTime), extract them to
     147<filename class="directory">/usr/lib/mplayer/codecs</filename>
     148using the following commands (substitute and/or add different
     149<acronym>CODEC</acronym> filenames, if necessary):</para>
     150
     151<screen><userinput><command>install -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
     152tar xjfv ../&mplayer-default-codec; \
     153    -C /usr/lib/mplayer/codecs --strip-path=1 &amp;&amp;
     154chown -R root:root /usr/lib/mplayer/codecs</command></userinput></screen>
     155
     156<para>If you installed any <acronym>CODEC</acronym>s, ensure you add
     157<parameter>--with-codecsdir=/usr/lib/mplayer/codecs</parameter>
     158to the <command>configure</command> script.</para>
     159</sect3>
     160
     161<sect3>
     162<title><acronym>GUI</acronym> installation (optional)</title>
     163
     164<para>To enable building the <acronym>GUI</acronym> version of
     165<application>MPlayer</application> (requires <xref linkend="GTK"/>), add
     166<parameter>--enable-gui</parameter> to the <command>configure</command>
     167script. You'll also need to extract at least one skin. Extract the desired
     168skin to the default location:</para>
     169
     170<screen><userinput><command>install -d -m755 /usr/share/mplayer/Skin/default &amp;&amp;
     171tar xjvf ../&mplayer-default-skin; \
     172    -C /usr/share/mplayer/Skin/default --strip-path=1 &amp;&amp;
     173chown -R root:root /usr/share/mplayer/Skin/default</command></userinput></screen>
     174</sect3>
     175
     176<sect3>
     177<title>Installing <acronym>OSD</acronym> and subtitles support
     178(optional)</title>
     179
     180<para>To enable <acronym>OSD</acronym> (On Screen Display) and subtitles
     181support, add <parameter>--enable-menu</parameter> to the
     182<command>configure</command> script. You'll also need to set up at least one
     183font (see font installation instructions a little later).</para>
     184</sect3>
     185
     186<sect3>
     187<title>Main <application>MPlayer</application> installation</title>
    108188
    109189<note><para>The package maintainers recommend building without any
    110190optimizations.</para></note>
    111191
    112 <para>Install <application>MPlayer</application> by running the following commands:</para>
    113 
    114 <screen><userinput><command>./configure --prefix=/usr --confdir=/etc/mplayer \
     192<para>Install <application>MPlayer</application> by running the following
     193commands:</para>
     194
     195<screen><userinput><command>patch -Np1 -i ../MPlayer-&mplayer-version;-kernel_2.6-1.patch &amp;&amp;
     196./configure --prefix=/usr --confdir=/etc/mplayer \
    115197    --enable-largefiles --enable-shared-pp &amp;&amp;
    116198make &amp;&amp;
    117199make install &amp;&amp;
    118 make -C libavcodec/libpostproc install</command></userinput></screen>
     200make -C libavcodec/libpostproc install &amp;&amp;
     201install -d -m755 /usr/share/doc/mplayer &amp;&amp;
     202cp -R DOCS/* /usr/share/doc/mplayer &amp;&amp;
     203chown -R root:root /usr/share/doc/mplayer</command></userinput></screen>
    119204
    120205<para>You will need <filename>codecs.conf</filename> only if you want to
    121206change its properties, as the main binary contains an internal copy of
    122 it:</para>
     207it. Ensure any changes you make to <filename>codecs.conf</filename> achieve
     208the desired results, as incorrect entries in this file have been known to
     209cause errors. If necessary, create the file using the following command.</para>
    123210
    124211<screen><userinput><command>cp etc/codecs.conf /etc/mplayer</command></userinput></screen>
    125 
    126 <para>The <acronym>GUI</acronym> version of
    127 <application>MPlayer</application> requires a skin. Extract the default
    128 one to the recommended location:</para>
    129 
    130 <screen><userinput><command>install -d /usr/share/mplayer/Skin &amp;&amp;
    131 tar xjvf ../default-1.8.tar.bz2 -C /usr/share/mplayer/Skin</command></userinput></screen>
    132 
    133 <sect3>
    134 <title>Installation for <acronym>DVD</acronym> playback</title>
     212</sect3>
     213
     214<sect3>
     215<title><acronym>OSD</acronym> and subtitles font installation
     216(required if <parameter>--enable-menu</parameter> was passed to
     217<command>configure</command>)</title>
     218
     219<para>The recommended method to set up a font for
     220<application>MPlayer</application> is to link a <acronym>TTF</acronym> file to
     221your <filename class="directory">~/.mplayer</filename> directory. A link
     222should be created in each user's home directory who may use
     223<application>MPlayer</application>. For example:
     224</para>
     225
     226<screen><userinput><command>mkdir ~/.mplayer &amp;&amp;
     227ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf \
     228    ~/.mplayer/subfont.ttf</command></userinput></screen>
     229
     230<para>There are several other ways to set up a font package. To use a
     231prerendered <application>MPlayer</application> font package, extract and link
     232one of the font tarballs using the following commands:</para>
     233
     234<screen><userinput><command>tar xjvf ../&mplayer-default-font;.tar.bz2 \
     235    -C /usr/share/mplayer/font &amp;&amp;
     236chown -R root:root /usr/share/mplayer/font &amp;&amp;
     237cd /usr/share/mplayer/font &amp;&amp;
     238ln -sf &mplayer-default-font;/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* .</command></userinput></screen>
     239
     240<para>Available font sizes are 14, 18, 24 or 28.</para>
     241
     242<para>Additional information as well as additional methods to set up an
     243<application>MPlayer</application> font package can be found at <ulink
     244url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>.</para>
     245</sect3>
     246
     247<sect3>
     248<title>Installation for <acronym>DVD</acronym> playback (optional)</title>
    135249
    136250<para>If you want <acronym>DVD</acronym> playback with
    137 <application>MPlayer</application>, you need to make a link
    138 from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>:</para>
     251<application>MPlayer</application>, you need to ensure a link exists
     252from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>. If
     253necessary, create the link using the following command:</para>
    139254
    140255<screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
     
    151266ATAPI CD/DVD-ROM drive</userinput></screen>
    152267
    153 <para>If you have SCSI-Emulation activated for the drives, you'll need
    154 to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
    155 same order as in <acronym>IDE</acronym> devices to the devices named
    156 <filename>/dev/scd0</filename>,
    157 <filename>/dev/scd1</filename> and so on.</para>
     268<para>If you have <acronym>SCSI</acronym>-Emulation activated for the drives,
     269you'll need to get the right <acronym>SCSI</acronym>-device. Every
     270<acronym>CD</acronym>/<acronym>DVD</acronym>-<acronym>ROM</acronym> drive is
     271mapped in the same order as in <acronym>IDE</acronym> devices to the devices
     272named <filename>/dev/scd0</filename>, <filename>/dev/scd1</filename> and so on.
     273</para>
    158274
    159275</sect3>
     
    163279<sect2>
    164280<title>Command explanations</title>
    165 
    166 <para><option>--enable-shared-pp</option>: This enables the
    167 building of a shared <filename
    168 class="libraryfile">libpostproc</filename> (library for post processing, featuring
    169 filters like sharpen).</para>
    170 
    171 <para><option>--enable-gui</option>: This switch tells
    172 <application>MPlayer</application> to compile the <acronym>GUI</acronym>
    173 code (requires <xref linkend="GTK"/>).</para>
    174 
    175 <para><option>--enable-menu</option>:  This
    176 switch enables the new menu support.  It's like an
    177 <acronym>OSD</acronym>, but you can
    178 also run a shell with it.</para>
     281<para><parameter>--enable-shared-pp</parameter>: This enables building the
     282shared <filename class="libraryfile">libpostproc</filename> library (for
     283post processing) which features filters such as sharpen.</para>
    179284
    180285</sect2>
     
    184289
    185290<sect3><title>Config files</title>
    186 <para><filename>/etc/mplayer/*</filename>, <filename>~/.mplayer/*</filename></para>
    187 </sect3>
    188 
    189 <sect3><title>Configuration Information</title>
    190 
    191 
    192 <para>If you wish to utilize a <application>FreeType</application> font,
    193 you need to link a <acronym>TTF</acronym>
    194 file to your <filename class="directory">~/.mplayer</filename> directory.  For example:
    195 <screen><userinput><command>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf
    196 </command></userinput></screen>
    197 otherwise
    198 <screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font &amp;&amp;
    199 cd /usr/share/mplayer/font &amp;&amp;
    200 ln -sf font-arial-iso-8859-1/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* .</command></userinput></screen>
    201 You can chose your font size of 14, 18, 24 or 28.
    202 </para>
    203 
    204 <para>Set the proper ownership for <acronym>CODEC</acronym>s, skins and fonts:</para>
    205 
    206 <screen><userinput><command>chown -R root:root <replaceable>[CODECs location]</replaceable> &amp;&amp;
    207 chown -R root:root /usr/share/mplayer</command></userinput></screen>
    208 
    209 <para>Optionally, set up the <acronym>GUI</acronym> with the following commands:</para>
    210 
    211 <screen><userinput><command>cat &gt; /etc/mplayer/mplayer.conf &lt;&lt; "EOF"</command>
    212 gui = yes
    213 skin = default
    214 <command>EOF</command></userinput></screen>
    215 
    216 <para>The first line, <userinput>gui = yes</userinput>, will make
    217 MPlayer start in <acronym>GUI</acronym> mode automatically. If you want to decide whether to start
    218 in <acronym>GUI</acronym> mode or not, leave that line out and start
    219 <command>mplayer</command> with
    220 <option>-gui</option> or as <command>gmplayer</command> (e.g.,
    221 when starting from a Window Manager menu or command prompt). Note that
    222 the main configuration file is called <filename>config</filename> if it
    223 is placed in the <filename class="directory">~/.mplayer</filename> directory.</para>
    224 
     291<para><filename>/etc/mplayer/*</filename>,
     292<filename>~/.mplayer/*</filename></para>
    225293</sect3>
    226294
     
    230298<title>Contents</title>
    231299
    232 <para>The <application>MPlayer</application> package contains <command>mplayer</command>,
    233 <command>gmplayer</command> and <command>mencoder</command>.</para>
     300<para>The <application>MPlayer</application> package contains
     301<command>mplayer</command>,
     302<command>gmplayer</command> and
     303<command>mencoder</command>.</para>
    234304
    235305</sect2>
     
    239309<sect3><title>mplayer</title>
    240310<para><command>mplayer</command> manages the input formats, the
    241 <acronym>CODEC</acronym>s and the output
    242 formats to play video files, <acronym>DVD</acronym>s,
    243 (S)<acronym>VCD</acronym>s or network streams containing
    244 audio and/or video information on your system.</para>
     311<acronym>CODEC</acronym>s and the output formats to play video files,
     312<acronym>DVD</acronym>s, (S)<acronym>VCD</acronym>s or network streams
     313containing audio and/or video information on your system.</para>
     314
    245315<para>Examples:</para>
    246316
     
    250320mplayer http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</command></screen>
    251321
    252 <para>For further information, look at the very good
    253 documentation included with the package in the source tree subdirectory <filename
    254 class="directory">DOCS/</filename>.
    255 </para></sect3>
     322<para>For further information, look at the very good documentation included
     323with the package in the source tree subdirectory
     324<filename class="directory">DOCS</filename> (also installed at
     325<filename class='directory'>/usr/share/doc/mplayer</filename>).</para>
     326</sect3>
    256327
    257328<sect3><title>gmplayer</title>
    258 <para><command>gmplayer</command> is <application>MPlayer</application> with a graphical user interface.</para></sect3>
     329<para><command>gmplayer</command> is <application>MPlayer</application> with a
     330graphical user interface.</para></sect3>
    259331
    260332<sect3><title>mencoder</title>
    261333<para><command>mencoder</command> is used to encode any
    262334<application>MPlayer</application> playable movie to DivX4,
    263 <application>XviD</application> or any <acronym>CODEC</acronym> in libavcodec with
     335<application>XviD</application> or any <acronym>CODEC</acronym> in
     336<filename class='libraryfile'>libavcodec</filename> with
    264337<acronym>PCM</acronym>/MP3/VBRMP3 audio.</para>
    265338
  • multimedia/videoutils/xine-ui.xml

    r31156d2 r0a35e881  
    5757<xref linkend="aalib"/>,
    5858<ulink url="http://www.lirc.org">LIRC</ulink> and
    59 <ulink url="http://packages.debian.org/testing/source/libcaca">CACA</ulink>
    60 </para>
     59<ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink></para>
    6160</sect4>
    6261</sect3>
Note: See TracChangeset for help on using the changeset viewer.