source: multimedia/videoutils/ffmpeg.xml@ 1ef28cd2

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 1ef28cd2 was f6503c73, checked in by Douglas R. Reno <renodr@…>, 15 months ago

Add libaom to the book in support of libavif.

Tested with VLC, Parole, and ffmpeg.

  • Property mode set to 100644
File size: 25.8 KB
RevLine 
[8a1e4f4]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[01062dd]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[560e14cf]6
[c6b192c]7 <!ENTITY ffmpeg-download-http "https://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.xz">
[01062dd]8 <!ENTITY ffmpeg-download-ftp " ">
[4a3c628]9 <!ENTITY ffmpeg-md5sum "47b6c5d930937413c3e308e2fdb3dfb5">
10 <!ENTITY ffmpeg-size "9.8 MB">
11 <!ENTITY ffmpeg-buildsize "187 MB (add 1.5 GB for the FATE suite/tests, add 786 MB for documentation)">
12 <!ENTITY ffmpeg-time "1.3 SBU (using parallelism=4; add 3.2 SBU (with THREADS=4) to run the FATE suite after sample files are downloaded; add 0.3 SBU for doxygen docs)">
[01062dd]13]>
14
[0b5a693]15<sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
[8a1e4f4]16 <?dbhtml filename="ffmpeg.html"?>
17
18
19 <title>FFmpeg-&ffmpeg-version;</title>
20
21 <indexterm zone="ffmpeg">
22 <primary sortas="a-FFmpeg">FFmpeg</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to FFmpeg</title>
27
[faec3f7]28 <para>
29 <application>FFmpeg</application> is a solution to record, convert and
30 stream audio and video. It is a very fast video and audio converter and it
31 can also acquire from a live audio/video source. Designed to be intuitive,
32 the command-line interface (<command>ffmpeg</command>) tries to figure out
33 all the parameters, when possible. <application>FFmpeg</application> can
34 also convert from any sample rate to any other, and resize video on the
35 fly with a high quality polyphase filter.
[a161de9]36 <application>FFmpeg</application> can use a Video4Linux compatible video
[faec3f7]37 source and any Open Sound System audio source.
38 </para>
[9e5b78b]39
[dc1a45e]40 &lfs113_checked;
[8a1e4f4]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[ffd1fcc]45 <para>
46 Download (HTTP): <ulink url="&ffmpeg-download-http;"/>
47 </para>
[8a1e4f4]48 </listitem>
49 <listitem>
[ffd1fcc]50 <para>
51 Download (FTP): <ulink url="&ffmpeg-download-ftp;"/>
52 </para>
[8a1e4f4]53 </listitem>
54 <listitem>
[ffd1fcc]55 <para>
56 Download MD5 sum: &ffmpeg-md5sum;
57 </para>
[8a1e4f4]58 </listitem>
59 <listitem>
[ffd1fcc]60 <para>
61 Download size: &ffmpeg-size;
62 </para>
[8a1e4f4]63 </listitem>
64 <listitem>
[ffd1fcc]65 <para>
66 Estimated disk space required: &ffmpeg-buildsize;
67 </para>
[8a1e4f4]68 </listitem>
69 <listitem>
[ffd1fcc]70 <para>
71 Estimated build time: &ffmpeg-time;
72 </para>
[8a1e4f4]73 </listitem>
74 </itemizedlist>
75
[69b7d08]76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
[bf716e1]81 <ulink url="&patch-root;/ffmpeg-&ffmpeg-version;-chromium_method-1.patch"/>
[69b7d08]82 </para>
83 </listitem>
84 </itemizedlist>
85
[f29d6ee]86 <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
[8a1e4f4]87
[28cd5ce]88 <bridgehead renderas="sect4">Recommended</bridgehead>
[aaa3ccd]89 <para role="recommended">
[f6503c73]90 <xref linkend="libaom"/>,
[89d37eb8]91 <xref linkend="libass"/>,
92 <xref linkend="fdk-aac"/>,
[a525ccb]93 <xref linkend="freetype2"/>,
[efcf979]94 <xref linkend="lame"/>,
[baf1e23]95 <xref linkend="libtheora"/>,
[efcf979]96 <xref linkend="libvorbis"/>,
[a525ccb]97 <xref linkend="libvpx"/>,
[287a07e]98 <xref linkend="opus"/>,
[1fa4314]99 <xref linkend="x264"/>,
100 <xref linkend="x265"/>, and
[34bcb5ec]101 <xref linkend="nasm"/> or <xref linkend="yasm"/>
[457568e]102 </para>
103
[89d37eb8]104 <bridgehead renderas="sect4">Recommended for desktop use</bridgehead>
[7e1afc9]105 <para role="recommended">
[89d37eb8]106 <xref linkend="alsa-lib"/>,
[287a07e]107 <xref linkend="libva"/>,
108 <xref linkend="libvdpau"/> (with the corresponding driver package), and
[bc228ec]109 <xref linkend="sdl2"/>
[07584d8]110 </para>
111
[457568e]112 <bridgehead renderas="sect4">Optional</bridgehead>
113 <para role="optional">
[a4c3c48]114 <xref linkend="doxygen"/>,
[287a07e]115 <xref linkend="fontconfig"/>,
[a516869]116 <xref linkend="fribidi"/>,
[60d53ec3]117 <xref linkend="frei0r"/>,
[287a07e]118 <xref linkend="libcdio"/> (to identify and play CDs),
[a5dfb970]119 <xref linkend="libdrm"/> (for <quote>kmsgrab</quote> input),
[2f0f7a0]120 <xref linkend="libwebp"/>,
[60d53ec3]121 <xref linkend="opencv"/>,
[0fd465f5]122 <xref linkend="openjpeg2"/>,
[80d4245]123 <xref linkend="gnutls"/>,
[287a07e]124 <xref linkend="pulseaudio"/>,
[a516869]125 <xref linkend="samba"/>,
[287a07e]126 <xref linkend="speex"/>,
[f3429309]127 <xref linkend="texlive"/>
[60d53ec3]128 (or <xref linkend="tl-installer"/>) for PDF and PS documentation,
[80dbc4c8]129 <xref linkend="v4l-utils"/>,
[287a07e]130 <xref linkend="xvid"/>,
131 <xref linkend="x-window-system"/>,
[69b7d08]132 <ulink url="https://github.com/festvox/flite">Flite</ulink>,
[75b1a338]133 <ulink url="https://www.quut.com/gsm/">GSM</ulink>,
[d27242d4]134 <!--<ulink url="http://xhevc.com/en/hevc/decoder/download.jsp">HEVC/H.265</ulink>,-->
[20f09631]135 <!--<ulink url="http://www.ladspa.org/">LADSPA</ulink>,-->
[75b1a338]136 <ulink url="https://tipok.org.ua/node/17">libaacplus</ulink>,
137 <ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
138 <ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
[93c17b90]139 <ulink url="https://gitlab.xiph.org/xiph/celt">libcelt</ulink>,
[c6b192c]140 <ulink url="https://sourceforge.net/projects/libdc1394">libdc1394</ulink>,
[287a07e]141 <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
[a161de9]142 <ulink url="https://ieee1394.wiki.kernel.org/index.php/Libraries">libiec61883</ulink>,
143 <ulink url="https://github.com/dekkers/libilbc">libilbc</ulink>,
[c6b192c]144 <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
[a754ee2b]145 <ulink url="https://github.com/Distrotech/libnut">libnut</ulink> (Git checkout),
[75b1a338]146 <ulink url="https://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
147 <ulink url="https://www.libssh.org/">libssh</ulink>,
[17aa21c]148 <!--<ulink url="https://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout),-->
[a4c3c48]149 <ulink url="https://openal.org/">OpenAL</ulink>,
[c6b192c]150 <ulink url="https://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>,
[4e207bb]151 <ulink url="https://github.com/Haivision/srt">Srt</ulink>,
[c6b192c]152 <ulink url="https://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
[75b1a338]153 <ulink url="https://www.twolame.org/">TwoLAME</ulink>,
[c6b192c]154 <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>,
155 <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>, and
[20f09631]156 <!--<ulink url="http://www.videolan.org/developers/x265.html">x265 (H.265/MPEG-H HEVC)</ulink>, and-->
[17aa21c]157 <ulink url="https://zapping.sourceforge.net/ZVBI/">ZVBI</ulink>
[ffd1fcc]158 </para>
[8a1e4f4]159
[faec3f7]160 <para condition="html" role="usernotes">
161 User Notes: <ulink url="&blfs-wiki;/ffmpeg"/>
162 </para>
[8a1e4f4]163 </sect2>
164
165 <sect2 role="installation">
166 <title>Installation of FFmpeg</title>
167
[bef1a58]168 <note>
169 <para>
170 Some harmless warnings may be output by the build process regarding
[912b324]171 the HTML documentation. This is due to an incompatibility with
[bef1a58]172 Texinfo-7.0 and higher.
173 </para>
174 </note>
175
[69b7d08]176 <para>
177 First, apply a patch that adds an API necessary for some packages to
178 build:
179 <!-- qtwebengine -->
180 </para>
181
[bf716e1]182<screen><userinput remap="pre">patch -Np1 -i ../ffmpeg-&ffmpeg-version;-chromium_method-1.patch</userinput></screen>
[69b7d08]183
[faec3f7]184 <para>
185 Install <application>FFmpeg</application> by running the following
186 commands:
187 </para>
[8a1e4f4]188
[4a3c628]189<!--<screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure &amp;&amp;-->
190<screen><userinput>./configure --prefix=/usr \
[eb32964]191 --enable-gpl \
192 --enable-version3 \
193 --enable-nonfree \
194 --disable-static \
195 --enable-shared \
196 --disable-debug \
[f6503c73]197 --enable-libaom \
[eb32964]198 --enable-libass \
199 --enable-libfdk-aac \
[a525ccb]200 --enable-libfreetype \
[eb32964]201 --enable-libmp3lame \
202 --enable-libopus \
203 --enable-libtheora \
204 --enable-libvorbis \
205 --enable-libvpx \
206 --enable-libx264 \
[1fa4314]207 --enable-libx265 \
[a516869]208 --enable-openssl \
[791213b]209 --docdir=/usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
[70f1af0]210
[a161de9]211make &amp;&amp;
[70f1af0]212
[0ee2aa3]213gcc tools/qt-faststart.c -o tools/qt-faststart</userinput></screen>
[28cd5ce]214
[a161de9]215 <para>
[791213b]216 HTML documentation was built in the previous step. If you have
[a161de9]217 <xref linkend="texlive"/> installed and wish to build PDF and
218 Postscript versions of the documentation, issue the following commands:
219 </para>
[fcd201bd]220
[ba1ccf6]221<!-- sed -i '$s/$/\n\n@bye/' doc/{git-howto,nut,fate}.texi &amp;&amp;
222sed -i '/machine:i386/ s/\\/@backslashchar{}/g' doc/platform.texi &amp;&amp; -->
[a42c273]223<screen remap="doc"><userinput>pushd doc &amp;&amp;
[a161de9]224for DOCNAME in `basename -s .html *.html`
225do
226 texi2pdf -b $DOCNAME.texi &amp;&amp;
227 texi2dvi -b $DOCNAME.texi &amp;&amp;
[70f1af0]228
229 dvips -o $DOCNAME.ps \
[42160e7]230 $DOCNAME.dvi
[70f1af0]231done &amp;&amp;
232popd &amp;&amp;
[a161de9]233unset DOCNAME</userinput></screen>
[c08bd877]234
[faec3f7]235 <para>
[8558044]236 If you have <xref linkend="doxygen"/> installed
[38290b4]237 and you wish to build (if --disable-doc was
[a42c273]238 used) or rebuild the html documentation, issue:
[faec3f7]239 </para>
[8a1e4f4]240
[a42c273]241<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
242
[a161de9]243 <para>
[dc29e3ac]244 The fate-suite tests include comparisons with installed files, and should
245 not be run before the package is installed. Therefore, if you desire to
246 run them, instructions are given further below.
[a161de9]247 </para>
[8a1e4f4]248
[a161de9]249 <para>
250 Now, as the <systemitem class="username">root</systemitem> user:
251 </para>
[457568e]252
[a161de9]253<screen role="root"><userinput>make install &amp;&amp;
[70f1af0]254
[a161de9]255install -v -m755 tools/qt-faststart /usr/bin &amp;&amp;
[8e848de9]256install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
[0e29df6]257install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
[9e5b78b]258
[faec3f7]259 <para>
[17b685f1]260 If the PDF and Postscript documentation was built, issue the following
[791213b]261 commands, as the <systemitem class="username">root</systemitem> user, to
262 install them:
[faec3f7]263 </para>
[fd7e0ed6]264
[a42c273]265<screen role="root"
266 remap="doc"><userinput>install -v -m644 doc/*.pdf /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
[0e29df6]267install -v -m644 doc/*.ps /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
[c08bd877]268
[faec3f7]269 <para>
[8558044]270 If you used <command>doxygen</command> to manually create the API
[38290b4]271 documentation, install it by issuing the following commands
[a161de9]272 as the <systemitem class="username">root</systemitem> user:
[faec3f7]273 </para>
[c08bd877]274
[a42c273]275<screen role="root"
276 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
[70f1af0]277cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
278find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; &amp;&amp;
279find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen>
[ffd1fcc]280
[dc29e3ac]281 <para>
282 To properly test the installation you must have <xref linkend="rsync"/>
283 installed and follow the instructions for the <ulink
[75b1a338]284 url="https://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing
[7e1afc9]285 Environment</ulink> (FATE). First, about 1 GB of sample files used to
[dc29e3ac]286 run FATE are downloaded with the command:
287 </para>
288
[a42c273]289<screen remap="test"><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen>
[dc29e3ac]290
291 <para>
292 The <filename class="directory">fate-suite</filename> directory is
[2adbd3da]293 created and the files are downloaded there. That command actually runs an
[e200fb6]294 rsync command to obtain the sample files. You may want to compress and
295 keep this directory for testing again, for testing in another system,
296 or for when a new version of ffmpeg is released. Then, unpack the sample
297 files in the source directory, and run the <command>make fate-rsync
298 ...</command> command above to sync with the upstream repository. The
299 download size and time are drastically reduced by doing this. Estimated
300 values in "Package Information" do not include the download SBU. Some
301 samples may have been removed in newer versions, so in order to be sure
302 local and server fate samples are identical when you use previously
303 saved samples, run the following command:
[2adbd3da]304 </para>
305
[2f3e3de9]306<screen role="nodump"><userinput>rsync -vrltLW --delete --timeout=60 --contimeout=60 \
307 rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</userinput></screen>
[f3429309]308
[2adbd3da]309 <para>
[e200fb6]310 Next, execute FATE with the following commands (there are more than 3800
311 tests in the suite):
[dc29e3ac]312 </para>
313
[a42c273]314<screen remap="test"><userinput>make fate THREADS=<replaceable>N</replaceable> SAMPLES=fate-suite/ | tee ../fate.log &amp;&amp;
[dc29e3ac]315grep ^TEST ../fate.log | wc -l</userinput></screen>
[f3429309]316
[06da9a6]317 <para>
318 where <replaceable>N</replaceable> is an integer,
[c840bd37]319 <replaceable>N</replaceable> &le; number of cores in the system.
[e200fb6]320 </para>
321
322 <para>
323 A successful run should return no errors or warnings, just a list of tests
324 and total amount at the end.
325 </para>
[dc29e3ac]326
[8a1e4f4]327 </sect2>
328
329 <sect2 role="commands">
330 <title>Command Explanations</title>
331
[faec3f7]332 <para>
[43a3a17]333 <command>sed -i ... configure</command>: This command adds the
[a161de9]334 <application>ALSA</application> library to the
335 <application>Flite</application> <envar>LDFLAGS</envar> variable and
336 enables the discovery of <application>Flite</application>.
337 </para>
338
[43a3a17]339 <para>
[a4c3c48]340 <command>find ... ;</command>: Fixes permissions of documentation files
[43a3a17]341 and directories.
342 </para>
343
[05bb3720]344 <para>
[1a518e97]345 <parameter>--enable-libfreetype</parameter>: Enables
[05bb3720]346 <application>Freetype</application> support.
347 </para>
348
[a161de9]349 <para>
350 <parameter>--enable-gpl</parameter>: Enables the use of GPL code and
[baf1e23]351 permits support for postprocessing, swscale and many other features.
[faec3f7]352 </para>
353
354 <para>
[a161de9]355 <parameter>--enable-version3</parameter>: Enables the use of (L)GPL
356 version 3 code.
357 </para>
358
359 <para>
[dc29e3ac]360 <parameter>--enable-nonfree</parameter>: Enables the use of nonfree code.
361 Note that the resulting libraries and binaries will be unredistributable.
[faec3f7]362 </para>
[8a1e4f4]363
[baf1e23]364 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
365 href="../../xincludes/static-libraries.xml"/>
366
[a161de9]367 <para>
[dc29e3ac]368 <parameter>--enable-shared</parameter>: Enables building shared
369 libraries, otherwise only static libraries are built and installed.
[a161de9]370 </para>
371
372 <para>
[89d37eb8]373 <parameter>--disable-debug</parameter>: Disables building debugging
374 symbols into the programs and libraries.
[a161de9]375 </para>
376
[69b7d08]377 <!-- Library was removed in 5.0.1
[12ebd0e]378 <para>
[69b7d08]379 <parameter>- -enable-avresample</parameter>: Enables
[12ebd0e]380 <xref linkend="transcode"/> to be compiled.
381 </para>
[69b7d08]382 -->
[12ebd0e]383
[f6503c73]384 <para>
385 <parameter>--enable-libaom</parameter>: Enables AV1 audio and video
386 decoding via <filename class="libraryfile">libaom</filename>.
387 </para>
388
[a161de9]389 <para>
[89d37eb8]390 <parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
[c0fce1d]391 rendering via <filename class="libraryfile">libass</filename>.
[a161de9]392 </para>
393
[a5dfb970]394 <para>
[8558044]395 <option>--enable-libdrm</option>: Use this switch if
[2597ad1]396 <xref linkend="libdrm"/> is installed to build the <quote>kmsgrab</quote>
397 input module which is useful for screen capturing or streaming.
[a5dfb970]398 </para>
399
[a161de9]400 <para>
[e200fb6]401 <parameter>--enable-libfdk-aac</parameter>: Enables AAC audio encoding via
402 <filename class="libraryfile">libfdk-aac</filename>.
[a161de9]403 </para>
404
405 <para>
[dc29e3ac]406 <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding
407 via <filename class="libraryfile">libmp3lame</filename>.
[a161de9]408 </para>
409
410 <para>
[c012c1a]411 <parameter>--enable-libvorbis --enable-libtheora</parameter>: Enables
412 Theora video encoding via <filename
413 class="libraryfile">libvorbis</filename> and <filename
414 class="libraryfile">libtheora</filename>.
[a161de9]415 </para>
416
417 <para>
[c012c1a]418 <parameter>--enable-libvorbis --enable-libvpx</parameter>: Enables WebM
419 encoding via <filename class="libraryfile">libvorbis</filename> and
420 <filename class="libraryfile">libvpx</filename>.
[a161de9]421 </para>
422
423 <para>
[dc29e3ac]424 <parameter>--enable-libx264</parameter>: Enables high-quality
425 H.264/MPEG-4 AVC encoding via <filename
[118613f8]426 class="libraryfile">libx264</filename>.
[a161de9]427 </para>
428
[1fa4314]429 <para>
430 <parameter>--enable-libx265</parameter>: Enables high-quality
431 H.265/HEVC encoding via <filename
432 class="libraryfile">libx265</filename>.
433 </para>
434
[ea8738a]435 <para>
[a516869]436 <parameter>--enable-openssl</parameter>:
[ea8738a]437 Enables HTTPS protocol for network streams.
438 </para>
439
[a516869]440 <para>
441 <option>--enable-gnutls</option>: Use this option instead of
442 <parameter>--enable-openssl</parameter>, if you want to use
443 <application>GnuTLS</application> instead of
444 <application>OpenSSL</application> for HTTPS protocol.
445 </para>
446
[7197352]447 <para>
448 <option>--disable-doc</option>: Disables building html documentation.
[8558044]449 This is only needed if <xref linkend="doxygen"/> is installed and you
[7197352]450 do not want to build the html documentation.
451 </para>
452
[77cce582]453 <para>
454 <option>--enable-libpulse</option>: Enables support for
455 <application>Pulseaudio</application> for audio output.
456 </para>
457
[faec3f7]458 <para>
[dc29e3ac]459 <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>: This
460 builds the <command>qt-faststart</command> program which can modify
461 QuickTime formatted movies (<filename class="extension">.mov</filename>
462 or <filename class="extension">.mp4</filename>) so that the header
463 information is located at the beginning of the file instead of the end.
464 This allows the movie file to begin playing before the entire file has
465 been downloaded.
[2216c969]466 </para>
467
[c012c1a]468 <note>
469 <para>
470 Support for most of the dependency packages requires using options
[d0c85de6]471 passed to the <command>configure</command> script. View the output
[c012c1a]472 from <command>./configure --help</command> for complete information
473 about enabling dependency packages.
474 </para>
475 </note>
476
[8a1e4f4]477 </sect2>
478
[a4c3c48]479<!-- ffserver has been removed
[8a1e4f4]480 <sect2 role="configuration">
481 <title>Configuring FFmpeg</title>
482
483 <sect3 id="ffmpeg-config">
484 <title>Config Files</title>
485
[755bb92]486 <para>
[a4c3c48]487 <filename>/etc/ffserver.conf</filename>
488 <filename>~/.ffmpeg/ffserver-config</filename>
[755bb92]489 </para>
[8a1e4f4]490
491 <indexterm zone="ffmpeg ffmpeg-config">
[4162bcd]492 <primary
493 sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
[8a1e4f4]494 </indexterm>
495
496 <indexterm zone="ffmpeg ffmpeg-config">
497 <primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
498 </indexterm>
499
[faec3f7]500 <para>
501 You'll find a sample <command>ffserver</command> configuration file at
502 <filename>doc/ffserver.conf</filename> in the source tree.
503 </para>
[ffd1fcc]504
[8a1e4f4]505 </sect3>
[ffd1fcc]506
[8a1e4f4]507 </sect2>
[a4c3c48]508 -->
[8a1e4f4]509
510 <sect2 role="content">
511 <title>Contents</title>
512
513 <segmentedlist>
514 <segtitle>Installed Programs</segtitle>
515 <segtitle>Installed Libraries</segtitle>
516 <segtitle>Installed Directories</segtitle>
517
518 <seglistitem>
[faec3f7]519 <seg>
[a4c3c48]520 ffmpeg, ffplay, ffprobe, <!--ffserver,--> and qt-faststart
[faec3f7]521 </seg>
522 <seg>
[ffd1fcc]523 libavcodec.so, libavdevice.so, libavfilter.so,
[69b7d08]524 libavformat.so, libavutil.so, libpostproc.so,
[638fc4a]525 libswresample.so, and libswscale.so
[faec3f7]526 </seg>
527 <seg>
[69b7d08]528 /usr/include/libav{codec,device,filter,format,util},
[b8efb1fb]529 /usr/include/libpostproc,
530 /usr/include/libsw{resample,scale},
[813ea9af]531 /usr/share/doc/ffmpeg-&ffmpeg-version;, and
532 /usr/share/ffmpeg
[faec3f7]533 </seg>
[8a1e4f4]534 </seglistitem>
535 </segmentedlist>
536
537 <variablelist>
538 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
539 <?dbfo list-presentation="list"?>
540 <?dbhtml list-presentation="table"?>
541
542 <varlistentry id="ffmpeg-prog">
543 <term><command>ffmpeg</command></term>
544 <listitem>
[faec3f7]545 <para>
546 is a command-line tool to convert video files, network streams and
[4c24eb0a]547 input from a TV card to several video formats
[faec3f7]548 </para>
[8a1e4f4]549 <indexterm zone="ffmpeg ffmpeg-prog">
550 <primary sortas="b-ffmpeg">ffmpeg</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
555 <varlistentry id="ffplay">
556 <term><command>ffplay</command></term>
557 <listitem>
[faec3f7]558 <para>
559 is a very simple and portable media player using the
[4c24eb0a]560 <filename>ffmpeg</filename> libraries and the SDL library
[faec3f7]561 </para>
[8a1e4f4]562 <indexterm zone="ffmpeg ffplay">
563 <primary sortas="b-ffplay">ffplay</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
[f60198bf]568 <varlistentry id="ffprobe">
569 <term><command>ffprobe</command></term>
570 <listitem>
[faec3f7]571 <para>
572 gathers information from multimedia streams and prints it in a human
[4c24eb0a]573 and machine-readable fashion
[faec3f7]574 </para>
[f60198bf]575 <indexterm zone="ffmpeg ffprobe">
576 <primary sortas="b-ffprobe">ffprobe</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
[a4c3c48]581<!-- Not found in 4.3.2
[8a1e4f4]582 <varlistentry id="ffserver">
583 <term><command>ffserver</command></term>
584 <listitem>
[faec3f7]585 <para>
586 is a streaming server for everything that <command>ffmpeg</command>
[4c24eb0a]587 could use as input (files, streams, TV card input, webcam, etc)
[faec3f7]588 </para>
[8a1e4f4]589 <indexterm zone="ffmpeg ffserver">
590 <primary sortas="b-ffserver">ffserver</primary>
591 </indexterm>
592 </listitem>
593 </varlistentry>
[a4c3c48]594-->
[c08bd877]595 <varlistentry id="qt-faststart">
596 <term><command>qt-faststart</command></term>
597 <listitem>
[faec3f7]598 <para>
[4c24eb0a]599 moves the index file to the front of quicktime (mov/mp4) videos
[faec3f7]600 </para>
[c08bd877]601 <indexterm zone="ffmpeg qt-faststart">
602 <primary sortas="b-qt-faststart">qt-faststart</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
[8a1e4f4]607 <varlistentry id="libavcodec">
[4162bcd]608 <term><filename class="libraryfile">libavcodec.so</filename></term>
[8a1e4f4]609 <listitem>
[faec3f7]610 <para>
611 is a library containing the <application>FFmpeg</application> codecs
[4c24eb0a]612 (both encoding and decoding)
[faec3f7]613 </para>
[8a1e4f4]614 <indexterm zone="ffmpeg libavcodec">
[9e5b78b]615 <primary sortas="c-libavcodec">libavcodec.so</primary>
[28cd5ce]616 </indexterm>
617 </listitem>
618 </varlistentry>
619
620 <varlistentry id="libavdevice">
[4162bcd]621 <term><filename class="libraryfile">libavdevice.so</filename></term>
[28cd5ce]622 <listitem>
[faec3f7]623 <para>
[4c24eb0a]624 is the <application>FFmpeg</application> device handling library
[faec3f7]625 </para>
[28cd5ce]626 <indexterm zone="ffmpeg libavdevice">
[9e5b78b]627 <primary sortas="c-libavdevice">libavdevice.so</primary>
628 </indexterm>
629 </listitem>
630 </varlistentry>
631
632 <varlistentry id="libavfilter">
[4162bcd]633 <term><filename class="libraryfile">libavfilter.so</filename></term>
[9e5b78b]634 <listitem>
[faec3f7]635 <para>
636 is a library of filters that can alter video or audio between the
[4c24eb0a]637 decoder and the encoder (or output)
[faec3f7]638 </para>
[9e5b78b]639 <indexterm zone="ffmpeg libavfilter">
640 <primary sortas="c-libavfilter">libavfilter.so</primary>
[8a1e4f4]641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="libavformat">
[4162bcd]646 <term><filename class="libraryfile">libavformat.so</filename></term>
[8a1e4f4]647 <listitem>
[faec3f7]648 <para>
649 is a library containing the file formats handling (mux and demux
650 code for several formats) used by <command>ffplay</command> as well
[4c24eb0a]651 as allowing the generation of audio or video streams
[faec3f7]652 </para>
[8a1e4f4]653 <indexterm zone="ffmpeg libavformat">
[9e5b78b]654 <primary sortas="c-libavformat">libavformat.so</primary>
[28cd5ce]655 </indexterm>
656 </listitem>
657 </varlistentry>
658
[a4c3c48]659 <varlistentry id="libavresample">
660 <term><filename class="libraryfile">libavresample.so</filename></term>
661 <listitem>
662 <para>
663 is a library containing functions for resampling audio and video.
664 </para>
665 <indexterm zone="ffmpeg libavresample">
666 <primary sortas="c-libavresample">libavresample</primary>
667 </indexterm>
668 </listitem>
669 </varlistentry>
670
[28cd5ce]671 <varlistentry id="libavutil">
[4162bcd]672 <term><filename class="libraryfile">libavutil.so</filename></term>
[28cd5ce]673 <listitem>
[ffd1fcc]674 <para>
[4c24eb0a]675 is the <application>FFmpeg</application> utility library
[ffd1fcc]676 </para>
[28cd5ce]677 <indexterm zone="ffmpeg libavutil">
[9e5b78b]678 <primary sortas="c-libavutil">libavutil.so</primary>
[28cd5ce]679 </indexterm>
680 </listitem>
681 </varlistentry>
682
[874f1e88]683 <varlistentry id="libpostproc">
[4162bcd]684 <term><filename class="libraryfile">libpostproc.so</filename></term>
[28cd5ce]685 <listitem>
[faec3f7]686 <para>
[4c24eb0a]687 is the <application>FFmpeg</application> post processing library
[faec3f7]688 </para>
[28cd5ce]689 <indexterm zone="ffmpeg libpostproc">
[9e5b78b]690 <primary sortas="c-libpostproc">libpostproc.so</primary>
[28cd5ce]691 </indexterm>
692 </listitem>
693 </varlistentry>
694
[baf1e23]695 <varlistentry id="libswresample">
696 <term><filename class="libraryfile">libswresample.so</filename></term>
697 <listitem>
698 <para>
699 is the <application>FFmpeg</application> audio rescaling library,
[4c24eb0a]700 it contains functions for converting audio sample formats
[baf1e23]701 </para>
702 <indexterm zone="ffmpeg libswresample">
703 <primary sortas="c-libswresample">libswresample.so</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
[28cd5ce]708 <varlistentry id="libswscale">
[4162bcd]709 <term><filename class="libraryfile">libswscale.so</filename></term>
[28cd5ce]710 <listitem>
[faec3f7]711 <para>
[4c24eb0a]712 is the <application>FFmpeg</application> image rescaling library
[faec3f7]713 </para>
[28cd5ce]714 <indexterm zone="ffmpeg libswscale">
[9e5b78b]715 <primary sortas="c-libswscale">libswscale.so</primary>
[8a1e4f4]716 </indexterm>
717 </listitem>
718 </varlistentry>
[ffd1fcc]719
[8a1e4f4]720 </variablelist>
[ffd1fcc]721
[8a1e4f4]722 </sect2>
[ffd1fcc]723
[49e5372]724</sect1>
Note: See TracBrowser for help on using the repository browser.