Ignore:
Timestamp:
01/11/2006 04:33:36 AM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
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
Children:
d08127d
Parents:
5e9008a
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/mplayer.xml

    r5e9008a rf7ae70f  
    1515  <!ENTITY mplayer-codec-md5sum  "5fe89bb095bdf9b4f9cda5479dbde906">
    1616  <!ENTITY mplayer-codec-size    "9.3 MB">
     17  <!ENTITY mplayer-alt-codec     "all-20050412.tar.bz2">
    1718
    1819  <!ENTITY mplayer-skin          "Blue-1.4.tar.bz2">
     
    9091      </listitem>
    9192      <listitem>
     93        <para>Required Patch: <ulink
     94        url="&patch-root;/MPlayer-&mplayer-version;-x264_fixes-1.patch"/></para>
     95      </listitem>
     96      <listitem>
    9297        <para>Required Patch (for fbdev driver support): <ulink
    9398        url="&patch-root;/MPlayer-&mplayer-version;-kernel_2.6-1.patch"/></para>
     
    106111      <listitem>
    107112        <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>
    108118      </listitem>
    109119        <listitem><para>Additional CODECs: <ulink
     
    158168    <para role="optional"><xref linkend="cdparanoia"/>,
    159169    <xref linkend="libdv"/>,
    160     <xref linkend="libdvdread"/>,
     170    <xref linkend="libdvdread"/> (must disable internal mpdvdkit support),
    161171    <xref linkend="samba3"/>,
    162172    <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
    163173    <ulink url="http://armory.nicewarrior.org/projects/vstream-client/">TiVo vstream client</ulink>,
     174    <!-- Disabling for now as only internal Matroska support is available
    164175    <ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>
    165176    (requires
    166     <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
    167     <ulink url="http://www.linuxtv.org/">DVB drivers</ulink>
    168     and <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink></para>
     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>
    169180
    170181    <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
     
    175186    <xref linkend="sdl"/> (also used for video output),
    176187    <xref linkend="xmms"/>,
    177     <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
    178188    <ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>,
    179189    <ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink> (requires
    180     <ulink url="http://jackit.sourceforge.net/">JACK</ulink>)</para>
     190    <ulink url="http://jackit.sourceforge.net/">JACK</ulink>), and
     191    <ulink url="http://www.ladspa.org/">LADSPA</ulink></para>
    181192
    182193    <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
     
    195206    <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
    196207    <ulink url="http://www.ggi-project.org/">GGI</ulink>,
    197     <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
    198     <ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink>,
    199     <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
    200     <ulink url="http://prdownloads.sourceforge.net/zapping/">MP1E</ulink> and
     208    <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>, and
    201209    <ulink url="http://trific.ath.cx/software/enca/">Enca</ulink></para>
    202210
     
    204212    <para role="optional"><xref linkend="libvorbis"/>,
    205213    <xref linkend="xvid"/>,
    206     <xref linkend="LZO"/>,
     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>),
    207217    <xref linkend="libmad"/>,
    208218    <xref linkend="lame"/>,
    209219    <xref linkend="libfame"/>,
    210220    <ulink url="http://www.theora.org/">Theora</ulink>,
    211     <ulink url="http://www.xiph.org/ogg/vorbis/index.html">Tremor</ulink>,
    212     <ulink url="http://sourceforge.net/projects/faac">FAAD2</ulink>,
    213     <ulink url="http://www.divx.com/divx/linux/">DivX4Linux</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>,
    214234    <ulink
    215235    url="ftp://ftp.videolan.org/pub/videolan/vlc/0.8.2/contrib/toolame-02m-beta8.tar.bz2">
    216236    tooLAME</ulink>,
    217     <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>
    218     and <ulink url="http://www.lirc.org/">LIRC</ulink></para>
     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>
    219284
    220285  </sect2>
     
    258323    -C /usr/share/mplayer/Skin &amp;&amp;
    259324chown -v -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp;
    260 chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp;
     325chmod -v 755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp;
    261326ln -sfv Blue /usr/share/mplayer/Skin/default</userinput></screen>
    262327
     
    268333      <para>To enable OSD (On Screen Display) and subtitles support, add
    269334      <option>--enable-menu</option> to the <command>configure</command>
    270       script. You'll also need to set up at least one font (see font installation
    271       instructions a little later).</para>
     335      script. You'll also need to set up at least one font (see font
     336      installation instructions a little later).</para>
    272337
    273338    </sect3>
     
    281346      </note>
    282347
    283       <para><application>MPlayer</application> can build a shared post-processing
    284       library from the internal <application>FFmpeg</application> package which
    285       other packages can link to. This requires <application>MPlayer</application>
    286       to link dynamically to this library instead of the default statically linked method.
    287       If you desire to build the shared library, add <option>--enable-shared-pp</option>
    288       and <option>--disable-fastmemcpy</option> to the <command>configure</command>
     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>
    289357      script. The <option>--disable-fastmemcpy</option> parameter is required to
    290       avoid <computeroutput>undefined reference</computeroutput> errors when other
    291       packages link to the shared library.</para>
     358      avoid <computeroutput>undefined reference</computeroutput> errors when
     359      other packages link to the shared library.</para>
    292360
    293361      <para>You may wish to examine the output from
     
    301369<screen><userinput>patch -Np1 -i ../MPlayer-&mplayer-version;-kernel_2.6-1.patch &amp;&amp;
    302370patch -Np1 -i ../MPlayer-&mplayer-version;-gcc4-1.patch &amp;&amp;
     371patch -Np1 -i ../MPlayer-&mplayer-version;-x264_fixes-1.patch &amp;&amp;
    303372./configure --prefix=/usr --confdir=/etc/mplayer \
    304373    --enable-largefiles &amp;&amp;
     
    314383
    315384      <para>Passing parameters to <command>configure</command> may result
    316       in the creation of <filename class='libraryfile'>libdha.so.1.0</filename>. If so,
    317       you may wish to create a symlink to this library in case other packages link
    318       to <filename class='libraryfile'>libdha.so</filename>. Use the following
    319       command as the <systemitem class="username">root</systemitem> user
    320       to create the symlink:</para>
     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>
    321391
    322392<screen role="root"><userinput>ln -v -s libdha.so.1.0 /usr/lib/libdha.so</userinput></screen>
     
    324394      <para>You will need <filename>codecs.conf</filename> only if you want to
    325395      change its properties, as the main binary contains an internal copy of
    326       it. Ensure any changes you make to <filename>codecs.conf</filename> achieve
    327       the desired results, as incorrect entries in this file have been known to
    328       cause errors and render the player unusable. If necessary, create the file
    329       using the following command.</para>
     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>
    330400
    331401<screen role="root"><userinput>install -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
    332402
    333403      <para>You may also want to copy all the default configuration files to
    334       <filename class='directory'>/etc/mplayer</filename> for future reference or
    335       more customization ability.</para>
     404      <filename class='directory'>/etc/mplayer</filename> for future reference
     405      or more customization ability.</para>
    336406
    337407<screen role="root"><userinput>install -m644 etc/*.conf /etc/mplayer</userinput></screen>
     
    430500      <title>Configuration Information</title>
    431501
    432       <para>Typically, there's no configuration required for the system-wide files
    433       in <filename class='directory'>/etc/mplayer</filename> (in fact, this
    434       directory is empty unless you copied the default files as mentioned above).
    435       Configuration can be accomplished by choosing the configuration button located
    436       on the <application>MPlayer</application> GUI. Any
     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
    437507      configuration changes made here will be copied to the user's
    438508      <filename class='directory'>~/.mplayer</filename> directory.</para>
     
    492562http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</userinput></screen>
    493563
    494           <para>For further information, look at the very good documentation included
    495           with the package in the source tree subdirectory
     564          <para>For further information, look at the very good documentation
     565          included with the package in the source tree subdirectory
    496566          <filename class="directory">DOCS</filename> (also installed at
    497567          <filename class='directory'>/usr/share/doc/mplayer</filename>).</para>
Note: See TracChangeset for help on using the changeset viewer.