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