source: multimedia/videoutils/ffmpeg.xml@ 4e207bb

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 4e207bb was 4e207bb, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Replace tabs with spaces (except in Makefile :)

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