1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY ffmpeg-download-http "https://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.xz">
|
---|
8 | <!ENTITY ffmpeg-download-ftp " ">
|
---|
9 | <!ENTITY ffmpeg-md5sum "623aa63a72139a82ccb99cd6ee477b94">
|
---|
10 | <!ENTITY ffmpeg-size "11 MB">
|
---|
11 | <!ENTITY ffmpeg-buildsize "205 MB (add 1.5 GB for the FATE suite/tests, add 869 MB for documentation)">
|
---|
12 | <!ENTITY ffmpeg-time "1.2 SBU (using parallelism=4; add 3.2 SBU (with THREADS=4) to run the FATE suite after sample files are downloaded; add 0.2 SBU for doxygen docs)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
|
---|
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 |
|
---|
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.
|
---|
36 | <application>FFmpeg</application> can use a Video4Linux compatible video
|
---|
37 | source and any Open Sound System audio source.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs122_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&ffmpeg-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&ffmpeg-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &ffmpeg-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &ffmpeg-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &ffmpeg-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &ffmpeg-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
77 | <itemizedlist spacing="compact">
|
---|
78 | <listitem>
|
---|
79 | <para>
|
---|
80 | Required patch:
|
---|
81 | <ulink url="&patch-root;/ffmpeg-&ffmpeg-version;-chromium_method-1.patch"/>
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
89 | <para role="recommended">
|
---|
90 | <xref linkend="libaom"/>,
|
---|
91 | <xref linkend="libass"/>,
|
---|
92 | <xref linkend="fdk-aac"/>,
|
---|
93 | <xref linkend="freetype2"/>,
|
---|
94 | <xref linkend="lame"/>,
|
---|
95 | <xref linkend="libvorbis"/>,
|
---|
96 | <xref linkend="libvpx"/>,
|
---|
97 | <xref linkend="opus"/>,
|
---|
98 | <xref linkend="x264"/>,
|
---|
99 | <xref linkend="x265"/>, and
|
---|
100 | <xref linkend="nasm"/> or <xref linkend="yasm"/>
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect4">Recommended for desktop use</bridgehead>
|
---|
104 | <para role="recommended">
|
---|
105 | <xref linkend="alsa-lib"/>,
|
---|
106 | <xref linkend="libva"/>,
|
---|
107 | <xref linkend="sdl2"/>
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <bridgehead renderas="sect4">Recommended for systems with Intel Video</bridgehead>
|
---|
111 | <para role="recommended">
|
---|
112 | <xref linkend="libvdpau"/> and
|
---|
113 | <xref linkend="libvdpau-va-gl"/>
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
117 | <para role="optional">
|
---|
118 | <xref linkend="doxygen"/>,
|
---|
119 | <xref linkend="fontconfig"/>,
|
---|
120 | <xref linkend="fribidi"/>,
|
---|
121 | <xref linkend="frei0r"/>,
|
---|
122 | <xref linkend="libcdio"/> (to identify and play CDs),
|
---|
123 | <xref linkend="libdrm"/> (for <quote>kmsgrab</quote> input),
|
---|
124 | <!--<xref linkend="libtheora"/>,-->
|
---|
125 | <xref linkend="libjxl"/>,
|
---|
126 | <xref linkend="libwebp"/>,
|
---|
127 | <xref linkend="opencv"/>,
|
---|
128 | <xref linkend="openjpeg2"/>,
|
---|
129 | <xref linkend="gnutls"/>,
|
---|
130 | <xref linkend="pulseaudio"/>,
|
---|
131 | <xref linkend="samba"/>,
|
---|
132 | <xref linkend="speex"/>,
|
---|
133 | <xref linkend="texlive"/>
|
---|
134 | (or <xref linkend="tl-installer"/>) for PDF and PS documentation,
|
---|
135 | <xref linkend="v4l-utils"/>,
|
---|
136 | <xref linkend="vulkan-loader"/>,
|
---|
137 | <xref linkend="xvid"/>,
|
---|
138 | <xref linkend="x-window-system"/>,
|
---|
139 | <ulink url="https://code.videolan.org/videolan/dav1d">dav1d</ulink>,
|
---|
140 | <ulink url="https://github.com/festvox/flite">Flite</ulink>,
|
---|
141 | <ulink url="https://www.quut.com/gsm/">GSM</ulink>,
|
---|
142 | <ulink url="https://tipok.org.ua/node/17">libaacplus</ulink>,
|
---|
143 | <ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
144 | <ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
|
---|
145 | <ulink url="https://gitlab.xiph.org/xiph/celt">libcelt</ulink>,
|
---|
146 | <ulink url="https://sourceforge.net/projects/libdc1394">libdc1394</ulink>,
|
---|
147 | <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
148 | <ulink url="https://ieee1394.wiki.kernel.org/index.php/Libraries">libiec61883</ulink>,
|
---|
149 | <ulink url="https://github.com/dekkers/libilbc">libilbc</ulink>,
|
---|
150 | <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
151 | <ulink url="https://github.com/Distrotech/libnut">libnut</ulink> (Git checkout),
|
---|
152 | <ulink url="https://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
|
---|
153 | <ulink url="https://www.libssh.org/">libssh</ulink>,
|
---|
154 | <ulink url="https://www.theora.org">libtheora</ulink>,
|
---|
155 | <ulink url="https://openal.org/">OpenAL</ulink>,
|
---|
156 | <ulink url="https://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>,
|
---|
157 | <ulink url="https://github.com/Haivision/srt">Srt</ulink>,
|
---|
158 | <ulink url="https://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
|
---|
159 | <ulink url="https://www.twolame.org/">TwoLAME</ulink>,
|
---|
160 | <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>,
|
---|
161 | <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>, and
|
---|
162 | <!--<ulink url="https://vulkan.org/">Vulkan</ulink>, and-->
|
---|
163 | <ulink url="https://zapping.sourceforge.net/ZVBI/">ZVBI</ulink>
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
168 | <sect2 role="installation">
|
---|
169 | <title>Installation of FFmpeg</title>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | First, apply a patch that adds an API necessary for some packages to
|
---|
173 | build:
|
---|
174 | <!-- qtwebengine -->
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <screen><userinput remap="pre">patch -Np1 -i ../ffmpeg-&ffmpeg-version;-chromium_method-1.patch</userinput></screen>
|
---|
178 |
|
---|
179 | <para>
|
---|
180 | Install <application>FFmpeg</application> by running the following
|
---|
181 | commands:
|
---|
182 | </para>
|
---|
183 |
|
---|
184 | <screen><userinput>./configure --prefix=/usr \
|
---|
185 | --enable-gpl \
|
---|
186 | --enable-version3 \
|
---|
187 | --enable-nonfree \
|
---|
188 | --disable-static \
|
---|
189 | --enable-shared \
|
---|
190 | --disable-debug \
|
---|
191 | --enable-libaom \
|
---|
192 | --enable-libass \
|
---|
193 | --enable-libfdk-aac \
|
---|
194 | --enable-libfreetype \
|
---|
195 | --enable-libmp3lame \
|
---|
196 | --enable-libopus \
|
---|
197 | --enable-libvorbis \
|
---|
198 | --enable-libvpx \
|
---|
199 | --enable-libx264 \
|
---|
200 | --enable-libx265 \
|
---|
201 | --enable-openssl \
|
---|
202 | --ignore-tests=enhanced-flv-av1 \
|
---|
203 | --docdir=/usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
204 |
|
---|
205 | make &&
|
---|
206 |
|
---|
207 | gcc tools/qt-faststart.c -o tools/qt-faststart</userinput></screen>
|
---|
208 |
|
---|
209 | <para>
|
---|
210 | HTML documentation was built in the previous step. If you have
|
---|
211 | <xref linkend="texlive"/> installed and wish to build PDF and
|
---|
212 | Postscript versions of the documentation, issue the following commands:
|
---|
213 | </para>
|
---|
214 |
|
---|
215 | <screen remap="doc"><userinput>pushd doc &&
|
---|
216 | for DOCNAME in `basename -s .html *.html`
|
---|
217 | do
|
---|
218 | texi2pdf -b $DOCNAME.texi &&
|
---|
219 | texi2dvi -b $DOCNAME.texi &&
|
---|
220 |
|
---|
221 | dvips -o $DOCNAME.ps \
|
---|
222 | $DOCNAME.dvi
|
---|
223 | done &&
|
---|
224 | popd &&
|
---|
225 | unset DOCNAME</userinput></screen>
|
---|
226 |
|
---|
227 | <para>
|
---|
228 | If you have <xref linkend="doxygen"/> installed
|
---|
229 | and you wish to build (if --disable-doc was
|
---|
230 | used) or rebuild the html documentation, issue:
|
---|
231 | </para>
|
---|
232 |
|
---|
233 | <screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
234 |
|
---|
235 | <para>
|
---|
236 | The fate-suite tests include comparisons with installed files, and should
|
---|
237 | not be run before the package is installed. Therefore, if you desire to
|
---|
238 | run them, instructions are given further below.
|
---|
239 | </para>
|
---|
240 |
|
---|
241 | <para>
|
---|
242 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
243 | </para>
|
---|
244 |
|
---|
245 | <screen role="root"><userinput>make install &&
|
---|
246 |
|
---|
247 | install -v -m755 tools/qt-faststart /usr/bin &&
|
---|
248 | install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
249 | install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
250 |
|
---|
251 | <para>
|
---|
252 | If the PDF and Postscript documentation was built, issue the following
|
---|
253 | commands, as the <systemitem class="username">root</systemitem> user, to
|
---|
254 | install them:
|
---|
255 | </para>
|
---|
256 |
|
---|
257 | <screen role="root"
|
---|
258 | remap="doc"><userinput>install -v -m644 doc/*.pdf /usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
259 | install -v -m644 doc/*.ps /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
260 |
|
---|
261 | <para>
|
---|
262 | If you used <command>doxygen</command> to manually create the API
|
---|
263 | documentation, install it by issuing the following commands
|
---|
264 | as the <systemitem class="username">root</systemitem> user:
|
---|
265 | </para>
|
---|
266 |
|
---|
267 | <screen role="root"
|
---|
268 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
269 | cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
270 | find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; &&
|
---|
271 | find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen>
|
---|
272 |
|
---|
273 | <para>
|
---|
274 | To properly test the installation you must have <xref linkend="rsync"/>
|
---|
275 | installed and follow the instructions for the <ulink
|
---|
276 | url="https://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing
|
---|
277 | Environment</ulink> (FATE). First, about 1 GB of sample files used to
|
---|
278 | run FATE are downloaded with the command:
|
---|
279 | </para>
|
---|
280 |
|
---|
281 | <screen remap="test"><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen>
|
---|
282 |
|
---|
283 | <para>
|
---|
284 | The <filename class="directory">fate-suite</filename> directory is
|
---|
285 | created and the files are downloaded there. That command actually runs an
|
---|
286 | rsync command to obtain the sample files. You may want to compress and
|
---|
287 | keep this directory for testing again, for testing in another system,
|
---|
288 | or for when a new version of ffmpeg is released. Then, unpack the sample
|
---|
289 | files in the source directory, and run the <command>make fate-rsync
|
---|
290 | ...</command> command above to sync with the upstream repository. The
|
---|
291 | download size and time are drastically reduced by doing this. Estimated
|
---|
292 | values in "Package Information" do not include the download SBU. Some
|
---|
293 | samples may have been removed in newer versions, so in order to be sure
|
---|
294 | local and server fate samples are identical when you use previously
|
---|
295 | saved samples, run the following command:
|
---|
296 | </para>
|
---|
297 |
|
---|
298 | <screen role="nodump"><userinput>rsync -vrltLW --delete --timeout=60 --contimeout=60 \
|
---|
299 | rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</userinput></screen>
|
---|
300 |
|
---|
301 | <para>
|
---|
302 | Next, execute FATE with the following commands (there are more than 3800
|
---|
303 | tests in the suite):
|
---|
304 | </para>
|
---|
305 |
|
---|
306 | <screen remap="test"><userinput>make fate THREADS=<replaceable>N</replaceable> SAMPLES=fate-suite/ | tee ../fate.log &&
|
---|
307 | grep ^TEST ../fate.log | wc -l</userinput></screen>
|
---|
308 |
|
---|
309 | <para>
|
---|
310 | where <replaceable>N</replaceable> is an integer,
|
---|
311 | <replaceable>N</replaceable> ≤ number of cores in the system.
|
---|
312 | </para>
|
---|
313 |
|
---|
314 | <para>
|
---|
315 | A successful run should return no errors or warnings, just a list of tests
|
---|
316 | and total amount at the end.
|
---|
317 | </para>
|
---|
318 |
|
---|
319 | </sect2>
|
---|
320 |
|
---|
321 | <sect2 role="commands">
|
---|
322 | <title>Command Explanations</title>
|
---|
323 |
|
---|
324 |
|
---|
325 | <para>
|
---|
326 | <command>find ... ;</command>: Fixes permissions of documentation files
|
---|
327 | and directories.
|
---|
328 | </para>
|
---|
329 |
|
---|
330 | <para>
|
---|
331 | <parameter>--enable-libfreetype</parameter>: Enables
|
---|
332 | <application>Freetype</application> support.
|
---|
333 | </para>
|
---|
334 |
|
---|
335 | <para>
|
---|
336 | <parameter>--enable-gpl</parameter>: Enables the use of GPL code and
|
---|
337 | permits support for postprocessing, swscale and many other features.
|
---|
338 | </para>
|
---|
339 |
|
---|
340 | <para>
|
---|
341 | <parameter>--enable-version3</parameter>: Enables the use of (L)GPL
|
---|
342 | version 3 code.
|
---|
343 | </para>
|
---|
344 |
|
---|
345 | <para>
|
---|
346 | <parameter>--enable-nonfree</parameter>: Enables the use of nonfree code.
|
---|
347 | Note that the resulting libraries and binaries will be unredistributable.
|
---|
348 | </para>
|
---|
349 |
|
---|
350 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
351 | href="../../xincludes/static-libraries.xml"/>
|
---|
352 |
|
---|
353 | <para>
|
---|
354 | <parameter>--enable-shared</parameter>: Enables building shared
|
---|
355 | libraries, otherwise only static libraries are built and installed.
|
---|
356 | </para>
|
---|
357 |
|
---|
358 | <para>
|
---|
359 | <parameter>--disable-debug</parameter>: Disables building debugging
|
---|
360 | symbols into the programs and libraries.
|
---|
361 | </para>
|
---|
362 |
|
---|
363 | <para>
|
---|
364 | <parameter>--enable-libaom</parameter>: Enables AV1 audio and video
|
---|
365 | decoding via <filename class="libraryfile">libaom</filename>.
|
---|
366 | </para>
|
---|
367 |
|
---|
368 | <para>
|
---|
369 | <parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
|
---|
370 | rendering via <filename class="libraryfile">libass</filename>.
|
---|
371 | </para>
|
---|
372 |
|
---|
373 | <para>
|
---|
374 | <option>--enable-libdrm</option>: Use this switch if
|
---|
375 | <xref linkend="libdrm"/> is installed to build the <quote>kmsgrab</quote>
|
---|
376 | input module which is useful for screen capturing or streaming.
|
---|
377 | </para>
|
---|
378 |
|
---|
379 | <para>
|
---|
380 | <parameter>--enable-libfdk-aac</parameter>: Enables AAC audio encoding via
|
---|
381 | <filename class="libraryfile">libfdk-aac</filename>.
|
---|
382 | </para>
|
---|
383 |
|
---|
384 | <para>
|
---|
385 | <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding
|
---|
386 | via <filename class="libraryfile">libmp3lame</filename>.
|
---|
387 | </para>
|
---|
388 | <!--
|
---|
389 | <para>
|
---|
390 | <parameter>- -enable-libvorbis</parameter>
|
---|
391 | <parameter>- -enable-libtheora</parameter>: Enables
|
---|
392 | Theora video encoding via <filename
|
---|
393 | class="libraryfile">libvorbis</filename> and <filename
|
---|
394 | class="libraryfile">libtheora</filename>.
|
---|
395 | </para>
|
---|
396 | -->
|
---|
397 | <para>
|
---|
398 | <parameter>--enable-libvorbis</parameter>
|
---|
399 | <parameter>--enable-libvpx</parameter>: Enables WebM
|
---|
400 | encoding via <filename class="libraryfile">libvorbis</filename> and
|
---|
401 | <filename class="libraryfile">libvpx</filename>.
|
---|
402 | </para>
|
---|
403 |
|
---|
404 | <para>
|
---|
405 | <parameter>--enable-libx264</parameter>: Enables high-quality
|
---|
406 | H.264/MPEG-4 AVC encoding via <filename
|
---|
407 | class="libraryfile">libx264</filename>.
|
---|
408 | </para>
|
---|
409 |
|
---|
410 | <para>
|
---|
411 | <parameter>--enable-libx265</parameter>: Enables high-quality
|
---|
412 | H.265/HEVC encoding via <filename
|
---|
413 | class="libraryfile">libx265</filename>.
|
---|
414 | </para>
|
---|
415 |
|
---|
416 | <para>
|
---|
417 | <parameter>--enable-openssl</parameter>:
|
---|
418 | Enables HTTPS protocol for network streams.
|
---|
419 | </para>
|
---|
420 |
|
---|
421 | <!--
|
---|
422 | <para>
|
---|
423 | <parameter>- -disable-vulkan</parameter>: Disables Vulkan for the
|
---|
424 | current version of <xref linkend="vulkan-loader"/> due to
|
---|
425 | an API conflict.
|
---|
426 | </para>
|
---|
427 | -->
|
---|
428 |
|
---|
429 | <para>
|
---|
430 | <parameter>--ignore-tests=...</parameter>: Disables tests that fail to
|
---|
431 | run on
|
---|
432 | BLFS without the optional packages. Currently the AV1 test is disabled
|
---|
433 | as it needs dav1d to do AV1 decoding on the CPU. The test might work if
|
---|
434 | you have a GPU that can decode AV1, but this was not tested.
|
---|
435 | </para>
|
---|
436 |
|
---|
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 |
|
---|
444 | <para>
|
---|
445 | <option>--disable-doc</option>: Disables building html documentation.
|
---|
446 | This is only needed if <xref linkend="doxygen"/> is installed and you
|
---|
447 | do not want to build the html documentation.
|
---|
448 | </para>
|
---|
449 |
|
---|
450 | <para>
|
---|
451 | <option>--enable-libpulse</option>: Enables support for
|
---|
452 | <application>Pulseaudio</application> for audio output.
|
---|
453 | </para>
|
---|
454 |
|
---|
455 | <para>
|
---|
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.
|
---|
463 | </para>
|
---|
464 |
|
---|
465 | <note>
|
---|
466 | <para>
|
---|
467 | Support for most of the dependency packages requires using options
|
---|
468 | passed to the <command>configure</command> script. View the output
|
---|
469 | from <command>./configure --help</command> for complete information
|
---|
470 | about enabling dependency packages.
|
---|
471 | </para>
|
---|
472 | </note>
|
---|
473 |
|
---|
474 | </sect2>
|
---|
475 |
|
---|
476 | <sect2 role="content">
|
---|
477 | <title>Contents</title>
|
---|
478 |
|
---|
479 | <segmentedlist>
|
---|
480 | <segtitle>Installed Programs</segtitle>
|
---|
481 | <segtitle>Installed Libraries</segtitle>
|
---|
482 | <segtitle>Installed Directories</segtitle>
|
---|
483 |
|
---|
484 | <seglistitem>
|
---|
485 | <seg>
|
---|
486 | ffmpeg, ffplay, ffprobe, <!--ffserver,--> and qt-faststart
|
---|
487 | </seg>
|
---|
488 | <seg>
|
---|
489 | libavcodec.so, libavdevice.so, libavfilter.so,
|
---|
490 | libavformat.so, libavutil.so, libpostproc.so,
|
---|
491 | libswresample.so, and libswscale.so
|
---|
492 | </seg>
|
---|
493 | <seg>
|
---|
494 | /usr/include/libav{codec,device,filter,format,util},
|
---|
495 | /usr/include/libpostproc,
|
---|
496 | /usr/include/libsw{resample,scale},
|
---|
497 | /usr/share/doc/ffmpeg-&ffmpeg-version;, and
|
---|
498 | /usr/share/ffmpeg
|
---|
499 | </seg>
|
---|
500 | </seglistitem>
|
---|
501 | </segmentedlist>
|
---|
502 |
|
---|
503 | <variablelist>
|
---|
504 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
505 | <?dbfo list-presentation="list"?>
|
---|
506 | <?dbhtml list-presentation="table"?>
|
---|
507 |
|
---|
508 | <varlistentry id="ffmpeg-prog">
|
---|
509 | <term><command>ffmpeg</command></term>
|
---|
510 | <listitem>
|
---|
511 | <para>
|
---|
512 | is a command-line tool to convert video files, network streams and
|
---|
513 | input from a TV card to several video formats
|
---|
514 | </para>
|
---|
515 | <indexterm zone="ffmpeg ffmpeg-prog">
|
---|
516 | <primary sortas="b-ffmpeg">ffmpeg</primary>
|
---|
517 | </indexterm>
|
---|
518 | </listitem>
|
---|
519 | </varlistentry>
|
---|
520 |
|
---|
521 | <varlistentry id="ffplay">
|
---|
522 | <term><command>ffplay</command></term>
|
---|
523 | <listitem>
|
---|
524 | <para>
|
---|
525 | is a very simple and portable media player using the
|
---|
526 | <filename>ffmpeg</filename> libraries and the SDL library
|
---|
527 | </para>
|
---|
528 | <indexterm zone="ffmpeg ffplay">
|
---|
529 | <primary sortas="b-ffplay">ffplay</primary>
|
---|
530 | </indexterm>
|
---|
531 | </listitem>
|
---|
532 | </varlistentry>
|
---|
533 |
|
---|
534 | <varlistentry id="ffprobe">
|
---|
535 | <term><command>ffprobe</command></term>
|
---|
536 | <listitem>
|
---|
537 | <para>
|
---|
538 | gathers information from multimedia streams and prints it in a human
|
---|
539 | and machine-readable fashion
|
---|
540 | </para>
|
---|
541 | <indexterm zone="ffmpeg ffprobe">
|
---|
542 | <primary sortas="b-ffprobe">ffprobe</primary>
|
---|
543 | </indexterm>
|
---|
544 | </listitem>
|
---|
545 | </varlistentry>
|
---|
546 |
|
---|
547 | <varlistentry id="qt-faststart">
|
---|
548 | <term><command>qt-faststart</command></term>
|
---|
549 | <listitem>
|
---|
550 | <para>
|
---|
551 | moves the index file to the front of quicktime (mov/mp4) videos
|
---|
552 | </para>
|
---|
553 | <indexterm zone="ffmpeg qt-faststart">
|
---|
554 | <primary sortas="b-qt-faststart">qt-faststart</primary>
|
---|
555 | </indexterm>
|
---|
556 | </listitem>
|
---|
557 | </varlistentry>
|
---|
558 |
|
---|
559 | <varlistentry id="libavcodec">
|
---|
560 | <term><filename class="libraryfile">libavcodec.so</filename></term>
|
---|
561 | <listitem>
|
---|
562 | <para>
|
---|
563 | is a library containing the <application>FFmpeg</application> codecs
|
---|
564 | (both encoding and decoding)
|
---|
565 | </para>
|
---|
566 | <indexterm zone="ffmpeg libavcodec">
|
---|
567 | <primary sortas="c-libavcodec">libavcodec.so</primary>
|
---|
568 | </indexterm>
|
---|
569 | </listitem>
|
---|
570 | </varlistentry>
|
---|
571 |
|
---|
572 | <varlistentry id="libavdevice">
|
---|
573 | <term><filename class="libraryfile">libavdevice.so</filename></term>
|
---|
574 | <listitem>
|
---|
575 | <para>
|
---|
576 | is the <application>FFmpeg</application> device handling library
|
---|
577 | </para>
|
---|
578 | <indexterm zone="ffmpeg libavdevice">
|
---|
579 | <primary sortas="c-libavdevice">libavdevice.so</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="libavfilter">
|
---|
585 | <term><filename class="libraryfile">libavfilter.so</filename></term>
|
---|
586 | <listitem>
|
---|
587 | <para>
|
---|
588 | is a library of filters that can alter video or audio between the
|
---|
589 | decoder and the encoder (or output)
|
---|
590 | </para>
|
---|
591 | <indexterm zone="ffmpeg libavfilter">
|
---|
592 | <primary sortas="c-libavfilter">libavfilter.so</primary>
|
---|
593 | </indexterm>
|
---|
594 | </listitem>
|
---|
595 | </varlistentry>
|
---|
596 |
|
---|
597 | <varlistentry id="libavformat">
|
---|
598 | <term><filename class="libraryfile">libavformat.so</filename></term>
|
---|
599 | <listitem>
|
---|
600 | <para>
|
---|
601 | is a library containing the file formats handling (mux and demux
|
---|
602 | code for several formats) used by <command>ffplay</command> as well
|
---|
603 | as allowing the generation of audio or video streams
|
---|
604 | </para>
|
---|
605 | <indexterm zone="ffmpeg libavformat">
|
---|
606 | <primary sortas="c-libavformat">libavformat.so</primary>
|
---|
607 | </indexterm>
|
---|
608 | </listitem>
|
---|
609 | </varlistentry>
|
---|
610 |
|
---|
611 | <varlistentry id="libavresample">
|
---|
612 | <term><filename class="libraryfile">libavresample.so</filename></term>
|
---|
613 | <listitem>
|
---|
614 | <para>
|
---|
615 | is a library containing functions for resampling audio and video.
|
---|
616 | </para>
|
---|
617 | <indexterm zone="ffmpeg libavresample">
|
---|
618 | <primary sortas="c-libavresample">libavresample</primary>
|
---|
619 | </indexterm>
|
---|
620 | </listitem>
|
---|
621 | </varlistentry>
|
---|
622 |
|
---|
623 | <varlistentry id="libavutil">
|
---|
624 | <term><filename class="libraryfile">libavutil.so</filename></term>
|
---|
625 | <listitem>
|
---|
626 | <para>
|
---|
627 | is the <application>FFmpeg</application> utility library
|
---|
628 | </para>
|
---|
629 | <indexterm zone="ffmpeg libavutil">
|
---|
630 | <primary sortas="c-libavutil">libavutil.so</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="libpostproc">
|
---|
636 | <term><filename class="libraryfile">libpostproc.so</filename></term>
|
---|
637 | <listitem>
|
---|
638 | <para>
|
---|
639 | is the <application>FFmpeg</application> post processing library
|
---|
640 | </para>
|
---|
641 | <indexterm zone="ffmpeg libpostproc">
|
---|
642 | <primary sortas="c-libpostproc">libpostproc.so</primary>
|
---|
643 | </indexterm>
|
---|
644 | </listitem>
|
---|
645 | </varlistentry>
|
---|
646 |
|
---|
647 | <varlistentry id="libswresample">
|
---|
648 | <term><filename class="libraryfile">libswresample.so</filename></term>
|
---|
649 | <listitem>
|
---|
650 | <para>
|
---|
651 | is the <application>FFmpeg</application> audio rescaling library,
|
---|
652 | it contains functions for converting audio sample formats
|
---|
653 | </para>
|
---|
654 | <indexterm zone="ffmpeg libswresample">
|
---|
655 | <primary sortas="c-libswresample">libswresample.so</primary>
|
---|
656 | </indexterm>
|
---|
657 | </listitem>
|
---|
658 | </varlistentry>
|
---|
659 |
|
---|
660 | <varlistentry id="libswscale">
|
---|
661 | <term><filename class="libraryfile">libswscale.so</filename></term>
|
---|
662 | <listitem>
|
---|
663 | <para>
|
---|
664 | is the <application>FFmpeg</application> image rescaling library
|
---|
665 | </para>
|
---|
666 | <indexterm zone="ffmpeg libswscale">
|
---|
667 | <primary sortas="c-libswscale">libswscale.so</primary>
|
---|
668 | </indexterm>
|
---|
669 | </listitem>
|
---|
670 | </varlistentry>
|
---|
671 |
|
---|
672 | </variablelist>
|
---|
673 |
|
---|
674 | </sect2>
|
---|
675 |
|
---|
676 | </sect1>
|
---|