Changeset 9e5b78b


Ignore:
Timestamp:
11/25/2011 01:26:46 AM (12 years ago)
Author:
Andrew Benton <andy@…>
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:
c08bd877
Parents:
db1d3ee
Message:

Updated ffmpeg to 0.8.6

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rdb1d3ee r9e5b78b  
    864864
    865865<!-- Chapter 40 -->
    866 <!ENTITY ffmpeg-version               "0.6.1">
     866<!ENTITY ffmpeg-version               "0.8.6">
    867867<!ENTITY avifile-version              "0.7.45">
    868868<!ENTITY mplayer-version              "1.0rc1">
  • introduction/welcome/changelog.xml

    rdb1d3ee r9e5b78b  
    4343-->
    4444    <listitem>
     45      <para>November 25th, 2011</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[abenton] - Updated ffmpeg to 0.8.6.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4554      <para>November 24th, 2011</para>
    4655      <itemizedlist>
  • multimedia/videoutils/ffmpeg.xml

    rdb1d3ee r9e5b78b  
    77  <!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.bz2">
    88  <!ENTITY ffmpeg-download-ftp  " ">
    9   <!ENTITY ffmpeg-md5sum        "4f5d732d25eedfb072251b5314ba2093">
    10   <!ENTITY ffmpeg-size          "3.5 MB">
    11   <!ENTITY ffmpeg-buildsize     "328 MB (built with recommended dependencies)">
    12   <!ENTITY ffmpeg-time          "2.1 SBU">
     9  <!ENTITY ffmpeg-md5sum        "b4ef1fa6506750569fdb64a0f0a646a8">
     10  <!ENTITY ffmpeg-size          "4.3 MB">
     11  <!ENTITY ffmpeg-buildsize     "178 MB (built with recommended dependency)">
     12  <!ENTITY ffmpeg-time          "2.5 SBU">
    1313]>
    1414
     
    3131
    3232    <para><application>FFmpeg</application> is a solution to record, convert and
    33     stream audio and video. It is a very fast video and audio converter and it can
    34     also acquire from a live audio/video source. Designed to be intuitive, the
    35     command-line interface (<command>ffmpeg</command>) tries to figure out all the
    36     parameters, when possible. <application>FFmpeg</application> can also convert
    37     from any sample rate to any other, and resize video on the fly with a high
    38     quality polyphase filter. <application>FFmpeg</application> can use a
    39     video4linux compatible video source and any Open Sound System audio
     33    stream audio and video. It is a very fast video and audio converter and it
     34    can also acquire from a live audio/video source. Designed to be intuitive,
     35    the command-line interface (<command>ffmpeg</command>) tries to figure out
     36    all the parameters, when possible. <application>FFmpeg</application> can
     37    also convert from any sample rate to any other, and resize video on the fly
     38    with a high quality polyphase filter. <application>FFmpeg</application> can
     39    use a video4linux compatible video source and any Open Sound System audio
    4040    source.</para>
     41
    4142    <para>The developers of this package do not make releases very often, so you
    42     may wish to use a snapshot instead of this release.  If you do that, you must
    43     expect the acceptable <command>configure</command> switches, and the
     43    may wish to use a snapshot instead of this release.  If you do that, you
     44    must expect the acceptable <command>configure</command> switches, and the
    4445    dependencies, to change.</para>
    4546
    46     &lfs67_checked;
     47    &lfs70_checked;
    4748
    4849    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6869    </itemizedlist>
    6970
    70     <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    71     <itemizedlist spacing="compact">
    72       <listitem>
    73         <para>Required patch: <ulink
    74         url="&patch-root;/ffmpeg-&ffmpeg-version;-gcc4-1.patch"/></para>
    75       </listitem>
    76       <listitem>
    77         <para>Required patch: <ulink
    78         url="&patch-root;/ffmpeg-&ffmpeg-version;-amr_fixes-1.patch"/></para>
    79       </listitem>
    80     </itemizedlist> -->
    81 
    8271    <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
    8372
    8473    <bridgehead renderas="sect4">Recommended</bridgehead>
    8574    <para role="recommended">
    86     <xref linkend="faad2"/>,
    87     <xref linkend="lame"/>,
    88     <xref linkend="libtheora"/>,
    89     <xref linkend="libvorbis"/>,
    90     <xref linkend="libvpx"/>,
    91     <xref linkend="x-window-system"/>,
     75    <ulink url="http://www.tortall.net/projects/yasm/">yasm</ulink>.
     76    </para>
     77
     78    <bridgehead renderas="sect4">Optional</bridgehead>
     79    <para role="optional"><xref linkend="faad2"/>, <xref linkend="lame"/>,
     80    <xref linkend="libtheora"/>, <xref linkend="libvorbis"/>,
     81    <xref linkend="libvpx"/>, <xref linkend="x-window-system"/>,
    9282    <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>
    93     (tested with the 20100615-2245 snapshot : x264 needs
    94     <ulink url="http://www.tortall.net/projects/yasm/">yasm</ulink> unless you
    95     configure it with <literal>--disable-asm</literal>),
    96     <xref linkend="xvid"/></para>
    97 
    98     <bridgehead renderas="sect4">Optional</bridgehead>
    99     <para role="optional">
    100     <ulink url="http://www.penguin.cz/~utx/amr">AMR narrowband (floating point)</ulink>,
     83    (x264 needs <ulink url="http://www.tortall.net/projects/yasm/">yasm</ulink>
     84    unless you configure it with <literal>--disable-asm</literal>),
     85    <xref linkend="xvid"/>,
     86    <ulink url="http://www.penguin.cz/~utx/amr">AMR narrowband
     87    (floating point)</ulink>,
    10188    <ulink url="http://www.penguin.cz/~utx/amr">AMR wideband</ulink>,
    102     <xref linkend="faac"/>,
    103     <xref linkend="freetype2"/>,
    104     <ulink url="http://kbs.cs.tu-berlin.de/~jutta/gsm/">GSM</ulink>,
    105     <xref linkend="imlib2"/>,
     89    <xref linkend="faac"/>, <xref linkend="freetype2"/>,
     90    <ulink url="http://libgsm.sourcearchive.com/">GSM</ulink>,
    10691    <xref linkend="liba52"/>,
    10792    <ulink url="http://sourceforge.net/projects/libdc1394">libdc1394</ulink>,
    108     <ulink url="http://svn.mplayerhq.hu/nut/src/trunk/">libnut</ulink> (SVN checkout),
     93    <ulink url="http://svn.mplayerhq.hu/nut/src/trunk/">libnut</ulink>
     94    (SVN checkout),
    10995    <ulink url="http://sourceforge.net/projects/librtmp">librtmp</ulink>,
    11096    <ulink url="http://diracvideo.org/">libschroedinger</ulink>,
    11197    <ulink url="http://medialibrary.sourceforge.net/">MediaLibrary</ulink>,
    112     <ulink url="http://www.openjpeg.org">OpenJPEG</ulink>,
    113     <xref linkend="sdl"/>,
    114     <xref linkend="speex"/>,
    115     <ulink url="http://www.tortall.net/projects/yasm/">yasm</ulink>, and
    116     <xref linkend="tetex"/> or
     98    <ulink url="http://www.openjpeg.org">OpenJPEG</ulink>
     99    (<application>ffmpeg</application> includes code for it's own jpeg2000
     100    encoder and decoder which is enabled by default), <xref linkend="speex"/>,
     101    <!-- <xref linkend="tetex"/>, --> <xref linkend="sdl"/> and
    117102    <ulink url="http://www.nongnu.org/texi2html">texi2html</ulink>
    118    (to build HTML documentation)</para>
     103    (to build HTML documentation).</para>
    119104
    120105    <para condition="html" role="usernotes">User Notes:
     
    129114    commands:</para>
    130115
    131 <screen><userinput>sed -i 's/-number//' Makefile &amp;&amp;
    132 ./configure --prefix=/usr --enable-shared \
    133             --enable-pthreads --enable-gpl \
    134             --enable-swscale --enable-postproc \
    135             --enable-libfaad --enable-libmp3lame \
    136             --enable-libtheora --enable-libvorbis \
    137             --enable-libvpx --enable-libx264 \
    138             --enable-libxvid &amp;&amp;
     116<screen><userinput>./configure --prefix=/usr --enable-shared --disable-static --enable-gpl &amp;&amp;
    139117make</userinput></screen>
    140 
    141     <para>If you have <application>teTeX</application> or
    142     <application>texi2html</application> installed, the HTML
    143     documentation was built during the <command>make</command> process. If you
    144     wish to create additional formats of the documentation, you must have
    145     <application>teTeX</application> or <xref linkend="texlive"/> installed,
    146     and issue the following commands:</para>
    147 
    148 <screen><userinput>cd doc &amp;&amp;
    149 for DOCNAME in faq ffmpeg-doc ffplay-doc ffprobe-doc ffserver-doc general libavfilter; do
    150     texi2dvi -b -p $DOCNAME.texi
    151     texi2dvi -b    $DOCNAME.texi
    152     dvips -o $DOCNAME.ps $DOCNAME.dvi
    153     if [ $DOCNAME = ffserver-doc ] || [ $DOCNAME = ffplay-doc ] || [ $DOCNAME = ffprobe-doc ]; then \
    154         continue
    155     fi
    156     makeinfo --plaintext --force -o $DOCNAME.txt $DOCNAME.texi
    157 done &amp;&amp;
    158 cd .. &amp;&amp;
    159 unset DOCNAME</userinput></screen>
    160118
    161119    <para>If you have <xref linkend="doxygen"/> installed and wish to create
     
    163121    <command>doxygen</command>.</para>
    164122
    165     <para>If you wish to run the tests, issue: <command>make check</command> -
    166     that will take about 0.9 SBU and use another 365 MB of space.</para>
    167 
    168     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     123    <para>This package does not come with a working test suite.</para>
     124
     125    <!-- make check is currently b0rken -->
     126
     127    <para>Now, as the <systemitem class="username">root</systemitem>
     128    user:</para>
    169129
    170130<screen role="root"><userinput>make install &amp;&amp;
    171 install -v -m755 -d        /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
    172 install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
    173 texi2html --version >/dev/null 2>&amp;1 || make install-man</userinput></screen>
    174 
    175     <para>If you created additional formats of the documentation,
    176     install it by issuing the following commands as the
     131make install-man &amp;&amp;
     132mkdir /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
     133cp ../doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
     134texi2html --version &amp;&gt; /dev/null &amp;&amp;
     135cp doc/*.html /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
     136
     137    <para>If you used <command>doxygen</command> to create the API
     138    documentation, install it by issuing the following commands as the
    177139    <systemitem class="username">root</systemitem> user:</para>
    178140
    179 <screen role="root"><userinput>install -v -m644 doc/*.{html,dvi,pdf,ps} \
    180     /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
    181 
    182     <para>If you created the API documentation, install it by issuing the
    183     following commands as the
    184     <systemitem class="username">root</systemitem> user:</para>
    185 
    186 <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
     141<screen role="root"><userinput>mkdir /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
    187142cp -v doxy/*        /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen>
    188143
     
    192147    <title>Command Explanations</title>
    193148
    194     <para><parameter>sed -i 's/-number//' Makefile</parameter>: Recent versions
    195     of gnu <command>texi2html</command> error out because
    196     <command>-number</command> is now ambiguous (for number-footnote or
    197     number-sections).  Neither choice makes any difference to what is created
    198     here, and the same is true with older versions of
    199     <command>texi2html</command>, e.g. from application
    200     <application>teTeX</application>.</para>
    201 
    202     <para><parameter>--enable-shared</parameter>: This switch is needed to
     149    <para><option>--enable-shared</option>: This switch is needed to
    203150    build the shared libraries, otherwise only static libraries are built
    204151    and installed.</para>
    205152
    206     <para><parameter>--enable-pthreads</parameter>: This switch enables the
    207     build to link against the Posix threads library.</para>
    208 
    209     <para><parameter>--enable-gpl</parameter>: This switch enables the
    210     use of GPL code and permits support for postprocessing, swscale, liba54,
    211     xvid, x264, libfaad2 and x11grab to be selected.</para>
    212 
    213     <para><parameter>--enable-swscale</parameter>: This switch causes libswscale
    214     to be built.</para>
    215 
    216     <para><parameter>--enable-postprocessing</parameter>: This switch causes
    217     libpostproc to be built.</para>
    218 
    219     <para><option>--enable-<replaceable>&lt;codec&gt;</replaceable></option>: Review
    220     the available options and codecs using the
    221     <command>./configure --help</command> command. You must explicitly enable
    222     each optional codec. If you have not installed some of the recommended
    223     dependencies, do not enable those you have omitted.</para>
    224 
    225     <para><option>--disable-ffplay</option>: Only installs the server part.
    226     Use this option if <application>X</application> is not installed.</para>
    227 
    228153    <para><option>--disable-static</option>: This switch prevents the static
    229154    libraries from being built.</para>
    230155
    231     <para><command>if [ $DOCNAME = ffserver-doc ] ...</command> These three
    232     .texi files are rejected by <command>makeinfo</command> because of syntax
    233     errors.</para>
     156    <para><option>--enable-gpl</option>: This switch enables the
     157    use of GPL code and permits support for postprocessing, swscale and many
     158    other features.</para>
     159
     160    <para><option>--enable-<replaceable>&lt;codec&gt;</replaceable></option>:
     161    <application>ffmpeg</application> comes with code to compile decoders for
     162    almost every codec you could think of. The only reason to enable a specific
     163    codec (and make ffmpeg link to the prerequisite shared library installed on
     164    your system) is to make ffmpeg compile an <emphasis>encoder</emphasis> for
     165    that codec. Encoding video is a job for a specialist. If that is what you
     166    want to do, study the output of <command>configure --help</command>.
     167    Remember, the dependencies all install their own encoders that are often
     168    better than <application>ffmpeg</application>'s.
     169    <application>Ffmpeg</application> is an excellent collection of decoders.
     170    If you just want to use ffmpeg to watch video or listen to music there is
     171    no benefit from linking it to another library.</para>
     172
     173    <para><option>--disable-yasm</option>: use this option if you've not
     174    installed yasm and you want what configure describes as "a crippled
     175    build".</para>
    234176
    235177  </sect2>
     
    253195
    254196      <para>You'll find a sample ffserver configuration file at
    255       <ulink url="http://ffmpeg.sourceforge.net/sample.html"/> (also
    256       <filename>doc/ffserver.conf</filename> in the source tree).</para>
     197      <filename>doc/ffserver.conf</filename> in the source tree.</para>
    257198
    258199    </sect3>
     
    270211      <seglistitem>
    271212        <seg>ffmpeg, ffplay, ffprobe, and ffserver</seg>
    272         <seg>libavcodec.{so,a}, libavdevice.{so,a}, libavformat.{so,a},
    273         libavutil.{so,a}, libpostproc.{so,a}, and libswscale.{so,a}</seg>
    274         <seg>/usr/include/libavcodec, /usr/include/libavdevice,
    275         /usr/include/libavformat, /usr/include/libavutil, /usr/include/postproc,
    276         /usr/include/libswscale, /usr/share/ffmpeg, and
    277         /usr/share/doc/ffmpeg-&ffmpeg-version;</seg>
     213        <seg>libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so,
     214        libavutil.so, libpostproc.so, and libswscale.so</seg>
     215        <seg>/usr/include/libavcodec, /usr/include/libavdevice, 
     216        /usr/include/libavfilter, /usr/include/libavformat,
     217        /usr/include/libavutil, /usr/include/postproc, /usr/include/libswscale,
     218        /usr/share/ffmpeg, and /usr/share/doc/ffmpeg-&ffmpeg-version;</seg>
    278219      </seglistitem>
    279220    </segmentedlist>
     
    318259
    319260      <varlistentry id="libavcodec">
    320         <term><filename class='libraryfile'>libavcodec.{so,a}</filename></term>
     261        <term><filename class='libraryfile'>libavcodec.so</filename></term>
    321262        <listitem>
    322263          <para>is a library containing the <application>FFmpeg</application>
    323264          codecs (both encoding and decoding).</para>
    324265          <indexterm zone="ffmpeg libavcodec">
    325             <primary sortas="c-libavcodec">libavcodec.{so,a}</primary>
     266            <primary sortas="c-libavcodec">libavcodec.so</primary>
    326267          </indexterm>
    327268        </listitem>
     
    329270
    330271      <varlistentry id="libavdevice">
    331         <term><filename class='libraryfile'>libavdevice.{so,a}</filename></term>
     272        <term><filename class='libraryfile'>libavdevice.so</filename></term>
    332273        <listitem>
    333274          <para>is the <application>FFmpeg</application> device handling
    334275          library.</para>
    335276          <indexterm zone="ffmpeg libavdevice">
    336             <primary sortas="c-libavdevice">libavdevice.{so,a}</primary>
     277            <primary sortas="c-libavdevice">libavdevice.so</primary>
     278          </indexterm>
     279        </listitem>
     280      </varlistentry>
     281
     282      <varlistentry id="libavfilter">
     283        <term><filename class='libraryfile'>libavfilter.so</filename></term>
     284        <listitem>
     285          <para>is a library of filters that can alter video or audio between
     286          the decoder and the encoder (or output).</para>
     287          <indexterm zone="ffmpeg libavfilter">
     288            <primary sortas="c-libavfilter">libavfilter.so</primary>
    337289          </indexterm>
    338290        </listitem>
     
    340292
    341293      <varlistentry id="libavformat">
    342         <term><filename class='libraryfile'>libavformat.{so,a}</filename></term>
     294        <term><filename class='libraryfile'>libavformat.so</filename></term>
    343295        <listitem>
    344296          <para>is a library containing the file formats handling (mux and demux code
     
    346298          allowing the generation of  audio or video streams.</para>
    347299          <indexterm zone="ffmpeg libavformat">
    348             <primary sortas="c-libavformat">libavformat.{so,a}</primary>
     300            <primary sortas="c-libavformat">libavformat.so</primary>
    349301          </indexterm>
    350302        </listitem>
     
    352304
    353305      <varlistentry id="libavutil">
    354         <term><filename class='libraryfile'>libavutil.{so,a}</filename></term>
     306        <term><filename class='libraryfile'>libavutil.so</filename></term>
    355307        <listitem>
    356308          <para>is the <application>FFmpeg</application> utility library.</para>
    357309          <indexterm zone="ffmpeg libavutil">
    358             <primary sortas="c-libavutil">libavutil.{so,a}</primary>
     310            <primary sortas="c-libavutil">libavutil.so</primary>
    359311          </indexterm>
    360312        </listitem>
     
    369321      two packages)  -->
    370322      <varlistentry id="libpostproc-from-ffmpeg">
    371         <term><filename class='libraryfile'>libpostproc.{so,a}</filename></term>
     323        <term><filename class='libraryfile'>libpostproc.so</filename></term>
    372324        <listitem>
    373325          <para>is the <application>FFmpeg</application> post processing
    374326          library.</para>
    375327          <indexterm zone="ffmpeg libpostproc">
    376             <primary sortas="c-libpostproc">libpostproc.{so,a}</primary>
     328            <primary sortas="c-libpostproc">libpostproc.so</primary>
    377329          </indexterm>
    378330        </listitem>
     
    380332
    381333      <varlistentry id="libswscale">
    382         <term><filename class='libraryfile'>libswscale.{so,a}</filename></term>
     334        <term><filename class='libraryfile'>libswscale.so</filename></term>
    383335        <listitem>
    384336          <para>is the <application>FFmpeg</application> image rescaling
    385337          library.</para>
    386338          <indexterm zone="ffmpeg libswscale">
    387             <primary sortas="c-libswscale">libswscale.{so,a}</primary>
     339            <primary sortas="c-libswscale">libswscale.so</primary>
    388340          </indexterm>
    389341        </listitem>
Note: See TracChangeset for help on using the changeset viewer.