Update to ffmpeg-2.6.2.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15825 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Fernando de Oliveira 2015-04-12 21:41:17 +00:00
parent b9f3ff5c90
commit 70f1af0e66
3 changed files with 35 additions and 17 deletions

View File

@ -44,6 +44,16 @@
-->
<listitem>
<para>April 12th, 2015</para>
<itemizedlist>
<listitem>
<para>[fernando] - Update to ffmpeg-2.6.2. Fixes
<ulink url="&blfs-ticket-root;6389">#6389</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>April 11th, 2015</para>
<itemizedlist>

View File

@ -6,10 +6,12 @@
<!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.bz2">
<!ENTITY ffmpeg-download-ftp " ">
<!ENTITY ffmpeg-md5sum "62b5a37525fdf79aedd4a51a64793ed7">
<!ENTITY ffmpeg-size "7.4 MB">
<!ENTITY ffmpeg-buildsize "0.1 GB">
<!ENTITY ffmpeg-time "3.6 SBU">
<!ENTITY ffmpeg-md5sum "e75d598921285d6775f20164a91936ac">
<!ENTITY ffmpeg-size "7.5 MB">
<!ENTITY ffmpeg-buildsize "140 MB (additional 872 MB for docs and 2375 MB to run the FATE suite)">
<!ENTITY ffmpeg-time "1.0 SBU (using parallelism=4, about 3.4 SBU
with one core); additional 0.6 SBU for docs and 3.6 SBU to run the FATE
suite, after sample files are downloaded">
]>
<sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
@ -134,7 +136,8 @@
<ulink url="http://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>,
<ulink url="http://opencv.org/">OpenCV</ulink>,
<ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
<ulink url="http://diracvideo.org/">Schroedinger</ulink>,
<!-- <ulink url="http://diracvideo.org/">Schroedinger</ulink>,-->
<ulink url="https://launchpad.net/schroedinger/">Schroedinger</ulink>,
<xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) for PDF and PS documentation,
<ulink url="http://www.twolame.org/">TwoLAME</ulink>,
<ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>,
@ -166,6 +169,7 @@
</para>
<screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure &amp;&amp;
./configure --prefix=/usr \
--enable-gpl \
--enable-version3 \
@ -184,7 +188,9 @@
--enable-libx264 \
--enable-x11grab \
--docdir=/usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
make &amp;&amp;
gcc tools/qt-faststart.c -o tools/qt-faststart</userinput></screen>
<!--
unset LIBRARY_PATH</userinput></screen>-->
@ -203,10 +209,11 @@ for DOCNAME in `basename -s .html *.html`
do
texi2pdf -b $DOCNAME.texi &amp;&amp;
texi2dvi -b $DOCNAME.texi &amp;&amp;
dvips -o $DOCNAME.ps \
dvips -o $DOCNAME.ps \
$DOCNAME.dvi
done &amp;&amp;
popd &amp;&amp;
done &amp;&amp;
popd &amp;&amp;
unset DOCNAME</userinput></screen>
<para>
@ -226,6 +233,7 @@ unset DOCNAME</userinput></screen>
</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 tools/qt-faststart /usr/bin &amp;&amp;
install -v -m644 doc/*.txt \
/usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
@ -247,16 +255,16 @@ install -v -m644 doc/*.ps \
as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 "{}" ";" &amp;&amp;
find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 "{}" ";"</userinput></screen>
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; &amp;&amp;
find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen>
<para>
To properly test the installation you must have <xref linkend="rsync"/>
installed and follow the instructions for the <ulink
url="http://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing
Environment</ulink> (FATE). First, about 882 MB of sample files used to
Environment</ulink> (FATE). First, about 921 MB of sample files used to
run FATE are downloaded with the command:
</para>
@ -273,8 +281,8 @@ find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 "{}"
download size and time are drastically reduced. Estimated values in
"Package Information" do not include the download SBU. Some samples may
have been removed, in the new version, so, in order to be sure local and
server fate samples are identical, when you use previous samples, run the
following command:
server fate samples are identical, when you use previously saved samples,
run the following command:
</para>
<screen><userinput><command>rsync -vrltLW --delete --timeout=60 --contimeout=60 \
@ -306,7 +314,7 @@ grep ^TEST ../fate.log | wc -l</userinput></screen>
</para>
<para>
<command>find ... ";"</command>: Fix permissions of documentation files
<command>find ... ;</command>: Fix permissions of documentation files
and directories.
</para>

View File

@ -700,7 +700,7 @@
<!ENTITY pnmixer-version "0.5.1">
<!-- Chapter 40 -->
<!ENTITY ffmpeg-version "2.6.1">
<!ENTITY ffmpeg-version "2.6.2">
<!ENTITY mplayer-version "2015-02-20">
<!ENTITY xine-ui-version "0.99.9">
<!ENTITY transcode-version "1.1.7">