Changeset 9e5b78b
- Timestamp:
- 11/25/2011 01:26:46 AM (12 years ago)
- 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
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rdb1d3ee r9e5b78b 864 864 865 865 <!-- Chapter 40 --> 866 <!ENTITY ffmpeg-version "0. 6.1">866 <!ENTITY ffmpeg-version "0.8.6"> 867 867 <!ENTITY avifile-version "0.7.45"> 868 868 <!ENTITY mplayer-version "1.0rc1"> -
introduction/welcome/changelog.xml
rdb1d3ee r9e5b78b 43 43 --> 44 44 <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> 45 54 <para>November 24th, 2011</para> 46 55 <itemizedlist> -
multimedia/videoutils/ffmpeg.xml
rdb1d3ee r9e5b78b 7 7 <!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.bz2"> 8 8 <!ENTITY ffmpeg-download-ftp " "> 9 <!ENTITY ffmpeg-md5sum " 4f5d732d25eedfb072251b5314ba2093">10 <!ENTITY ffmpeg-size " 3.5MB">11 <!ENTITY ffmpeg-buildsize " 328 MB (built with recommended dependencies)">12 <!ENTITY ffmpeg-time "2. 1SBU">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"> 13 13 ]> 14 14 … … 31 31 32 32 <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 can34 also acquire from a live audio/video source. Designed to be intuitive, the35 command-line interface (<command>ffmpeg</command>) tries to figure out all the36 parameters, when possible. <application>FFmpeg</application> can also convert37 from any sample rate to any other, and resize video on the fly with a high38 quality polyphase filter. <application>FFmpeg</application> can use a39 video4linux compatible video source and any Open Sound System audio33 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 40 40 source.</para> 41 41 42 <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 must43 expect the acceptable <command>configure</command> switches, and the43 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 44 45 dependencies, to change.</para> 45 46 46 &lfs 67_checked;47 &lfs70_checked; 47 48 48 49 <bridgehead renderas="sect3">Package Information</bridgehead> … … 68 69 </itemizedlist> 69 70 70 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>71 <itemizedlist spacing="compact">72 <listitem>73 <para>Required patch: <ulink74 url="&patch-root;/ffmpeg-&ffmpeg-version;-gcc4-1.patch"/></para>75 </listitem>76 <listitem>77 <para>Required patch: <ulink78 url="&patch-root;/ffmpeg-&ffmpeg-version;-amr_fixes-1.patch"/></para>79 </listitem>80 </itemizedlist> -->81 82 71 <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead> 83 72 84 73 <bridgehead renderas="sect4">Recommended</bridgehead> 85 74 <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"/>, 92 82 <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>, 101 88 <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>, 106 91 <xref linkend="liba52"/>, 107 92 <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), 109 95 <ulink url="http://sourceforge.net/projects/librtmp">librtmp</ulink>, 110 96 <ulink url="http://diracvideo.org/">libschroedinger</ulink>, 111 97 <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 117 102 <ulink url="http://www.nongnu.org/texi2html">texi2html</ulink> 118 (to build HTML documentation)</para>103 (to build HTML documentation).</para> 119 104 120 105 <para condition="html" role="usernotes">User Notes: … … 129 114 commands:</para> 130 115 131 <screen><userinput>sed -i 's/-number//' Makefile && 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 && 116 <screen><userinput>./configure --prefix=/usr --enable-shared --disable-static --enable-gpl && 139 117 make</userinput></screen> 140 141 <para>If you have <application>teTeX</application> or142 <application>texi2html</application> installed, the HTML143 documentation was built during the <command>make</command> process. If you144 wish to create additional formats of the documentation, you must have145 <application>teTeX</application> or <xref linkend="texlive"/> installed,146 and issue the following commands:</para>147 148 <screen><userinput>cd doc &&149 for DOCNAME in faq ffmpeg-doc ffplay-doc ffprobe-doc ffserver-doc general libavfilter; do150 texi2dvi -b -p $DOCNAME.texi151 texi2dvi -b $DOCNAME.texi152 dvips -o $DOCNAME.ps $DOCNAME.dvi153 if [ $DOCNAME = ffserver-doc ] || [ $DOCNAME = ffplay-doc ] || [ $DOCNAME = ffprobe-doc ]; then \154 continue155 fi156 makeinfo --plaintext --force -o $DOCNAME.txt $DOCNAME.texi157 done &&158 cd .. &&159 unset DOCNAME</userinput></screen>160 118 161 119 <para>If you have <xref linkend="doxygen"/> installed and wish to create … … 163 121 <command>doxygen</command>.</para> 164 122 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> 169 129 170 130 <screen role="root"><userinput>make install && 171 install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; && 172 install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version; && 173 texi2html --version >/dev/null 2>&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 131 make install-man && 132 mkdir /usr/share/doc/ffmpeg-&ffmpeg-version; && 133 cp ../doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version; && 134 texi2html --version &> /dev/null && 135 cp 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 177 139 <systemitem class="username">root</systemitem> user:</para> 178 140 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 && 141 <screen role="root"><userinput>mkdir /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 187 142 cp -v doxy/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen> 188 143 … … 192 147 <title>Command Explanations</title> 193 148 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 203 150 build the shared libraries, otherwise only static libraries are built 204 151 and installed.</para> 205 152 206 <para><parameter>--enable-pthreads</parameter>: This switch enables the207 build to link against the Posix threads library.</para>208 209 <para><parameter>--enable-gpl</parameter>: This switch enables the210 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 libswscale214 to be built.</para>215 216 <para><parameter>--enable-postprocessing</parameter>: This switch causes217 libpostproc to be built.</para>218 219 <para><option>--enable-<replaceable><codec></replaceable></option>: Review220 the available options and codecs using the221 <command>./configure --help</command> command. You must explicitly enable222 each optional codec. If you have not installed some of the recommended223 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 228 153 <para><option>--disable-static</option>: This switch prevents the static 229 154 libraries from being built.</para> 230 155 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><codec></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> 234 176 235 177 </sect2> … … 253 195 254 196 <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> 257 198 258 199 </sect3> … … 270 211 <seglistitem> 271 212 <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/libavf ormat, /usr/include/libavutil, /usr/include/postproc,276 /usr/include/lib swscale, /usr/share/ffmpeg, and277 /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> 278 219 </seglistitem> 279 220 </segmentedlist> … … 318 259 319 260 <varlistentry id="libavcodec"> 320 <term><filename class='libraryfile'>libavcodec. {so,a}</filename></term>261 <term><filename class='libraryfile'>libavcodec.so</filename></term> 321 262 <listitem> 322 263 <para>is a library containing the <application>FFmpeg</application> 323 264 codecs (both encoding and decoding).</para> 324 265 <indexterm zone="ffmpeg libavcodec"> 325 <primary sortas="c-libavcodec">libavcodec. {so,a}</primary>266 <primary sortas="c-libavcodec">libavcodec.so</primary> 326 267 </indexterm> 327 268 </listitem> … … 329 270 330 271 <varlistentry id="libavdevice"> 331 <term><filename class='libraryfile'>libavdevice. {so,a}</filename></term>272 <term><filename class='libraryfile'>libavdevice.so</filename></term> 332 273 <listitem> 333 274 <para>is the <application>FFmpeg</application> device handling 334 275 library.</para> 335 276 <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> 337 289 </indexterm> 338 290 </listitem> … … 340 292 341 293 <varlistentry id="libavformat"> 342 <term><filename class='libraryfile'>libavformat. {so,a}</filename></term>294 <term><filename class='libraryfile'>libavformat.so</filename></term> 343 295 <listitem> 344 296 <para>is a library containing the file formats handling (mux and demux code … … 346 298 allowing the generation of audio or video streams.</para> 347 299 <indexterm zone="ffmpeg libavformat"> 348 <primary sortas="c-libavformat">libavformat. {so,a}</primary>300 <primary sortas="c-libavformat">libavformat.so</primary> 349 301 </indexterm> 350 302 </listitem> … … 352 304 353 305 <varlistentry id="libavutil"> 354 <term><filename class='libraryfile'>libavutil. {so,a}</filename></term>306 <term><filename class='libraryfile'>libavutil.so</filename></term> 355 307 <listitem> 356 308 <para>is the <application>FFmpeg</application> utility library.</para> 357 309 <indexterm zone="ffmpeg libavutil"> 358 <primary sortas="c-libavutil">libavutil. {so,a}</primary>310 <primary sortas="c-libavutil">libavutil.so</primary> 359 311 </indexterm> 360 312 </listitem> … … 369 321 two packages) --> 370 322 <varlistentry id="libpostproc-from-ffmpeg"> 371 <term><filename class='libraryfile'>libpostproc. {so,a}</filename></term>323 <term><filename class='libraryfile'>libpostproc.so</filename></term> 372 324 <listitem> 373 325 <para>is the <application>FFmpeg</application> post processing 374 326 library.</para> 375 327 <indexterm zone="ffmpeg libpostproc"> 376 <primary sortas="c-libpostproc">libpostproc. {so,a}</primary>328 <primary sortas="c-libpostproc">libpostproc.so</primary> 377 329 </indexterm> 378 330 </listitem> … … 380 332 381 333 <varlistentry id="libswscale"> 382 <term><filename class='libraryfile'>libswscale. {so,a}</filename></term>334 <term><filename class='libraryfile'>libswscale.so</filename></term> 383 335 <listitem> 384 336 <para>is the <application>FFmpeg</application> image rescaling 385 337 library.</para> 386 338 <indexterm zone="ffmpeg libswscale"> 387 <primary sortas="c-libswscale">libswscale. {so,a}</primary>339 <primary sortas="c-libswscale">libswscale.so</primary> 388 340 </indexterm> 389 341 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.