source: multimedia/videoutils/ffmpeg.xml@ 1726340d

12.0 12.1 gimp3 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 1726340d was 14891a90, checked in by Xi Ruoyao <xry111@…>, 14 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

  • Property mode set to 100644
File size: 25.7 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
160 </sect2>
161
162 <sect2 role="installation">
163 <title>Installation of FFmpeg</title>
164
[bef1a58]165 <note>
166 <para>
167 Some harmless warnings may be output by the build process regarding
[912b324]168 the HTML documentation. This is due to an incompatibility with
[bef1a58]169 Texinfo-7.0 and higher.
170 </para>
171 </note>
172
[69b7d08]173 <para>
174 First, apply a patch that adds an API necessary for some packages to
175 build:
176 <!-- qtwebengine -->
177 </para>
178
[bf716e1]179<screen><userinput remap="pre">patch -Np1 -i ../ffmpeg-&ffmpeg-version;-chromium_method-1.patch</userinput></screen>
[69b7d08]180
[faec3f7]181 <para>
182 Install <application>FFmpeg</application> by running the following
183 commands:
184 </para>
[8a1e4f4]185
[4a3c628]186<!--<screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure &amp;&amp;-->
187<screen><userinput>./configure --prefix=/usr \
[eb32964]188 --enable-gpl \
189 --enable-version3 \
190 --enable-nonfree \
191 --disable-static \
192 --enable-shared \
193 --disable-debug \
[f6503c73]194 --enable-libaom \
[eb32964]195 --enable-libass \
196 --enable-libfdk-aac \
[a525ccb]197 --enable-libfreetype \
[eb32964]198 --enable-libmp3lame \
199 --enable-libopus \
200 --enable-libtheora \
201 --enable-libvorbis \
202 --enable-libvpx \
203 --enable-libx264 \
[1fa4314]204 --enable-libx265 \
[a516869]205 --enable-openssl \
[791213b]206 --docdir=/usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
[70f1af0]207
[a161de9]208make &amp;&amp;
[70f1af0]209
[0ee2aa3]210gcc tools/qt-faststart.c -o tools/qt-faststart</userinput></screen>
[28cd5ce]211
[a161de9]212 <para>
[791213b]213 HTML documentation was built in the previous step. If you have
[a161de9]214 <xref linkend="texlive"/> installed and wish to build PDF and
215 Postscript versions of the documentation, issue the following commands:
216 </para>
[fcd201bd]217
[ba1ccf6]218<!-- sed -i '$s/$/\n\n@bye/' doc/{git-howto,nut,fate}.texi &amp;&amp;
219sed -i '/machine:i386/ s/\\/@backslashchar{}/g' doc/platform.texi &amp;&amp; -->
[a42c273]220<screen remap="doc"><userinput>pushd doc &amp;&amp;
[a161de9]221for DOCNAME in `basename -s .html *.html`
222do
223 texi2pdf -b $DOCNAME.texi &amp;&amp;
224 texi2dvi -b $DOCNAME.texi &amp;&amp;
[70f1af0]225
226 dvips -o $DOCNAME.ps \
[42160e7]227 $DOCNAME.dvi
[70f1af0]228done &amp;&amp;
229popd &amp;&amp;
[a161de9]230unset DOCNAME</userinput></screen>
[c08bd877]231
[faec3f7]232 <para>
[8558044]233 If you have <xref linkend="doxygen"/> installed
[38290b4]234 and you wish to build (if --disable-doc was
[a42c273]235 used) or rebuild the html documentation, issue:
[faec3f7]236 </para>
[8a1e4f4]237
[a42c273]238<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
239
[a161de9]240 <para>
[dc29e3ac]241 The fate-suite tests include comparisons with installed files, and should
242 not be run before the package is installed. Therefore, if you desire to
243 run them, instructions are given further below.
[a161de9]244 </para>
[8a1e4f4]245
[a161de9]246 <para>
247 Now, as the <systemitem class="username">root</systemitem> user:
248 </para>
[457568e]249
[a161de9]250<screen role="root"><userinput>make install &amp;&amp;
[70f1af0]251
[a161de9]252install -v -m755 tools/qt-faststart /usr/bin &amp;&amp;
[8e848de9]253install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
[0e29df6]254install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
[9e5b78b]255
[faec3f7]256 <para>
[17b685f1]257 If the PDF and Postscript documentation was built, issue the following
[791213b]258 commands, as the <systemitem class="username">root</systemitem> user, to
259 install them:
[faec3f7]260 </para>
[fd7e0ed6]261
[a42c273]262<screen role="root"
263 remap="doc"><userinput>install -v -m644 doc/*.pdf /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
[0e29df6]264install -v -m644 doc/*.ps /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
[c08bd877]265
[faec3f7]266 <para>
[8558044]267 If you used <command>doxygen</command> to manually create the API
[38290b4]268 documentation, install it by issuing the following commands
[a161de9]269 as the <systemitem class="username">root</systemitem> user:
[faec3f7]270 </para>
[c08bd877]271
[a42c273]272<screen role="root"
273 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
[70f1af0]274cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
275find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; &amp;&amp;
276find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen>
[ffd1fcc]277
[dc29e3ac]278 <para>
279 To properly test the installation you must have <xref linkend="rsync"/>
280 installed and follow the instructions for the <ulink
[75b1a338]281 url="https://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing
[7e1afc9]282 Environment</ulink> (FATE). First, about 1 GB of sample files used to
[dc29e3ac]283 run FATE are downloaded with the command:
284 </para>
285
[a42c273]286<screen remap="test"><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen>
[dc29e3ac]287
288 <para>
289 The <filename class="directory">fate-suite</filename> directory is
[2adbd3da]290 created and the files are downloaded there. That command actually runs an
[e200fb6]291 rsync command to obtain the sample files. You may want to compress and
292 keep this directory for testing again, for testing in another system,
293 or for when a new version of ffmpeg is released. Then, unpack the sample
294 files in the source directory, and run the <command>make fate-rsync
295 ...</command> command above to sync with the upstream repository. The
296 download size and time are drastically reduced by doing this. Estimated
297 values in "Package Information" do not include the download SBU. Some
298 samples may have been removed in newer versions, so in order to be sure
299 local and server fate samples are identical when you use previously
300 saved samples, run the following command:
[2adbd3da]301 </para>
302
[2f3e3de9]303<screen role="nodump"><userinput>rsync -vrltLW --delete --timeout=60 --contimeout=60 \
304 rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</userinput></screen>
[f3429309]305
[2adbd3da]306 <para>
[e200fb6]307 Next, execute FATE with the following commands (there are more than 3800
308 tests in the suite):
[dc29e3ac]309 </para>
310
[a42c273]311<screen remap="test"><userinput>make fate THREADS=<replaceable>N</replaceable> SAMPLES=fate-suite/ | tee ../fate.log &amp;&amp;
[dc29e3ac]312grep ^TEST ../fate.log | wc -l</userinput></screen>
[f3429309]313
[06da9a6]314 <para>
315 where <replaceable>N</replaceable> is an integer,
[c840bd37]316 <replaceable>N</replaceable> &le; number of cores in the system.
[e200fb6]317 </para>
318
319 <para>
320 A successful run should return no errors or warnings, just a list of tests
321 and total amount at the end.
322 </para>
[dc29e3ac]323
[8a1e4f4]324 </sect2>
325
326 <sect2 role="commands">
327 <title>Command Explanations</title>
328
[faec3f7]329 <para>
[43a3a17]330 <command>sed -i ... configure</command>: This command adds the
[a161de9]331 <application>ALSA</application> library to the
332 <application>Flite</application> <envar>LDFLAGS</envar> variable and
333 enables the discovery of <application>Flite</application>.
334 </para>
335
[43a3a17]336 <para>
[a4c3c48]337 <command>find ... ;</command>: Fixes permissions of documentation files
[43a3a17]338 and directories.
339 </para>
340
[05bb3720]341 <para>
[1a518e97]342 <parameter>--enable-libfreetype</parameter>: Enables
[05bb3720]343 <application>Freetype</application> support.
344 </para>
345
[a161de9]346 <para>
347 <parameter>--enable-gpl</parameter>: Enables the use of GPL code and
[baf1e23]348 permits support for postprocessing, swscale and many other features.
[faec3f7]349 </para>
350
351 <para>
[a161de9]352 <parameter>--enable-version3</parameter>: Enables the use of (L)GPL
353 version 3 code.
354 </para>
355
356 <para>
[dc29e3ac]357 <parameter>--enable-nonfree</parameter>: Enables the use of nonfree code.
358 Note that the resulting libraries and binaries will be unredistributable.
[faec3f7]359 </para>
[8a1e4f4]360
[baf1e23]361 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
362 href="../../xincludes/static-libraries.xml"/>
363
[a161de9]364 <para>
[dc29e3ac]365 <parameter>--enable-shared</parameter>: Enables building shared
366 libraries, otherwise only static libraries are built and installed.
[a161de9]367 </para>
368
369 <para>
[89d37eb8]370 <parameter>--disable-debug</parameter>: Disables building debugging
371 symbols into the programs and libraries.
[a161de9]372 </para>
373
[69b7d08]374 <!-- Library was removed in 5.0.1
[12ebd0e]375 <para>
[69b7d08]376 <parameter>- -enable-avresample</parameter>: Enables
[12ebd0e]377 <xref linkend="transcode"/> to be compiled.
378 </para>
[69b7d08]379 -->
[12ebd0e]380
[f6503c73]381 <para>
382 <parameter>--enable-libaom</parameter>: Enables AV1 audio and video
383 decoding via <filename class="libraryfile">libaom</filename>.
384 </para>
385
[a161de9]386 <para>
[89d37eb8]387 <parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
[c0fce1d]388 rendering via <filename class="libraryfile">libass</filename>.
[a161de9]389 </para>
390
[a5dfb970]391 <para>
[8558044]392 <option>--enable-libdrm</option>: Use this switch if
[2597ad1]393 <xref linkend="libdrm"/> is installed to build the <quote>kmsgrab</quote>
394 input module which is useful for screen capturing or streaming.
[a5dfb970]395 </para>
396
[a161de9]397 <para>
[e200fb6]398 <parameter>--enable-libfdk-aac</parameter>: Enables AAC audio encoding via
399 <filename class="libraryfile">libfdk-aac</filename>.
[a161de9]400 </para>
401
402 <para>
[dc29e3ac]403 <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding
404 via <filename class="libraryfile">libmp3lame</filename>.
[a161de9]405 </para>
406
407 <para>
[c012c1a]408 <parameter>--enable-libvorbis --enable-libtheora</parameter>: Enables
409 Theora video encoding via <filename
410 class="libraryfile">libvorbis</filename> and <filename
411 class="libraryfile">libtheora</filename>.
[a161de9]412 </para>
413
414 <para>
[c012c1a]415 <parameter>--enable-libvorbis --enable-libvpx</parameter>: Enables WebM
416 encoding via <filename class="libraryfile">libvorbis</filename> and
417 <filename class="libraryfile">libvpx</filename>.
[a161de9]418 </para>
419
420 <para>
[dc29e3ac]421 <parameter>--enable-libx264</parameter>: Enables high-quality
422 H.264/MPEG-4 AVC encoding via <filename
[118613f8]423 class="libraryfile">libx264</filename>.
[a161de9]424 </para>
425
[1fa4314]426 <para>
427 <parameter>--enable-libx265</parameter>: Enables high-quality
428 H.265/HEVC encoding via <filename
429 class="libraryfile">libx265</filename>.
430 </para>
431
[ea8738a]432 <para>
[a516869]433 <parameter>--enable-openssl</parameter>:
[ea8738a]434 Enables HTTPS protocol for network streams.
435 </para>
436
[a516869]437 <para>
438 <option>--enable-gnutls</option>: Use this option instead of
439 <parameter>--enable-openssl</parameter>, if you want to use
440 <application>GnuTLS</application> instead of
441 <application>OpenSSL</application> for HTTPS protocol.
442 </para>
443
[7197352]444 <para>
445 <option>--disable-doc</option>: Disables building html documentation.
[8558044]446 This is only needed if <xref linkend="doxygen"/> is installed and you
[7197352]447 do not want to build the html documentation.
448 </para>
449
[77cce582]450 <para>
451 <option>--enable-libpulse</option>: Enables support for
452 <application>Pulseaudio</application> for audio output.
453 </para>
454
[faec3f7]455 <para>
[dc29e3ac]456 <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>: This
457 builds the <command>qt-faststart</command> program which can modify
458 QuickTime formatted movies (<filename class="extension">.mov</filename>
459 or <filename class="extension">.mp4</filename>) so that the header
460 information is located at the beginning of the file instead of the end.
461 This allows the movie file to begin playing before the entire file has
462 been downloaded.
[2216c969]463 </para>
464
[c012c1a]465 <note>
466 <para>
467 Support for most of the dependency packages requires using options
[d0c85de6]468 passed to the <command>configure</command> script. View the output
[c012c1a]469 from <command>./configure --help</command> for complete information
470 about enabling dependency packages.
471 </para>
472 </note>
473
[8a1e4f4]474 </sect2>
475
[a4c3c48]476<!-- ffserver has been removed
[8a1e4f4]477 <sect2 role="configuration">
478 <title>Configuring FFmpeg</title>
479
480 <sect3 id="ffmpeg-config">
481 <title>Config Files</title>
482
[755bb92]483 <para>
[a4c3c48]484 <filename>/etc/ffserver.conf</filename>
485 <filename>~/.ffmpeg/ffserver-config</filename>
[755bb92]486 </para>
[8a1e4f4]487
488 <indexterm zone="ffmpeg ffmpeg-config">
[4162bcd]489 <primary
490 sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
[8a1e4f4]491 </indexterm>
492
493 <indexterm zone="ffmpeg ffmpeg-config">
494 <primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
495 </indexterm>
496
[faec3f7]497 <para>
498 You'll find a sample <command>ffserver</command> configuration file at
499 <filename>doc/ffserver.conf</filename> in the source tree.
500 </para>
[ffd1fcc]501
[8a1e4f4]502 </sect3>
[ffd1fcc]503
[8a1e4f4]504 </sect2>
[a4c3c48]505 -->
[8a1e4f4]506
507 <sect2 role="content">
508 <title>Contents</title>
509
510 <segmentedlist>
511 <segtitle>Installed Programs</segtitle>
512 <segtitle>Installed Libraries</segtitle>
513 <segtitle>Installed Directories</segtitle>
514
515 <seglistitem>
[faec3f7]516 <seg>
[a4c3c48]517 ffmpeg, ffplay, ffprobe, <!--ffserver,--> and qt-faststart
[faec3f7]518 </seg>
519 <seg>
[ffd1fcc]520 libavcodec.so, libavdevice.so, libavfilter.so,
[69b7d08]521 libavformat.so, libavutil.so, libpostproc.so,
[638fc4a]522 libswresample.so, and libswscale.so
[faec3f7]523 </seg>
524 <seg>
[69b7d08]525 /usr/include/libav{codec,device,filter,format,util},
[b8efb1fb]526 /usr/include/libpostproc,
527 /usr/include/libsw{resample,scale},
[813ea9af]528 /usr/share/doc/ffmpeg-&ffmpeg-version;, and
529 /usr/share/ffmpeg
[faec3f7]530 </seg>
[8a1e4f4]531 </seglistitem>
532 </segmentedlist>
533
534 <variablelist>
535 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
536 <?dbfo list-presentation="list"?>
537 <?dbhtml list-presentation="table"?>
538
539 <varlistentry id="ffmpeg-prog">
540 <term><command>ffmpeg</command></term>
541 <listitem>
[faec3f7]542 <para>
543 is a command-line tool to convert video files, network streams and
[4c24eb0a]544 input from a TV card to several video formats
[faec3f7]545 </para>
[8a1e4f4]546 <indexterm zone="ffmpeg ffmpeg-prog">
547 <primary sortas="b-ffmpeg">ffmpeg</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="ffplay">
553 <term><command>ffplay</command></term>
554 <listitem>
[faec3f7]555 <para>
556 is a very simple and portable media player using the
[4c24eb0a]557 <filename>ffmpeg</filename> libraries and the SDL library
[faec3f7]558 </para>
[8a1e4f4]559 <indexterm zone="ffmpeg ffplay">
560 <primary sortas="b-ffplay">ffplay</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
[f60198bf]565 <varlistentry id="ffprobe">
566 <term><command>ffprobe</command></term>
567 <listitem>
[faec3f7]568 <para>
569 gathers information from multimedia streams and prints it in a human
[4c24eb0a]570 and machine-readable fashion
[faec3f7]571 </para>
[f60198bf]572 <indexterm zone="ffmpeg ffprobe">
573 <primary sortas="b-ffprobe">ffprobe</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
[a4c3c48]578<!-- Not found in 4.3.2
[8a1e4f4]579 <varlistentry id="ffserver">
580 <term><command>ffserver</command></term>
581 <listitem>
[faec3f7]582 <para>
583 is a streaming server for everything that <command>ffmpeg</command>
[4c24eb0a]584 could use as input (files, streams, TV card input, webcam, etc)
[faec3f7]585 </para>
[8a1e4f4]586 <indexterm zone="ffmpeg ffserver">
587 <primary sortas="b-ffserver">ffserver</primary>
588 </indexterm>
589 </listitem>
590 </varlistentry>
[a4c3c48]591-->
[c08bd877]592 <varlistentry id="qt-faststart">
593 <term><command>qt-faststart</command></term>
594 <listitem>
[faec3f7]595 <para>
[4c24eb0a]596 moves the index file to the front of quicktime (mov/mp4) videos
[faec3f7]597 </para>
[c08bd877]598 <indexterm zone="ffmpeg qt-faststart">
599 <primary sortas="b-qt-faststart">qt-faststart</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
[8a1e4f4]604 <varlistentry id="libavcodec">
[4162bcd]605 <term><filename class="libraryfile">libavcodec.so</filename></term>
[8a1e4f4]606 <listitem>
[faec3f7]607 <para>
608 is a library containing the <application>FFmpeg</application> codecs
[4c24eb0a]609 (both encoding and decoding)
[faec3f7]610 </para>
[8a1e4f4]611 <indexterm zone="ffmpeg libavcodec">
[9e5b78b]612 <primary sortas="c-libavcodec">libavcodec.so</primary>
[28cd5ce]613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="libavdevice">
[4162bcd]618 <term><filename class="libraryfile">libavdevice.so</filename></term>
[28cd5ce]619 <listitem>
[faec3f7]620 <para>
[4c24eb0a]621 is the <application>FFmpeg</application> device handling library
[faec3f7]622 </para>
[28cd5ce]623 <indexterm zone="ffmpeg libavdevice">
[9e5b78b]624 <primary sortas="c-libavdevice">libavdevice.so</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
629 <varlistentry id="libavfilter">
[4162bcd]630 <term><filename class="libraryfile">libavfilter.so</filename></term>
[9e5b78b]631 <listitem>
[faec3f7]632 <para>
633 is a library of filters that can alter video or audio between the
[4c24eb0a]634 decoder and the encoder (or output)
[faec3f7]635 </para>
[9e5b78b]636 <indexterm zone="ffmpeg libavfilter">
637 <primary sortas="c-libavfilter">libavfilter.so</primary>
[8a1e4f4]638 </indexterm>
639 </listitem>
640 </varlistentry>
641
642 <varlistentry id="libavformat">
[4162bcd]643 <term><filename class="libraryfile">libavformat.so</filename></term>
[8a1e4f4]644 <listitem>
[faec3f7]645 <para>
646 is a library containing the file formats handling (mux and demux
647 code for several formats) used by <command>ffplay</command> as well
[4c24eb0a]648 as allowing the generation of audio or video streams
[faec3f7]649 </para>
[8a1e4f4]650 <indexterm zone="ffmpeg libavformat">
[9e5b78b]651 <primary sortas="c-libavformat">libavformat.so</primary>
[28cd5ce]652 </indexterm>
653 </listitem>
654 </varlistentry>
655
[a4c3c48]656 <varlistentry id="libavresample">
657 <term><filename class="libraryfile">libavresample.so</filename></term>
658 <listitem>
659 <para>
660 is a library containing functions for resampling audio and video.
661 </para>
662 <indexterm zone="ffmpeg libavresample">
663 <primary sortas="c-libavresample">libavresample</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
[28cd5ce]668 <varlistentry id="libavutil">
[4162bcd]669 <term><filename class="libraryfile">libavutil.so</filename></term>
[28cd5ce]670 <listitem>
[ffd1fcc]671 <para>
[4c24eb0a]672 is the <application>FFmpeg</application> utility library
[ffd1fcc]673 </para>
[28cd5ce]674 <indexterm zone="ffmpeg libavutil">
[9e5b78b]675 <primary sortas="c-libavutil">libavutil.so</primary>
[28cd5ce]676 </indexterm>
677 </listitem>
678 </varlistentry>
679
[874f1e88]680 <varlistentry id="libpostproc">
[4162bcd]681 <term><filename class="libraryfile">libpostproc.so</filename></term>
[28cd5ce]682 <listitem>
[faec3f7]683 <para>
[4c24eb0a]684 is the <application>FFmpeg</application> post processing library
[faec3f7]685 </para>
[28cd5ce]686 <indexterm zone="ffmpeg libpostproc">
[9e5b78b]687 <primary sortas="c-libpostproc">libpostproc.so</primary>
[28cd5ce]688 </indexterm>
689 </listitem>
690 </varlistentry>
691
[baf1e23]692 <varlistentry id="libswresample">
693 <term><filename class="libraryfile">libswresample.so</filename></term>
694 <listitem>
695 <para>
696 is the <application>FFmpeg</application> audio rescaling library,
[4c24eb0a]697 it contains functions for converting audio sample formats
[baf1e23]698 </para>
699 <indexterm zone="ffmpeg libswresample">
700 <primary sortas="c-libswresample">libswresample.so</primary>
701 </indexterm>
702 </listitem>
703 </varlistentry>
704
[28cd5ce]705 <varlistentry id="libswscale">
[4162bcd]706 <term><filename class="libraryfile">libswscale.so</filename></term>
[28cd5ce]707 <listitem>
[faec3f7]708 <para>
[4c24eb0a]709 is the <application>FFmpeg</application> image rescaling library
[faec3f7]710 </para>
[28cd5ce]711 <indexterm zone="ffmpeg libswscale">
[9e5b78b]712 <primary sortas="c-libswscale">libswscale.so</primary>
[8a1e4f4]713 </indexterm>
714 </listitem>
715 </varlistentry>
[ffd1fcc]716
[8a1e4f4]717 </variablelist>
[ffd1fcc]718
[8a1e4f4]719 </sect2>
[ffd1fcc]720
[49e5372]721</sect1>
Note: See TracBrowser for help on using the repository browser.