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 "7b9d5b652d20e8c5405304ad72636d4a">
|
---|
10 | <!ENTITY ffmpeg-size "9.2 MB">
|
---|
11 | <!ENTITY ffmpeg-buildsize "176 MB (add 2.4 GB for the FATE suite/tests, add 1.4 GB for documentation)">
|
---|
12 | <!ENTITY ffmpeg-time "1.3 SBU (using parallelism=4; add 3.6 SBU (with THREADS=4) to run the FATE suite after sample files are downloaded; add 0.7 SBU for doxygen docs)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
|
---|
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 |
|
---|
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.
|
---|
39 | <application>FFmpeg</application> can use a Video4Linux compatible video
|
---|
40 | source and any Open Sound System audio source.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | &lfs110a_checked;
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (HTTP): <ulink url="&ffmpeg-download-http;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (FTP): <ulink url="&ffmpeg-download-ftp;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download MD5 sum: &ffmpeg-md5sum;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download size: &ffmpeg-size;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated disk space required: &ffmpeg-buildsize;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated build time: &ffmpeg-time;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="libass"/>,
|
---|
84 | <xref linkend="fdk-aac"/>,
|
---|
85 | <xref linkend="freetype2"/>,
|
---|
86 | <xref linkend="lame"/>,
|
---|
87 | <xref linkend="libtheora"/>,
|
---|
88 | <xref linkend="libvorbis"/>,
|
---|
89 | <xref linkend="libvpx"/>,
|
---|
90 | <xref linkend="opus"/>,
|
---|
91 | <xref linkend="x264"/>,
|
---|
92 | <xref linkend="x265"/>, and
|
---|
93 | <xref linkend="nasm"/> or <xref linkend="yasm"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Recommended for desktop use</bridgehead>
|
---|
97 | <para role="recommended">
|
---|
98 | <xref linkend="alsa-lib"/>,
|
---|
99 | <xref linkend="libva"/>,
|
---|
100 | <xref linkend="libvdpau"/> (with the corresponding driver package), and
|
---|
101 | <xref linkend="sdl2"/>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
105 | <para role="optional">
|
---|
106 | <xref linkend="doxygen"/>,
|
---|
107 | <xref linkend="fontconfig"/>,
|
---|
108 | <xref linkend="fribidi"/>,
|
---|
109 | <xref linkend="frei0r"/>,
|
---|
110 | <xref linkend="libcdio"/> (to identify and play CDs),
|
---|
111 | <xref linkend="libdrm"/> (for <quote>kmsgrab</quote> input),
|
---|
112 | <xref linkend="libwebp"/>,
|
---|
113 | <xref linkend="opencv"/>,
|
---|
114 | <xref linkend="openjpeg2"/>,
|
---|
115 | <xref linkend="gnutls"/>,
|
---|
116 | <xref linkend="pulseaudio"/>,
|
---|
117 | <xref linkend="samba"/>,
|
---|
118 | <xref linkend="speex"/>,
|
---|
119 | <xref linkend="texlive"/>
|
---|
120 | (or <xref linkend="tl-installer"/>) for PDF and PS documentation,
|
---|
121 | <xref linkend="v4l-utils"/>,
|
---|
122 | <xref linkend="xvid"/>,
|
---|
123 | <xref linkend="x-window-system"/>,
|
---|
124 | <ulink url="http://www.speech.cs.cmu.edu/flite/">Flite</ulink>,
|
---|
125 | <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
|
---|
126 | <!--<ulink url="http://xhevc.com/en/hevc/decoder/download.jsp">HEVC/H.265</ulink>,-->
|
---|
127 | <!--<ulink url="http://www.ladspa.org/">LADSPA</ulink>,-->
|
---|
128 | <ulink url="http://tipok.org.ua/node/17">libaacplus</ulink>,
|
---|
129 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
130 | <ulink url="http://caca.zoy.org/">libcaca</ulink>,
|
---|
131 | <ulink url="https://gitlab.xiph.org/xiph/celt">libcelt</ulink>,
|
---|
132 | <ulink url="https://sourceforge.net/projects/libdc1394">libdc1394</ulink>,
|
---|
133 | <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
134 | <ulink url="https://ieee1394.wiki.kernel.org/index.php/Libraries">libiec61883</ulink>,
|
---|
135 | <ulink url="https://github.com/dekkers/libilbc">libilbc</ulink>,
|
---|
136 | <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
137 | <ulink url="https://github.com/Distrotech/libnut">libnut</ulink> (Git checkout),
|
---|
138 | <ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
|
---|
139 | <ulink url="http://www.libssh.org/">libssh</ulink>,
|
---|
140 | <!--<ulink url="http://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout),-->
|
---|
141 | <ulink url="https://openal.org/">OpenAL</ulink>,
|
---|
142 | <ulink url="https://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>,
|
---|
143 | <!--<ulink url="http://diracvideo.org/">Schroedinger</ulink>,-->
|
---|
144 | <ulink url="https://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
|
---|
145 | <ulink url="http://www.twolame.org/">TwoLAME</ulink>,
|
---|
146 | <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>,
|
---|
147 | <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>, and
|
---|
148 | <!--<ulink url="http://www.videolan.org/developers/x265.html">x265 (H.265/MPEG-H HEVC)</ulink>, and-->
|
---|
149 | <ulink url="http://zapping.sourceforge.net/ZVBI/">ZVBI</ulink>
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | <para condition="html" role="usernotes">
|
---|
153 | User Notes: <ulink url="&blfs-wiki;/ffmpeg"/>
|
---|
154 | </para>
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <sect2 role="installation">
|
---|
158 | <title>Installation of FFmpeg</title>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | Install <application>FFmpeg</application> by running the following
|
---|
162 | commands:
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure &&
|
---|
166 |
|
---|
167 | ./configure --prefix=/usr \
|
---|
168 | --enable-gpl \
|
---|
169 | --enable-version3 \
|
---|
170 | --enable-nonfree \
|
---|
171 | --disable-static \
|
---|
172 | --enable-shared \
|
---|
173 | --disable-debug \
|
---|
174 | --enable-avresample \
|
---|
175 | --enable-libass \
|
---|
176 | --enable-libfdk-aac \
|
---|
177 | --enable-libfreetype \
|
---|
178 | --enable-libmp3lame \
|
---|
179 | --enable-libopus \
|
---|
180 | --enable-libtheora \
|
---|
181 | --enable-libvorbis \
|
---|
182 | --enable-libvpx \
|
---|
183 | --enable-libx264 \
|
---|
184 | --enable-libx265 \
|
---|
185 | --enable-openssl \
|
---|
186 | --docdir=/usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
187 |
|
---|
188 | make &&
|
---|
189 |
|
---|
190 | gcc tools/qt-faststart.c -o tools/qt-faststart</userinput></screen>
|
---|
191 |
|
---|
192 | <para>
|
---|
193 | HTML documentation was built in the previous step. If you have
|
---|
194 | <xref linkend="texlive"/> installed and wish to build PDF and
|
---|
195 | Postscript versions of the documentation, issue the following commands:
|
---|
196 | </para>
|
---|
197 |
|
---|
198 | <!-- sed -i '$s/$/\n\n@bye/' doc/{git-howto,nut,fate}.texi &&
|
---|
199 | sed -i '/machine:i386/ s/\\/@backslashchar{}/g' doc/platform.texi && -->
|
---|
200 | <screen remap="doc"><userinput>pushd doc &&
|
---|
201 | for DOCNAME in `basename -s .html *.html`
|
---|
202 | do
|
---|
203 | texi2pdf -b $DOCNAME.texi &&
|
---|
204 | texi2dvi -b $DOCNAME.texi &&
|
---|
205 |
|
---|
206 | dvips -o $DOCNAME.ps \
|
---|
207 | $DOCNAME.dvi
|
---|
208 | done &&
|
---|
209 | popd &&
|
---|
210 | unset DOCNAME</userinput></screen>
|
---|
211 |
|
---|
212 | <para>
|
---|
213 | If you have <xref linkend="doxygen"/> installed
|
---|
214 | and you wish to build (if --disable-doc was
|
---|
215 | used) or rebuild the html documentation, issue:
|
---|
216 | </para>
|
---|
217 |
|
---|
218 | <screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
219 |
|
---|
220 | <para>
|
---|
221 | The fate-suite tests include comparisons with installed files, and should
|
---|
222 | not be run before the package is installed. Therefore, if you desire to
|
---|
223 | run them, instructions are given further below.
|
---|
224 | </para>
|
---|
225 |
|
---|
226 | <para>
|
---|
227 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
228 | </para>
|
---|
229 |
|
---|
230 | <screen role="root"><userinput>make install &&
|
---|
231 |
|
---|
232 | install -v -m755 tools/qt-faststart /usr/bin &&
|
---|
233 | install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
234 | install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
235 |
|
---|
236 | <para>
|
---|
237 | If the PDF and Postscript documentation was built, issue the following
|
---|
238 | commands, as the <systemitem class="username">root</systemitem> user, to
|
---|
239 | install them:
|
---|
240 | </para>
|
---|
241 |
|
---|
242 | <screen role="root"
|
---|
243 | remap="doc"><userinput>install -v -m644 doc/*.pdf /usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
244 | install -v -m644 doc/*.ps /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
245 |
|
---|
246 | <para>
|
---|
247 | If you used <command>doxygen</command> to manually create the API
|
---|
248 | documentation, install it by issuing the following commands
|
---|
249 | as the <systemitem class="username">root</systemitem> user:
|
---|
250 | </para>
|
---|
251 |
|
---|
252 | <screen role="root"
|
---|
253 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
254 | cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
255 | find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; &&
|
---|
256 | find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen>
|
---|
257 |
|
---|
258 | <para>
|
---|
259 | To properly test the installation you must have <xref linkend="rsync"/>
|
---|
260 | installed and follow the instructions for the <ulink
|
---|
261 | url="http://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing
|
---|
262 | Environment</ulink> (FATE). First, about 1 GB of sample files used to
|
---|
263 | run FATE are downloaded with the command:
|
---|
264 | </para>
|
---|
265 |
|
---|
266 | <screen remap="test"><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen>
|
---|
267 |
|
---|
268 | <para>
|
---|
269 | The <filename class="directory">fate-suite</filename> directory is
|
---|
270 | created and the files are downloaded there. That command actually runs an
|
---|
271 | rsync command, to obtain the sample files. You may want to compress and
|
---|
272 | keep this directory for testing again, in another system, or when a new
|
---|
273 | version of ffmpeg is launched. Then, you unpack the sample files in the
|
---|
274 | source directory, and run, again, the <command>make fate-rsync
|
---|
275 | ...</command> command above, to sync with the repository. Now, the
|
---|
276 | download size and time are drastically reduced. Estimated values in
|
---|
277 | "Package Information" do not include the download SBU. Some samples may
|
---|
278 | have been removed, in the new version, so, in order to be sure local and
|
---|
279 | server fate samples are identical, when you use previously saved samples,
|
---|
280 | run the following command:
|
---|
281 | </para>
|
---|
282 |
|
---|
283 | <screen role="nodump"><userinput>rsync -vrltLW --delete --timeout=60 --contimeout=60 \
|
---|
284 | rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</userinput></screen>
|
---|
285 |
|
---|
286 | <para>
|
---|
287 | Next, FATE is executed, with the commands (you obtain a number of tests
|
---|
288 | larger than 3700):
|
---|
289 | </para>
|
---|
290 |
|
---|
291 | <screen remap="test"><userinput>make fate THREADS=<replaceable>N</replaceable> SAMPLES=fate-suite/ | tee ../fate.log &&
|
---|
292 | grep ^TEST ../fate.log | wc -l</userinput></screen>
|
---|
293 |
|
---|
294 | <para>
|
---|
295 | where <replaceable>N</replaceable> is an integer,
|
---|
296 | <replaceable>N</replaceable> ≤ number of cores in the system.
|
---|
297 | </para>
|
---|
298 |
|
---|
299 | </sect2>
|
---|
300 |
|
---|
301 | <sect2 role="commands">
|
---|
302 | <title>Command Explanations</title>
|
---|
303 |
|
---|
304 | <para>
|
---|
305 | <command>sed -i ... configure</command>: This command adds the
|
---|
306 | <application>ALSA</application> library to the
|
---|
307 | <application>Flite</application> <envar>LDFLAGS</envar> variable and
|
---|
308 | enables the discovery of <application>Flite</application>.
|
---|
309 | </para>
|
---|
310 |
|
---|
311 | <para>
|
---|
312 | <command>find ... ;</command>: Fixes permissions of documentation files
|
---|
313 | and directories.
|
---|
314 | </para>
|
---|
315 |
|
---|
316 | <para>
|
---|
317 | <parameter>--enable-libfreetype</parameter>: Enables
|
---|
318 | <application>Freetype</application> support.
|
---|
319 | </para>
|
---|
320 |
|
---|
321 | <para>
|
---|
322 | <parameter>--enable-gpl</parameter>: Enables the use of GPL code and
|
---|
323 | permits support for postprocessing, swscale and many other features.
|
---|
324 | </para>
|
---|
325 |
|
---|
326 | <para>
|
---|
327 | <parameter>--enable-version3</parameter>: Enables the use of (L)GPL
|
---|
328 | version 3 code.
|
---|
329 | </para>
|
---|
330 |
|
---|
331 | <para>
|
---|
332 | <parameter>--enable-nonfree</parameter>: Enables the use of nonfree code.
|
---|
333 | Note that the resulting libraries and binaries will be unredistributable.
|
---|
334 | </para>
|
---|
335 |
|
---|
336 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
337 | href="../../xincludes/static-libraries.xml"/>
|
---|
338 |
|
---|
339 | <para>
|
---|
340 | <parameter>--enable-shared</parameter>: Enables building shared
|
---|
341 | libraries, otherwise only static libraries are built and installed.
|
---|
342 | </para>
|
---|
343 |
|
---|
344 | <para>
|
---|
345 | <parameter>--disable-debug</parameter>: Disables building debugging
|
---|
346 | symbols into the programs and libraries.
|
---|
347 | </para>
|
---|
348 |
|
---|
349 | <para>
|
---|
350 | <parameter>--enable-avresample</parameter>: Enables
|
---|
351 | <xref linkend="transcode"/> to be compiled.
|
---|
352 | </para>
|
---|
353 |
|
---|
354 | <para>
|
---|
355 | <parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
|
---|
356 | rendering via <filename class="libraryfile">libass</filename>.
|
---|
357 | </para>
|
---|
358 |
|
---|
359 | <para>
|
---|
360 | <option>--enable-libdrm</option>: Use this switch if
|
---|
361 | <xref linkend="libdrm"/> is installed to build the <quote>kmsgrab</quote>
|
---|
362 | input module which is useful for screen capturing or streaming.
|
---|
363 | </para>
|
---|
364 |
|
---|
365 | <para>
|
---|
366 | <parameter>--enable-libfdk-aac</parameter>: Enables currently the
|
---|
367 | highest-quality AAC audio encoding via <filename
|
---|
368 | class="libraryfile">libfdk-aac</filename>.
|
---|
369 | </para>
|
---|
370 |
|
---|
371 | <para>
|
---|
372 | <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding
|
---|
373 | via <filename class="libraryfile">libmp3lame</filename>.
|
---|
374 | </para>
|
---|
375 |
|
---|
376 | <para>
|
---|
377 | <parameter>--enable-libvorbis --enable-libtheora</parameter>: Enables
|
---|
378 | Theora video encoding via <filename
|
---|
379 | class="libraryfile">libvorbis</filename> and <filename
|
---|
380 | class="libraryfile">libtheora</filename>.
|
---|
381 | </para>
|
---|
382 |
|
---|
383 | <para>
|
---|
384 | <parameter>--enable-libvorbis --enable-libvpx</parameter>: Enables WebM
|
---|
385 | encoding via <filename class="libraryfile">libvorbis</filename> and
|
---|
386 | <filename class="libraryfile">libvpx</filename>.
|
---|
387 | </para>
|
---|
388 |
|
---|
389 | <para>
|
---|
390 | <parameter>--enable-libx264</parameter>: Enables high-quality
|
---|
391 | H.264/MPEG-4 AVC encoding via <filename
|
---|
392 | class="libraryfile">libx264</filename>.
|
---|
393 | </para>
|
---|
394 |
|
---|
395 | <para>
|
---|
396 | <parameter>--enable-libx265</parameter>: Enables high-quality
|
---|
397 | H.265/HEVC encoding via <filename
|
---|
398 | class="libraryfile">libx265</filename>.
|
---|
399 | </para>
|
---|
400 |
|
---|
401 | <para>
|
---|
402 | <parameter>--enable-openssl</parameter>:
|
---|
403 | Enables HTTPS protocol for network streams.
|
---|
404 | </para>
|
---|
405 |
|
---|
406 | <para>
|
---|
407 | <option>--enable-gnutls</option>: Use this option instead of
|
---|
408 | <parameter>--enable-openssl</parameter>, if you want to use
|
---|
409 | <application>GnuTLS</application> instead of
|
---|
410 | <application>OpenSSL</application> for HTTPS protocol.
|
---|
411 | </para>
|
---|
412 |
|
---|
413 | <para>
|
---|
414 | <option>--disable-doc</option>: Disables building html documentation.
|
---|
415 | This is only needed if <xref linkend="doxygen"/> is installed and you
|
---|
416 | do not want to build the html documentation.
|
---|
417 | </para>
|
---|
418 |
|
---|
419 | <para>
|
---|
420 | <option>--enable-libpulse</option>: Enables support for
|
---|
421 | <application>Pulseaudio</application> for audio output.
|
---|
422 | </para>
|
---|
423 |
|
---|
424 | <para>
|
---|
425 | <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>: This
|
---|
426 | builds the <command>qt-faststart</command> program which can modify
|
---|
427 | QuickTime formatted movies (<filename class="extension">.mov</filename>
|
---|
428 | or <filename class="extension">.mp4</filename>) so that the header
|
---|
429 | information is located at the beginning of the file instead of the end.
|
---|
430 | This allows the movie file to begin playing before the entire file has
|
---|
431 | been downloaded.
|
---|
432 | </para>
|
---|
433 |
|
---|
434 | <note>
|
---|
435 | <para>
|
---|
436 | Support for most of the dependency packages requires using options
|
---|
437 | passed to the <command>configure</command> script. View the output
|
---|
438 | from <command>./configure --help</command> for complete information
|
---|
439 | about enabling dependency packages.
|
---|
440 | </para>
|
---|
441 | </note>
|
---|
442 |
|
---|
443 | </sect2>
|
---|
444 |
|
---|
445 | <!-- ffserver has been removed
|
---|
446 | <sect2 role="configuration">
|
---|
447 | <title>Configuring FFmpeg</title>
|
---|
448 |
|
---|
449 | <sect3 id="ffmpeg-config">
|
---|
450 | <title>Config Files</title>
|
---|
451 |
|
---|
452 | <para>
|
---|
453 | <filename>/etc/ffserver.conf</filename>
|
---|
454 | <filename>~/.ffmpeg/ffserver-config</filename>
|
---|
455 | </para>
|
---|
456 |
|
---|
457 | <indexterm zone="ffmpeg ffmpeg-config">
|
---|
458 | <primary
|
---|
459 | sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
|
---|
460 | </indexterm>
|
---|
461 |
|
---|
462 | <indexterm zone="ffmpeg ffmpeg-config">
|
---|
463 | <primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
|
---|
464 | </indexterm>
|
---|
465 |
|
---|
466 | <para>
|
---|
467 | You'll find a sample <command>ffserver</command> configuration file at
|
---|
468 | <filename>doc/ffserver.conf</filename> in the source tree.
|
---|
469 | </para>
|
---|
470 |
|
---|
471 | </sect3>
|
---|
472 |
|
---|
473 | </sect2>
|
---|
474 | -->
|
---|
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, libavresample.so, libpostproc.so,
|
---|
491 | libswresample.so, and libswscale.so
|
---|
492 | </seg>
|
---|
493 | <seg>
|
---|
494 | /usr/include/libav{codec,device,filter,format,resample,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 | <!-- Not found in 4.3.2
|
---|
548 | <varlistentry id="ffserver">
|
---|
549 | <term><command>ffserver</command></term>
|
---|
550 | <listitem>
|
---|
551 | <para>
|
---|
552 | is a streaming server for everything that <command>ffmpeg</command>
|
---|
553 | could use as input (files, streams, TV card input, webcam, etc)
|
---|
554 | </para>
|
---|
555 | <indexterm zone="ffmpeg ffserver">
|
---|
556 | <primary sortas="b-ffserver">ffserver</primary>
|
---|
557 | </indexterm>
|
---|
558 | </listitem>
|
---|
559 | </varlistentry>
|
---|
560 | -->
|
---|
561 | <varlistentry id="qt-faststart">
|
---|
562 | <term><command>qt-faststart</command></term>
|
---|
563 | <listitem>
|
---|
564 | <para>
|
---|
565 | moves the index file to the front of quicktime (mov/mp4) videos
|
---|
566 | </para>
|
---|
567 | <indexterm zone="ffmpeg qt-faststart">
|
---|
568 | <primary sortas="b-qt-faststart">qt-faststart</primary>
|
---|
569 | </indexterm>
|
---|
570 | </listitem>
|
---|
571 | </varlistentry>
|
---|
572 |
|
---|
573 | <varlistentry id="libavcodec">
|
---|
574 | <term><filename class="libraryfile">libavcodec.so</filename></term>
|
---|
575 | <listitem>
|
---|
576 | <para>
|
---|
577 | is a library containing the <application>FFmpeg</application> codecs
|
---|
578 | (both encoding and decoding)
|
---|
579 | </para>
|
---|
580 | <indexterm zone="ffmpeg libavcodec">
|
---|
581 | <primary sortas="c-libavcodec">libavcodec.so</primary>
|
---|
582 | </indexterm>
|
---|
583 | </listitem>
|
---|
584 | </varlistentry>
|
---|
585 |
|
---|
586 | <varlistentry id="libavdevice">
|
---|
587 | <term><filename class="libraryfile">libavdevice.so</filename></term>
|
---|
588 | <listitem>
|
---|
589 | <para>
|
---|
590 | is the <application>FFmpeg</application> device handling library
|
---|
591 | </para>
|
---|
592 | <indexterm zone="ffmpeg libavdevice">
|
---|
593 | <primary sortas="c-libavdevice">libavdevice.so</primary>
|
---|
594 | </indexterm>
|
---|
595 | </listitem>
|
---|
596 | </varlistentry>
|
---|
597 |
|
---|
598 | <varlistentry id="libavfilter">
|
---|
599 | <term><filename class="libraryfile">libavfilter.so</filename></term>
|
---|
600 | <listitem>
|
---|
601 | <para>
|
---|
602 | is a library of filters that can alter video or audio between the
|
---|
603 | decoder and the encoder (or output)
|
---|
604 | </para>
|
---|
605 | <indexterm zone="ffmpeg libavfilter">
|
---|
606 | <primary sortas="c-libavfilter">libavfilter.so</primary>
|
---|
607 | </indexterm>
|
---|
608 | </listitem>
|
---|
609 | </varlistentry>
|
---|
610 |
|
---|
611 | <varlistentry id="libavformat">
|
---|
612 | <term><filename class="libraryfile">libavformat.so</filename></term>
|
---|
613 | <listitem>
|
---|
614 | <para>
|
---|
615 | is a library containing the file formats handling (mux and demux
|
---|
616 | code for several formats) used by <command>ffplay</command> as well
|
---|
617 | as allowing the generation of audio or video streams
|
---|
618 | </para>
|
---|
619 | <indexterm zone="ffmpeg libavformat">
|
---|
620 | <primary sortas="c-libavformat">libavformat.so</primary>
|
---|
621 | </indexterm>
|
---|
622 | </listitem>
|
---|
623 | </varlistentry>
|
---|
624 |
|
---|
625 | <varlistentry id="libavresample">
|
---|
626 | <term><filename class="libraryfile">libavresample.so</filename></term>
|
---|
627 | <listitem>
|
---|
628 | <para>
|
---|
629 | is a library containing functions for resampling audio and video.
|
---|
630 | </para>
|
---|
631 | <indexterm zone="ffmpeg libavresample">
|
---|
632 | <primary sortas="c-libavresample">libavresample</primary>
|
---|
633 | </indexterm>
|
---|
634 | </listitem>
|
---|
635 | </varlistentry>
|
---|
636 |
|
---|
637 | <varlistentry id="libavutil">
|
---|
638 | <term><filename class="libraryfile">libavutil.so</filename></term>
|
---|
639 | <listitem>
|
---|
640 | <para>
|
---|
641 | is the <application>FFmpeg</application> utility library
|
---|
642 | </para>
|
---|
643 | <indexterm zone="ffmpeg libavutil">
|
---|
644 | <primary sortas="c-libavutil">libavutil.so</primary>
|
---|
645 | </indexterm>
|
---|
646 | </listitem>
|
---|
647 | </varlistentry>
|
---|
648 |
|
---|
649 | <varlistentry id="libpostproc">
|
---|
650 | <term><filename class="libraryfile">libpostproc.so</filename></term>
|
---|
651 | <listitem>
|
---|
652 | <para>
|
---|
653 | is the <application>FFmpeg</application> post processing library
|
---|
654 | </para>
|
---|
655 | <indexterm zone="ffmpeg libpostproc">
|
---|
656 | <primary sortas="c-libpostproc">libpostproc.so</primary>
|
---|
657 | </indexterm>
|
---|
658 | </listitem>
|
---|
659 | </varlistentry>
|
---|
660 |
|
---|
661 | <varlistentry id="libswresample">
|
---|
662 | <term><filename class="libraryfile">libswresample.so</filename></term>
|
---|
663 | <listitem>
|
---|
664 | <para>
|
---|
665 | is the <application>FFmpeg</application> audio rescaling library,
|
---|
666 | it contains functions for converting audio sample formats
|
---|
667 | </para>
|
---|
668 | <indexterm zone="ffmpeg libswresample">
|
---|
669 | <primary sortas="c-libswresample">libswresample.so</primary>
|
---|
670 | </indexterm>
|
---|
671 | </listitem>
|
---|
672 | </varlistentry>
|
---|
673 |
|
---|
674 | <varlistentry id="libswscale">
|
---|
675 | <term><filename class="libraryfile">libswscale.so</filename></term>
|
---|
676 | <listitem>
|
---|
677 | <para>
|
---|
678 | is the <application>FFmpeg</application> image rescaling library
|
---|
679 | </para>
|
---|
680 | <indexterm zone="ffmpeg libswscale">
|
---|
681 | <primary sortas="c-libswscale">libswscale.so</primary>
|
---|
682 | </indexterm>
|
---|
683 | </listitem>
|
---|
684 | </varlistentry>
|
---|
685 |
|
---|
686 | </variablelist>
|
---|
687 |
|
---|
688 | </sect2>
|
---|
689 |
|
---|
690 | </sect1>
|
---|