Changeset 9aa1897 for multimedia


Ignore:
Timestamp:
12/25/2004 01:25:17 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:
77a06259
Parents:
176c4756
Message:

Updated to MPlayer-1.0pre6

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

Location:
multimedia
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/libmpeg3.xml

    r176c4756 r9aa1897  
    33  <!ENTITY % general-entities SYSTEM "../../general.ent">
    44  %general-entities;
    5  
     5
    66  <!ENTITY libmpeg3-download-http "http://prdownloads.sourceforge.net/heroines/libmpeg3-&libmpeg3-version;-src.tar.bz2">
    77  <!ENTITY libmpeg3-download-ftp  " ">
     
    1717</sect1info>
    1818<?dbhtml filename="libmpeg3.html"?>
    19 <title>libmpeg3-&libmpeg3-version;</title>
     19<title><application>libmpeg3</application>-&libmpeg3-version;</title>
    2020
    2121<sect2>
     
    2727<sect3><title>Package information</title>
    2828<itemizedlist spacing='compact'>
    29 <listitem><para>Download (HTTP): <ulink url="&libmpeg3-download-http;"/></para></listitem>
    30 <listitem><para>Download (FTP): <ulink url="&libmpeg3-download-ftp;"/></para></listitem>
     29<listitem><para>Download (HTTP):
     30<ulink url="&libmpeg3-download-http;"/></para></listitem>
     31<listitem><para>Download (FTP):
     32<ulink url="&libmpeg3-download-ftp;"/></para></listitem>
    3133<listitem><para>Download size: &libmpeg3-size;</para></listitem>
    32 <listitem><para>Estimated Disk space required: &libmpeg3-buildsize;</para></listitem>
    33 <listitem><para>Estimated build time: &libmpeg3-time;</para></listitem></itemizedlist>
     34<listitem><para>Estimated disk space required:
     35&libmpeg3-buildsize;</para></listitem>
     36<listitem><para>Estimated build time:
     37&libmpeg3-time;</para></listitem></itemizedlist>
    3438</sect3>
    3539
     
    4448<sect3><title><application>libmpeg3</application> dependencies</title>
    4549<sect4><title>Required</title>
    46 <para><xref linkend="NASM"/></para></sect4>
     50<para><xref linkend="NASM"/></para>
     51</sect4>
    4752</sect3>
    4853
  • multimedia/videoutils/mplayer.xml

    r176c4756 r9aa1897  
    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.1 MB">
    9   <!ENTITY mplayer-buildsize     "74 MB (additional 19 MB for CODECs)">
    10   <!ENTITY mplayer-time          "1.80 SBU">
     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">
    1111  <!ENTITY mplayer-default-codec "essential-20041107.tar.bz2">
    1212  <!ENTITY mplayer-default-skin  "Blue-1.4.tar.bz2">
     
    2020</sect1info>
    2121<?dbhtml filename="mplayer.html"?>
    22 <title>MPlayer-&mplayer-version;</title>
     22<title><application>MPlayer</application>-&mplayer-version;</title>
    2323
    2424<sect2>
     
    3333<application>X</application> window system installed.</para>
    3434
    35 <para>For a full list of file formats, <acronym>CODEC</acronym>s and
     35<para>For <application>MPlayer</application> general information and available
     36features, including a full list of file formats, <acronym>CODEC</acronym>s and
    3637output devices supported by <application>MPlayer</application>, visit the
    37 <ulink url="http://www.mplayerhq.hu/DOCS/HTML/en/features.html">
     38<ulink url="http://www1.mplayerhq.hu/homepage/design7/info.html">
    3839<application>MPlayer</application> web site</ulink>.</para>
    3940
    4041<sect3><title>Package information</title>
    4142<itemizedlist spacing='compact'>
    42 <listitem><para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para></listitem>
    43 <listitem><para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para></listitem>
     43<listitem><para>Download (HTTP):
     44<ulink url="&mplayer-download-http;"/></para></listitem>
     45<listitem><para>Download (FTP):
     46<ulink url="&mplayer-download-ftp;"/></para></listitem>
    4447<listitem><para>Download size: &mplayer-size;</para></listitem>
    45 <listitem><para>Estimated Disk space required: &mplayer-buildsize;</para></listitem>
    46 <listitem><para>Estimated build time: &mplayer-time;</para></listitem></itemizedlist>
     48<listitem><para>Estimated disk space required:
     49&mplayer-buildsize;</para></listitem>
     50<listitem><para>Estimated build time:
     51&mplayer-time;</para></listitem></itemizedlist>
    4752</sect3>
    4853
     
    5762<itemizedlist spacing='compact'>
    5863<listitem><para>Proprietary <acronym>CODEC</acronym>s: <ulink
    59 url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-default-codec;"/></para>
    60 </listitem>
     64url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-default-codec;"/>
     65</para></listitem>
    6166<listitem><para>Additional <acronym>CODEC</acronym>s: <ulink
    6267url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
     
    8691
    8792<sect3><title><application>MPlayer</application> dependencies</title>
    88 <sect4><title>Optional</title>
    89 <para>
    90 X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
    91 <xref linkend="libpng"/>,
    92 <xref linkend="libjpeg"/>,
    93 <xref linkend="GTK"/>,
    94 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
    95 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
    96 <xref linkend="freetype2"/>,
    97 <xref linkend="fontconfig"/>,
    98 <xref linkend="libungif"/> or <xref linkend="giflib"/>,
    99 <xref linkend="libogg"/>
    100 <xref linkend="libvorbis"/>,
    101 <xref linkend="aalib"/>,
    102 <xref linkend="sdl"/>,
    103 <xref linkend="xvid"/>,
    104 <xref linkend="arts"/>,
    105 <xref linkend="alsa"/>,
    106 <xref linkend="esound"/>,
    107 <xref linkend="LZO"/>,
    108 <xref linkend="libmad"/>,
    109 <xref linkend="CDParanoia"/>,
    110 <xref linkend="libdv"/>,
    111 <xref linkend="libdvdread"/>,
    112 <xref linkend="nas"/>,
    113 <xref linkend="samba3"/>,
    114 <xref linkend="lame"/>,
    115 <xref linkend="xmms"/>,
    116 <xref linkend="flac"/>,
    117 <xref linkend="libfame"/>,
    118 <ulink url="http://www.theora.org/">Theora</ulink>,
    119 <ulink url="http://prdownloads.sourceforge.net/zapping/mp1e-1.9.3.tar.bz2">MP1E</ulink>,
    120 <ulink url="http://faac.sourceforge.net/">FAAD2</ulink>,
    121 <ulink url="http://www.ggi-project.org/">GGI</ulink>,
    122 <ulink url="http://fribidi.sourceforge.net/">FriBidi</ulink>,
    123 <ulink url="http://www.unrarlib.org/">unrarlib</ulink>,
    124 <ulink url="http://www.lirc.org/">LIRC</ulink>,
    125 <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>,
     93<sect4><title>Optional input drivers and libraries</title>
     94<para><xref linkend="CDParanoia"/>,
     95<xref linkend="libdv"/>,
     96<xref linkend="libdvdread"/>,
     97<xref linkend="samba3"/>,
     98<ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>,
     99<ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>
     100and <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink></para>
     101</sect4>
     102
     103<sect4><title>Optional audio output drivers and libraries</title>
     104<para><xref linkend="alsa"/>,
     105<xref linkend="arts"/>,
     106<xref linkend="esound"/>,
     107<xref linkend="nas"/>,
     108<xref linkend="sdl"/> (also used for video output),
     109<xref linkend="xmms"/>,
     110<ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>,
     111<ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink> (requires
     112<ulink url="http://jackit.sourceforge.net/">JACK</ulink>)</para>
     113</sect4>
     114
     115<sect4><title>Optional video output drivers and libraries</title>
     116<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
     117<xref linkend="libpng"/>,
     118<xref linkend="libjpeg"/>,
     119<xref linkend="libungif"/> or <xref linkend="giflib"/>,
     120<xref linkend="GTK"/>,
     121<xref linkend="freetype2"/>,
     122<xref linkend="fontconfig"/>,
     123<xref linkend="aalib"/>,
     124<ulink url="http://www.directfb.org/">DirectFB</ulink>,
     125<ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
     126<ulink url="http://www.ggi-project.org/">GGI</ulink>,
    126127<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>,
     128<ulink url="http://www.ladspa.org/">LADSPA</ulink>,
    130129<ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink>,
    131 <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink> and
    132 <ulink url="http://trific.ath.cx/software/enca/">Enca</ulink>
    133 </para></sect4>
     130<ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
     131<ulink url="http://prdownloads.sourceforge.net/zapping/mp1e-1.9.3.tar.bz2">MP1E</ulink>,
     132<ulink url="http://freedesktop.org/Software/FriBidi">FriBidi</ulink> and
     133<ulink url="http://trific.ath.cx/software/enca/">Enca</ulink></para>
     134</sect4>
     135
     136<sect4><title>Optional <acronym>CODEC</acronym>s</title>
     137<para><xref linkend="libvorbis"/>,
     138<xref linkend="xvid"/>,
     139<xref linkend="LZO"/>,
     140<xref linkend="libmad"/>,
     141<xref linkend="lame"/>,
     142<xref linkend="libfame"/>,
     143<ulink url="http://www.theora.org/">Theora</ulink>,
     144<ulink url="http://www.xiph.org/ogg/vorbis/index.html">Tremor</ulink>,
     145<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD2</ulink>,
     146<ulink url="http://www.divx.com/divx/linux/">DivX4Linux</ulink>,
     147<ulink url="http://users.tpg.com.au/adslblvi/#tooLAME">tooLAME</ulink>,
     148<ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>
     149and <ulink url="http://www.lirc.org/">LIRC</ulink></para>
     150</sect4>
    134151</sect3>
    135152
     
    150167
    151168<screen><userinput><command>install -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
    152 tar xjfv ../&mplayer-default-codec; \
     169tar xjvf ../&mplayer-default-codec; \
    153170    -C /usr/lib/mplayer/codecs --strip-path=1 &amp;&amp;
    154171chown -R root:root /usr/lib/mplayer/codecs</command></userinput></screen>
    155172
    156 <para>If you installed any <acronym>CODEC</acronym>s, ensure you add
    157 <parameter>--with-codecsdir=/usr/lib/mplayer/codecs</parameter>
     173<para>If you installed any <acronym>CODEC</acronym>s, ensure you add 
     174<option>--with-codecsdir=/usr/lib/mplayer/codecs</option>
    158175to the <command>configure</command> script.</para>
    159176</sect3>
     
    164181<para>To enable building the <acronym>GUI</acronym> version of
    165182<application>MPlayer</application> (requires <xref linkend="GTK"/>), add
    166 <parameter>--enable-gui</parameter> to the <command>configure</command>
     183<option>--enable-gui</option> to the <command>configure</command>
    167184script. You'll also need to extract at least one skin. Extract the desired
    168 skin to the default location:</para>
    169 
    170 <screen><userinput><command>install -d -m755 /usr/share/mplayer/Skin &amp;&amp;
     185skin and create the default location:</para>
     186
     187<screen><userinput><command>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp;
    171188tar xjvf ../&mplayer-default-skin; \
    172189    -C /usr/share/mplayer/Skin &amp;&amp;
    173 chown -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp;
    174 ln -sf Blue /usr/share/mplayer/Skin/default</command></userinput></screen>
     190chown -v -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp;
     191chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp;
     192ln -sfv Blue /usr/share/mplayer/Skin/default</command></userinput></screen>
    175193</sect3>
    176194
     
    180198
    181199<para>To enable <acronym>OSD</acronym> (On Screen Display) and subtitles
    182 support, add <parameter>--enable-menu</parameter> to the
     200support, add <option>--enable-menu</option> to the
    183201<command>configure</command> script. You'll also need to set up at least one
    184202font (see font installation instructions a little later).</para>
     
    200218make install &amp;&amp;
    201219install -d -m755 /usr/share/doc/mplayer &amp;&amp;
    202 cp -R DOCS/* /usr/share/doc/mplayer &amp;&amp;
    203 chown -R root:root /usr/share/doc/mplayer</command></userinput></screen>
     220cp -R DOCS/* /usr/share/doc/mplayer</command></userinput></screen>
     221
     222<para><application>MPlayer</application> can build a shared post-processing
     223library which other packages can link to. Doing this means that
     224<application>MPlayer</application> must also link dynamically to this library
     225instead of the default statically linked method. If you desire to build the
     226shared library, add <option>--enable-shared-pp</option> to the
     227<command>configure</command> script, then execute the following command after
     228the commands above:</para>
     229
     230<screen><userinput><command>make -C libavcodec/libpostproc install</command></userinput></screen>
    204231
    205232<para>You will need <filename>codecs.conf</filename> only if you want to
     
    207234it. Ensure any changes you make to <filename>codecs.conf</filename> achieve
    208235the desired results, as incorrect entries in this file have been known to
    209 cause errors. If necessary, create the file using the following command.</para>
    210 
    211 <screen><userinput><command>cp etc/codecs.conf /etc/mplayer</command></userinput></screen>
     236cause errors and render the player unusable. If necessary, create the file
     237using the following command.</para>
     238
     239<screen><userinput><command>install -m644 etc/codecs.conf /etc/mplayer</command></userinput></screen>
     240
     241<para>You may also want to copy all the default configuration files to
     242<filename class='directory'>/etc/mplayer</filename> for future reference or
     243more customization ability.</para>
     244
     245<screen><userinput><command>install -m644 etc/*.conf /etc/mplayer</command></userinput></screen>
    212246</sect3>
    213247
     
    251285<application>MPlayer</application>, you need to ensure a link exists
    252286from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>. If
    253 necessary, create the link using the following command:</para>
    254 
    255 <screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
     287necessary, create the link using the following commands:</para>
     288
     289<screen><userinput><command>cat &gt;&gt; /etc/udev/rules.d/24-dvd.rules &lt;&lt; "EOF"</command>
     290# Create a /dev/dvd symlink
     291 
     292KERNEL="<replaceable>[dvd drive]</replaceable>", SYMLINK="dvd"
     293 
     294<command>EOF
     295udevstart</command></userinput></screen>
    256296
    257297<para>Replace <replaceable>[dvd drive]</replaceable> with whatever
    258 device is appropriate, for example <filename>/dev/hdc</filename>. If
     298device is appropriate, for example <filename>hdc</filename>. If
    259299you don't know which device to choose, type:</para>
    260300
     
    265305<screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
    266306ATAPI CD/DVD-ROM drive</userinput></screen>
    267 
    268307</sect3>
    269308
     
    271310
    272311<sect2>
    273 <title>Configuring MPlayer</title>
     312<title>Configuring <application>MPlayer</application></title>
    274313
    275314<sect3><title>Config files</title>
     
    278317</sect3>
    279318
     319<sect3><title>Configuration information</title>
     320<para>Typically, there's no configuration required for the system-wide files
     321in <filename class='directory'>/etc/mplayer</filename> (in fact, this
     322directory is empty unless you copied the default files as mentioned above).
     323Configuration can be accomplished by choosing the configuration button located
     324on the <application>MPlayer</application> <acronym>GUI</acronym>. Any
     325configuration changes made here will be copied to the user's
     326<filename>~/.mplayer</filename> directory.</para>
     327</sect3>
     328
    280329</sect2>
    281330
     
    284333
    285334<para>The <application>MPlayer</application> package contains
    286 <command>mplayer</command>,
     335<command>mplayer</command>, 
    287336<command>gmplayer</command> and
    288337<command>mencoder</command>.</para>
     
    312361
    313362<sect3><title>gmplayer</title>
    314 <para><command>gmplayer</command> is <application>MPlayer</application> with a
    315 graphical user interface.</para></sect3>
     363<para><command>gmplayer</command> is a symlink to
     364<command>mplayer</command> which brings up the graphical user
     365interface component of <application>MPlayer</application>.</para></sect3>
    316366
    317367<sect3><title>mencoder</title>
Note: See TracChangeset for help on using the changeset viewer.