Author: cjg Date: Sun Oct 5 18:39:49 2014 New Revision: 14510 Log: Merge previous revision on ffmpeg from trunk as well.
Modified: branches/systemd/multimedia/videoutils/ffmpeg.xml Modified: branches/systemd/multimedia/videoutils/ffmpeg.xml ============================================================================== --- branches/systemd/multimedia/videoutils/ffmpeg.xml Sun Oct 5 18:37:12 2014 (r14509) +++ branches/systemd/multimedia/videoutils/ffmpeg.xml Sun Oct 5 18:39:49 2014 (r14510) @@ -6,10 +6,10 @@ <!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.bz2"> <!ENTITY ffmpeg-download-ftp " "> - <!ENTITY ffmpeg-md5sum "c36caa8d29b3677dcb7bd8c546890c9d"> + <!ENTITY ffmpeg-md5sum "9e6163b09b7b9331b834d80874c2c0ff"> <!ENTITY ffmpeg-size "7.1 MB"> - <!ENTITY ffmpeg-buildsize "130 MB (additional 870 MB for docs and 1903 MB to run the FATE tests)"> - <!ENTITY ffmpeg-time "3.5 SBU (additional 0.9 SBU for docs and 5 SBU to run the FATE tests, after sample files are downloaded)"> + <!ENTITY ffmpeg-buildsize "130 MB (additional 866 MB for docs and 1902 MB to run the FATE tests)"> + <!ENTITY ffmpeg-time "3.5 SBU (additional 1.1 SBU for docs and 4.8 SBU to run the FATE tests, after sample files are downloaded)"> ]> <sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;"> @@ -204,32 +204,11 @@ </para> <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 879 MB - of sample files used to run FATE are downloaded with the command: - </para> - -<screen><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen> - - <para> - The <filename class="directory">fate-suite</filename> directory is - created and the files are downloaded there. That command actually runs - <command>rsync -vrltLW --timeout=60 --contimeout=60 rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</command> - command, thus you may want to compress and keep this directory for - testing again, in another system, or when a new version of ffmpeg is - launched. Then, you unpack the sample files in the source directory, and - run, again, the <command>make</command> command above, to sync with the - repository. Now, the download size and time are drastically reduced. - Estimated values in "Package Information" do not include the download - SBU. Next, FATE is executed, with the commands (you obtain a number of - tests greater than 2000): + The fate-suite tests include comparisons with installed files, and should + not be run before the package is installed. Therefore, if you desire to + run them, instructions are given further below. </para> -<screen><userinput>make fate SAMPLES=fate-suite/ | tee ../fate.log && -grep ^TEST ../fate.log | wc -l</userinput></screen> - <para> Now, as the <systemitem class="username">root</systemitem> user: </para> @@ -245,9 +224,9 @@ install them: </para> -<screen role="root"><userinput>install -v -m644 doc/*. pdf \ +<screen role="root"><userinput>install -v -m644 doc/*.pdf \ /usr/share/doc/ffmpeg-&ffmpeg-version; && -install -v -m644 doc/*.ps \ +install -v -m644 doc/*.ps \ /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> <para> @@ -261,6 +240,34 @@ find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 "{}" ";" && 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 879 MB of sample files used to + run FATE are downloaded with the command: + </para> + +<screen><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen> + + <para> + The <filename class="directory">fate-suite</filename> directory is + created and the files are downloaded there. That command actually runs + <command>rsync -vrltLW --timeout=60 --contimeout=60 + rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</command> command, + thus you may want to compress and keep this directory for testing again, + in another system, or when a new version of ffmpeg is launched. Then, you + unpack the sample files in the source directory, and run, again, the + <command>make</command> command above, to sync with the repository. Now, + the download size and time are drastically reduced. Estimated values in + "Package Information" do not include the download SBU. Next, FATE is + executed, with the commands (you obtain a number of tests greater than + 2000): + </para> + +<screen><userinput>make fate SAMPLES=fate-suite/ | tee ../fate.log && +grep ^TEST ../fate.log | wc -l</userinput></screen> + </sect2> <sect2 role="commands"> @@ -284,6 +291,11 @@ </para> <para> + <option>--enable-libfreetype</option>: Enables + <application>Freetype</application> support. + </para> + + <para> <parameter>--enable-gpl</parameter>: Enables the use of GPL code and permits support for postprocessing, swscale and many other features. </para> @@ -294,17 +306,16 @@ </para> <para> - <parameter>--enable-nonfree</parameter>: Enables the use of nonfree - code. Note that the resulting libraries and binaries will be - unredistributable. + <parameter>--enable-nonfree</parameter>: Enables the use of nonfree code. + Note that the resulting libraries and binaries will be unredistributable. </para> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../xincludes/static-libraries.xml"/> <para> - <parameter>--enable-shared</parameter>: Enables building shared libraries, - otherwise only static libraries are built and installed. + <parameter>--enable-shared</parameter>: Enables building shared + libraries, otherwise only static libraries are built and installed. </para> <para> @@ -324,8 +335,8 @@ </para> <para> - <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding via - <filename class="libraryfile">libmp3lame</filename>. + <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding + via <filename class="libraryfile">libmp3lame</filename>. </para> <para> @@ -344,7 +355,7 @@ <para> <parameter>--enable-libx264</parameter>: Enables high-quality H.264/MPEG-4 AVC encoding via <filename - class="libraryfile">libx264</filename>. + class="libraryfile">libx264</filename>.A </para> <para> @@ -352,13 +363,13 @@ </para> <para> - <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>: - This builds the <command>qt-faststart</command> program which can - modify QuickTime formatted movies - (<filename class="extension">.mov</filename> or - <filename class="extension">.mp4</filename>) so that the header information - is located at the beginning of the file instead of the end. This allows - the movie file to begin playing before the entire file has been downloaded. + <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>: This + builds the <command>qt-faststart</command> program which can modify + QuickTime formatted movies (<filename class="extension">.mov</filename> + or <filename class="extension">.mp4</filename>) so that the header + information is located at the beginning of the file instead of the end. + This allows the movie file to begin playing before the entire file has + been downloaded. </para> <note> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
