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 "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.xz">
|
---|
8 | <!ENTITY ffmpeg-download-ftp " ">
|
---|
9 | <!ENTITY ffmpeg-md5sum "beb5c69c671aba1386e7156fc2af1ab6">
|
---|
10 | <!ENTITY ffmpeg-size "7.1 MB">
|
---|
11 | <!ENTITY ffmpeg-buildsize "172 MB (add 1.6 GB for the FATE suite/tests
|
---|
12 | and 1.0 GB for the documentation)">
|
---|
13 | <!ENTITY ffmpeg-time "5.3 SBU (add 0.6 SBU for docs and 4.5 SBU
|
---|
14 | to run the FATE suite after sample files are downloaded)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
|
---|
18 | <?dbhtml filename="ffmpeg.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>FFmpeg-&ffmpeg-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="ffmpeg">
|
---|
28 | <primary sortas="a-FFmpeg">FFmpeg</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to FFmpeg</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | <application>FFmpeg</application> is a solution to record, convert and
|
---|
36 | stream audio and video. It is a very fast video and audio converter and it
|
---|
37 | can also acquire from a live audio/video source. Designed to be intuitive,
|
---|
38 | the command-line interface (<command>ffmpeg</command>) tries to figure out
|
---|
39 | all the parameters, when possible. <application>FFmpeg</application> can
|
---|
40 | also convert from any sample rate to any other, and resize video on the
|
---|
41 | fly with a high quality polyphase filter.
|
---|
42 | <application>FFmpeg</application> can use a Video4Linux compatible video
|
---|
43 | source and any Open Sound System audio source.
|
---|
44 | </para>
|
---|
45 |
|
---|
46 | &lfs78_checked;
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
49 | <itemizedlist spacing="compact">
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (HTTP): <ulink url="&ffmpeg-download-http;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download (FTP): <ulink url="&ffmpeg-download-ftp;"/>
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download MD5 sum: &ffmpeg-md5sum;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Download size: &ffmpeg-size;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated disk space required: &ffmpeg-buildsize;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Estimated build time: &ffmpeg-time;
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
85 | <para role="recommended">
|
---|
86 | <xref linkend="libass"/>,
|
---|
87 | <xref linkend="fdk-aac"/>,
|
---|
88 | <xref linkend="freetype2"/>,
|
---|
89 | <xref linkend="lame"/>,
|
---|
90 | <xref linkend="libtheora"/>,
|
---|
91 | <xref linkend="libvorbis"/>,
|
---|
92 | <xref linkend="libvpx"/>,
|
---|
93 | <xref linkend="opus"/>,
|
---|
94 | <xref linkend="x264"/>,
|
---|
95 | <xref linkend="x265"/>, and
|
---|
96 | <xref linkend="yasm"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <bridgehead renderas="sect4">Recommended for desktop use</bridgehead>
|
---|
100 | <para>
|
---|
101 | <xref linkend="alsa-lib"/>,
|
---|
102 | <xref linkend="libva"/>,
|
---|
103 | <xref linkend="libvdpau"/> (with the corresponding driver package), and
|
---|
104 | <xref linkend="sdl"/>
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
108 | <para role="optional">
|
---|
109 | <xref linkend="faac"/>,
|
---|
110 | <xref linkend="fontconfig"/>,
|
---|
111 | <xref linkend="frei0r"/>,
|
---|
112 | <xref linkend="libcdio"/> (to identify and play CDs),
|
---|
113 | <xref linkend="libwebp"/>,
|
---|
114 | <xref linkend="opencv"/>,
|
---|
115 | <xref linkend="openjpeg"/>,
|
---|
116 | <xref linkend="openssl"/> or
|
---|
117 | <xref linkend="gnutls"/>,
|
---|
118 | <xref linkend="pulseaudio"/>,
|
---|
119 | <xref linkend="speex"/>,
|
---|
120 | <xref linkend="texlive"/>
|
---|
121 | (or <xref linkend="tl-installer"/>) for PDF and PS documentation,
|
---|
122 | <xref linkend="v4l-utils"/>,
|
---|
123 | <xref linkend="xvid"/>,
|
---|
124 | <xref linkend="x-window-system"/>,
|
---|
125 | <ulink url="http://www.speech.cs.cmu.edu/flite/">Flite</ulink>,
|
---|
126 | <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
|
---|
127 | <ulink url="http://xhevc.com/en/hevc/decoder/download.jsp">HEVC/H.265</ulink>,
|
---|
128 | <!--<ulink url="http://www.ladspa.org/">LADSPA</ulink>,-->
|
---|
129 | <ulink url="http://tipok.org.ua/node/17">libaacplus</ulink>,
|
---|
130 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
131 | <ulink url="http://caca.zoy.org/">libcaca</ulink>,
|
---|
132 | <ulink url="http://www.celt-codec.org/">libcelt</ulink>,
|
---|
133 | <ulink url="http://sourceforge.net/projects/libdc1394">libdc1394</ulink>,
|
---|
134 | <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
135 | <ulink url="https://ieee1394.wiki.kernel.org/index.php/Libraries">libiec61883</ulink>,
|
---|
136 | <ulink url="https://github.com/dekkers/libilbc">libilbc</ulink>,
|
---|
137 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
138 | <ulink url="https://github.com/Distrotech/libnut">libnut</ulink> (Git checkout),
|
---|
139 | <ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
|
---|
140 | <ulink url="http://www.libssh.org/">libssh</ulink>,
|
---|
141 | <!--<ulink url="http://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout),-->
|
---|
142 | <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>,
|
---|
143 | <ulink url="http://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>,
|
---|
144 | <!--<ulink url="http://diracvideo.org/">Schroedinger</ulink>,-->
|
---|
145 | <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
|
---|
146 | <ulink url="http://www.twolame.org/">TwoLAME</ulink>,
|
---|
147 | <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>,
|
---|
148 | <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>, and
|
---|
149 | <!--<ulink url="http://www.videolan.org/developers/x265.html">x265 (H.265/MPEG-H HEVC)</ulink>, and-->
|
---|
150 | <ulink url="http://zapping.sourceforge.net/ZVBI/">ZVBI</ulink>
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <para condition="html" role="usernotes">
|
---|
154 | User Notes: <ulink url="&blfs-wiki;/ffmpeg"/>
|
---|
155 | </para>
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="installation">
|
---|
159 | <title>Installation of FFmpeg</title>
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | Install <application>FFmpeg</application> by running the following
|
---|
163 | commands:
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | <screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure &&
|
---|
167 |
|
---|
168 | ./configure --prefix=/usr \
|
---|
169 | --enable-gpl \
|
---|
170 | --enable-version3 \
|
---|
171 | --enable-nonfree \
|
---|
172 | --disable-static \
|
---|
173 | --enable-shared \
|
---|
174 | --disable-debug \
|
---|
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-x11grab \
|
---|
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 | <screen><userinput>sed -i '$s/$/\n\n@bye/' doc/{git-howto,nut,fate}.texi &&
|
---|
199 | sed -i '/machine:i386/ s/\\/@backslashchar{}/g' doc/platform.texi &&
|
---|
200 | -->
|
---|
201 | <screen><userinput>pushd doc &&
|
---|
202 | for DOCNAME in `basename -s .html *.html`
|
---|
203 | do
|
---|
204 | texi2pdf -b $DOCNAME.texi &&
|
---|
205 | texi2dvi -b $DOCNAME.texi &&
|
---|
206 |
|
---|
207 | dvips -o $DOCNAME.ps \
|
---|
208 | $DOCNAME.dvi
|
---|
209 | done &&
|
---|
210 | popd &&
|
---|
211 | unset DOCNAME</userinput></screen>
|
---|
212 |
|
---|
213 | <para>
|
---|
214 | If you have <xref linkend="doxygen"/> installed and wish to create the API
|
---|
215 | documentation (takes about 350 MB of space), issue the command
|
---|
216 | <command>doxygen doc/Doxyfile</command>.
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <para>
|
---|
220 | The fate-suite tests include comparisons with installed files, and should
|
---|
221 | not be run before the package is installed. Therefore, if you desire to
|
---|
222 | run them, instructions are given further below.
|
---|
223 | </para>
|
---|
224 |
|
---|
225 | <para>
|
---|
226 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
227 | </para>
|
---|
228 |
|
---|
229 | <screen role="root"><userinput>make install &&
|
---|
230 |
|
---|
231 | install -v -m755 tools/qt-faststart /usr/bin &&
|
---|
232 | install -v -m644 doc/*.txt \
|
---|
233 | /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
234 |
|
---|
235 | <para>
|
---|
236 | If PDF and Postscript documentations were built, issue the following
|
---|
237 | commands, as the <systemitem class="username">root</systemitem> user, to
|
---|
238 | install them:
|
---|
239 | </para>
|
---|
240 |
|
---|
241 | <screen role="root"><userinput>install -v -m644 doc/*.pdf \
|
---|
242 | /usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
243 | install -v -m644 doc/*.ps \
|
---|
244 | /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
245 |
|
---|
246 | <para>
|
---|
247 | If you used <command>doxygen</command> to create the API documentation,
|
---|
248 | install it (another 300 MB of space) by issuing the following commands
|
---|
249 | as the <systemitem class="username">root</systemitem> user:
|
---|
250 | </para>
|
---|
251 |
|
---|
252 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
253 | cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
254 | find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; &&
|
---|
255 | find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen>
|
---|
256 |
|
---|
257 | <para>
|
---|
258 | To properly test the installation you must have <xref linkend="rsync"/>
|
---|
259 | installed and follow the instructions for the <ulink
|
---|
260 | url="http://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing
|
---|
261 | Environment</ulink> (FATE). First, about 958 MB of sample files used to
|
---|
262 | run FATE are downloaded with the command:
|
---|
263 | </para>
|
---|
264 |
|
---|
265 | <screen><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen>
|
---|
266 |
|
---|
267 | <para>
|
---|
268 | The <filename class="directory">fate-suite</filename> directory is
|
---|
269 | created and the files are downloaded there. That command actually runs an
|
---|
270 | rsync command, to obtain the sample files. You may want to compress and
|
---|
271 | keep this directory for testing again, in another system, or when a new
|
---|
272 | version of ffmpeg is launched. Then, you unpack the sample files in the
|
---|
273 | source directory, and run, again, the <command>make fate-rsync
|
---|
274 | ...</command> command above, to sync with the repository. Now, the
|
---|
275 | download size and time are drastically reduced. Estimated values in
|
---|
276 | "Package Information" do not include the download SBU. Some samples may
|
---|
277 | have been removed, in the new version, so, in order to be sure local and
|
---|
278 | server fate samples are identical, when you use previously saved samples,
|
---|
279 | run the following command:
|
---|
280 | </para>
|
---|
281 |
|
---|
282 | <screen><userinput><command>rsync -vrltLW --delete --timeout=60 --contimeout=60 \
|
---|
283 | rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</command></userinput></screen>
|
---|
284 |
|
---|
285 | <para>
|
---|
286 | Next, FATE is executed, with the commands (you obtain a number of tests
|
---|
287 | larger than 2500):
|
---|
288 | </para>
|
---|
289 |
|
---|
290 | <screen><userinput>make fate THREADS=<replaceable>N</replaceable> SAMPLES=fate-suite/ | tee ../fate.log &&
|
---|
291 | grep ^TEST ../fate.log | wc -l</userinput></screen>
|
---|
292 |
|
---|
293 | <para>
|
---|
294 | where <replaceable>N</replaceable> is an integer,
|
---|
295 | <replaceable>N</replaceable> ≤ number of threads in the system.
|
---|
296 | </para>
|
---|
297 |
|
---|
298 | </sect2>
|
---|
299 |
|
---|
300 | <sect2 role="commands">
|
---|
301 | <title>Command Explanations</title>
|
---|
302 |
|
---|
303 | <para>
|
---|
304 | <command>sed -i ... configure</command>: This command adds the
|
---|
305 | <application>ALSA</application> library to the
|
---|
306 | <application>Flite</application> <envar>LDFLAGS</envar> variable and
|
---|
307 | enables the discovery of <application>Flite</application>.
|
---|
308 | </para>
|
---|
309 |
|
---|
310 | <para>
|
---|
311 | <command>sed -i ... texi</command>: Fix some .texi files for
|
---|
312 | documentation builds.
|
---|
313 | </para>
|
---|
314 |
|
---|
315 | <para>
|
---|
316 | <command>find ... ;</command>: Fix permissions of documentation files
|
---|
317 | and directories.
|
---|
318 | </para>
|
---|
319 |
|
---|
320 | <para>
|
---|
321 | <option>--enable-libfreetype</option>: Enables
|
---|
322 | <application>Freetype</application> support.
|
---|
323 | </para>
|
---|
324 |
|
---|
325 | <para>
|
---|
326 | <parameter>--enable-gpl</parameter>: Enables the use of GPL code and
|
---|
327 | permits support for postprocessing, swscale and many other features.
|
---|
328 | </para>
|
---|
329 |
|
---|
330 | <para>
|
---|
331 | <parameter>--enable-version3</parameter>: Enables the use of (L)GPL
|
---|
332 | version 3 code.
|
---|
333 | </para>
|
---|
334 |
|
---|
335 | <para>
|
---|
336 | <parameter>--enable-nonfree</parameter>: Enables the use of nonfree code.
|
---|
337 | Note that the resulting libraries and binaries will be unredistributable.
|
---|
338 | </para>
|
---|
339 |
|
---|
340 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
341 | href="../../xincludes/static-libraries.xml"/>
|
---|
342 |
|
---|
343 | <para>
|
---|
344 | <parameter>--enable-shared</parameter>: Enables building shared
|
---|
345 | libraries, otherwise only static libraries are built and installed.
|
---|
346 | </para>
|
---|
347 |
|
---|
348 | <para>
|
---|
349 | <parameter>--disable-debug</parameter>: Disables building debugging
|
---|
350 | symbols into the programs and libraries.
|
---|
351 | </para>
|
---|
352 |
|
---|
353 | <para>
|
---|
354 | <parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
|
---|
355 | rendering via <filename class="libraryfile">libass</filename>.
|
---|
356 | </para>
|
---|
357 |
|
---|
358 | <para>
|
---|
359 | <parameter>--enable-libfdk-aac</parameter>: Enables currently the
|
---|
360 | highest-quality AAC audio encoding via <filename
|
---|
361 | class="libraryfile">libfdk-aac</filename>.
|
---|
362 | </para>
|
---|
363 |
|
---|
364 | <para>
|
---|
365 | <parameter>--enable-libmp3lame</parameter>: Enables MP3 audio encoding
|
---|
366 | via <filename class="libraryfile">libmp3lame</filename>.
|
---|
367 | </para>
|
---|
368 |
|
---|
369 | <para>
|
---|
370 | <parameter>--enable-libvorbis --enable-libtheora</parameter>: Enables
|
---|
371 | Theora video encoding via <filename
|
---|
372 | class="libraryfile">libvorbis</filename> and <filename
|
---|
373 | class="libraryfile">libtheora</filename>.
|
---|
374 | </para>
|
---|
375 |
|
---|
376 | <para>
|
---|
377 | <parameter>--enable-libvorbis --enable-libvpx</parameter>: Enables WebM
|
---|
378 | encoding via <filename class="libraryfile">libvorbis</filename> and
|
---|
379 | <filename class="libraryfile">libvpx</filename>.
|
---|
380 | </para>
|
---|
381 |
|
---|
382 | <para>
|
---|
383 | <parameter>--enable-libx264</parameter>: Enables high-quality
|
---|
384 | H.264/MPEG-4 AVC encoding via <filename
|
---|
385 | class="libraryfile">libx264</filename>.
|
---|
386 | </para>
|
---|
387 |
|
---|
388 | <para>
|
---|
389 | <parameter>--enable-libx265</parameter>: Enables high-quality
|
---|
390 | H.265/HEVC encoding via <filename
|
---|
391 | class="libraryfile">libx265</filename>.
|
---|
392 | </para>
|
---|
393 |
|
---|
394 | <para>
|
---|
395 | <parameter>--enable-x11grab</parameter>: Enables X11 grabbing.
|
---|
396 | </para>
|
---|
397 |
|
---|
398 | <para>
|
---|
399 | <option>--enable-openssl</option> or <option>--enable-gnutls</option>:
|
---|
400 | Enables HTTPS protocol for network streams.
|
---|
401 | </para>
|
---|
402 |
|
---|
403 | <para>
|
---|
404 | <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>: This
|
---|
405 | builds the <command>qt-faststart</command> program which can modify
|
---|
406 | QuickTime formatted movies (<filename class="extension">.mov</filename>
|
---|
407 | or <filename class="extension">.mp4</filename>) so that the header
|
---|
408 | information is located at the beginning of the file instead of the end.
|
---|
409 | This allows the movie file to begin playing before the entire file has
|
---|
410 | been downloaded.
|
---|
411 | </para>
|
---|
412 |
|
---|
413 | <note>
|
---|
414 | <para>
|
---|
415 | Support for most of the dependency packages requires using options
|
---|
416 | passed to the <command>configure</command> script. View the output
|
---|
417 | from <command>./configure --help</command> for complete information
|
---|
418 | about enabling dependency packages.
|
---|
419 | </para>
|
---|
420 | </note>
|
---|
421 |
|
---|
422 | </sect2>
|
---|
423 |
|
---|
424 | <sect2 role="configuration">
|
---|
425 | <title>Configuring FFmpeg</title>
|
---|
426 |
|
---|
427 | <sect3 id="ffmpeg-config">
|
---|
428 | <title>Config Files</title>
|
---|
429 |
|
---|
430 | <para>
|
---|
431 | <filename>/etc/ffserver.conf</filename> and
|
---|
432 | <filename>~/.ffmpeg/ffserver-config</filename>
|
---|
433 | </para>
|
---|
434 |
|
---|
435 | <indexterm zone="ffmpeg ffmpeg-config">
|
---|
436 | <primary
|
---|
437 | sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
|
---|
438 | </indexterm>
|
---|
439 |
|
---|
440 | <indexterm zone="ffmpeg ffmpeg-config">
|
---|
441 | <primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
|
---|
442 | </indexterm>
|
---|
443 |
|
---|
444 | <para>
|
---|
445 | You'll find a sample <command>ffserver</command> configuration file at
|
---|
446 | <filename>doc/ffserver.conf</filename> in the source tree.
|
---|
447 | </para>
|
---|
448 |
|
---|
449 | </sect3>
|
---|
450 |
|
---|
451 | </sect2>
|
---|
452 |
|
---|
453 | <sect2 role="content">
|
---|
454 | <title>Contents</title>
|
---|
455 |
|
---|
456 | <segmentedlist>
|
---|
457 | <segtitle>Installed Programs</segtitle>
|
---|
458 | <segtitle>Installed Libraries</segtitle>
|
---|
459 | <segtitle>Installed Directories</segtitle>
|
---|
460 |
|
---|
461 | <seglistitem>
|
---|
462 | <seg>
|
---|
463 | ffmpeg, ffplay, ffprobe, ffserver, and qt-faststart
|
---|
464 | </seg>
|
---|
465 | <seg>
|
---|
466 | libavcodec.so, libavdevice.so, libavfilter.so,
|
---|
467 | libavformat.so, libavutil.so, libpostproc.so,
|
---|
468 | libswresample, and libswscale.so
|
---|
469 | </seg>
|
---|
470 | <seg>
|
---|
471 | /usr/include/libav{codec,device,filter,format,util},
|
---|
472 | /usr/include/libpostproc,
|
---|
473 | /usr/include/libsw{resample,scale},
|
---|
474 | /usr/share/doc/ffmpeg-&ffmpeg-version;, and
|
---|
475 | /usr/share/ffmpeg
|
---|
476 | </seg>
|
---|
477 | </seglistitem>
|
---|
478 | </segmentedlist>
|
---|
479 |
|
---|
480 | <variablelist>
|
---|
481 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
482 | <?dbfo list-presentation="list"?>
|
---|
483 | <?dbhtml list-presentation="table"?>
|
---|
484 |
|
---|
485 | <varlistentry id="ffmpeg-prog">
|
---|
486 | <term><command>ffmpeg</command></term>
|
---|
487 | <listitem>
|
---|
488 | <para>
|
---|
489 | is a command-line tool to convert video files, network streams and
|
---|
490 | input from a TV card to several video formats.
|
---|
491 | </para>
|
---|
492 | <indexterm zone="ffmpeg ffmpeg-prog">
|
---|
493 | <primary sortas="b-ffmpeg">ffmpeg</primary>
|
---|
494 | </indexterm>
|
---|
495 | </listitem>
|
---|
496 | </varlistentry>
|
---|
497 |
|
---|
498 | <varlistentry id="ffplay">
|
---|
499 | <term><command>ffplay</command></term>
|
---|
500 | <listitem>
|
---|
501 | <para>
|
---|
502 | is a very simple and portable media player using the
|
---|
503 | <filename>ffmpeg</filename> libraries and the SDL library.
|
---|
504 | </para>
|
---|
505 | <indexterm zone="ffmpeg ffplay">
|
---|
506 | <primary sortas="b-ffplay">ffplay</primary>
|
---|
507 | </indexterm>
|
---|
508 | </listitem>
|
---|
509 | </varlistentry>
|
---|
510 |
|
---|
511 | <varlistentry id="ffprobe">
|
---|
512 | <term><command>ffprobe</command></term>
|
---|
513 | <listitem>
|
---|
514 | <para>
|
---|
515 | gathers information from multimedia streams and prints it in a human
|
---|
516 | and machine-readable fashion.
|
---|
517 | </para>
|
---|
518 | <indexterm zone="ffmpeg ffprobe">
|
---|
519 | <primary sortas="b-ffprobe">ffprobe</primary>
|
---|
520 | </indexterm>
|
---|
521 | </listitem>
|
---|
522 | </varlistentry>
|
---|
523 |
|
---|
524 | <varlistentry id="ffserver">
|
---|
525 | <term><command>ffserver</command></term>
|
---|
526 | <listitem>
|
---|
527 | <para>
|
---|
528 | is a streaming server for everything that <command>ffmpeg</command>
|
---|
529 | could use as input (files, streams, TV card input, webcam, etc).
|
---|
530 | </para>
|
---|
531 | <indexterm zone="ffmpeg ffserver">
|
---|
532 | <primary sortas="b-ffserver">ffserver</primary>
|
---|
533 | </indexterm>
|
---|
534 | </listitem>
|
---|
535 | </varlistentry>
|
---|
536 |
|
---|
537 | <varlistentry id="qt-faststart">
|
---|
538 | <term><command>qt-faststart</command></term>
|
---|
539 | <listitem>
|
---|
540 | <para>
|
---|
541 | moves the index file to the front of quicktime (mov/mp4) videos.
|
---|
542 | </para>
|
---|
543 | <indexterm zone="ffmpeg qt-faststart">
|
---|
544 | <primary sortas="b-qt-faststart">qt-faststart</primary>
|
---|
545 | </indexterm>
|
---|
546 | </listitem>
|
---|
547 | </varlistentry>
|
---|
548 |
|
---|
549 | <varlistentry id="libavcodec">
|
---|
550 | <term><filename class="libraryfile">libavcodec.so</filename></term>
|
---|
551 | <listitem>
|
---|
552 | <para>
|
---|
553 | is a library containing the <application>FFmpeg</application> codecs
|
---|
554 | (both encoding and decoding).
|
---|
555 | </para>
|
---|
556 | <indexterm zone="ffmpeg libavcodec">
|
---|
557 | <primary sortas="c-libavcodec">libavcodec.so</primary>
|
---|
558 | </indexterm>
|
---|
559 | </listitem>
|
---|
560 | </varlistentry>
|
---|
561 |
|
---|
562 | <varlistentry id="libavdevice">
|
---|
563 | <term><filename class="libraryfile">libavdevice.so</filename></term>
|
---|
564 | <listitem>
|
---|
565 | <para>
|
---|
566 | is the <application>FFmpeg</application> device handling library.
|
---|
567 | </para>
|
---|
568 | <indexterm zone="ffmpeg libavdevice">
|
---|
569 | <primary sortas="c-libavdevice">libavdevice.so</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="libavfilter">
|
---|
575 | <term><filename class="libraryfile">libavfilter.so</filename></term>
|
---|
576 | <listitem>
|
---|
577 | <para>
|
---|
578 | is a library of filters that can alter video or audio between the
|
---|
579 | decoder and the encoder (or output).
|
---|
580 | </para>
|
---|
581 | <indexterm zone="ffmpeg libavfilter">
|
---|
582 | <primary sortas="c-libavfilter">libavfilter.so</primary>
|
---|
583 | </indexterm>
|
---|
584 | </listitem>
|
---|
585 | </varlistentry>
|
---|
586 |
|
---|
587 | <varlistentry id="libavformat">
|
---|
588 | <term><filename class="libraryfile">libavformat.so</filename></term>
|
---|
589 | <listitem>
|
---|
590 | <para>
|
---|
591 | is a library containing the file formats handling (mux and demux
|
---|
592 | code for several formats) used by <command>ffplay</command> as well
|
---|
593 | as allowing the generation of audio or video streams.
|
---|
594 | </para>
|
---|
595 | <indexterm zone="ffmpeg libavformat">
|
---|
596 | <primary sortas="c-libavformat">libavformat.so</primary>
|
---|
597 | </indexterm>
|
---|
598 | </listitem>
|
---|
599 | </varlistentry>
|
---|
600 |
|
---|
601 | <varlistentry id="libavutil">
|
---|
602 | <term><filename class="libraryfile">libavutil.so</filename></term>
|
---|
603 | <listitem>
|
---|
604 | <para>
|
---|
605 | is the <application>FFmpeg</application> utility library.
|
---|
606 | </para>
|
---|
607 | <indexterm zone="ffmpeg libavutil">
|
---|
608 | <primary sortas="c-libavutil">libavutil.so</primary>
|
---|
609 | </indexterm>
|
---|
610 | </listitem>
|
---|
611 | </varlistentry>
|
---|
612 |
|
---|
613 | <varlistentry id="libpostproc">
|
---|
614 | <term><filename class="libraryfile">libpostproc.so</filename></term>
|
---|
615 | <listitem>
|
---|
616 | <para>
|
---|
617 | is the <application>FFmpeg</application> post processing library.
|
---|
618 | </para>
|
---|
619 | <indexterm zone="ffmpeg libpostproc">
|
---|
620 | <primary sortas="c-libpostproc">libpostproc.so</primary>
|
---|
621 | </indexterm>
|
---|
622 | </listitem>
|
---|
623 | </varlistentry>
|
---|
624 |
|
---|
625 | <varlistentry id="libswresample">
|
---|
626 | <term><filename class="libraryfile">libswresample.so</filename></term>
|
---|
627 | <listitem>
|
---|
628 | <para>
|
---|
629 | is the <application>FFmpeg</application> audio rescaling library,
|
---|
630 | it contains functions for converting audio sample formats.
|
---|
631 | </para>
|
---|
632 | <indexterm zone="ffmpeg libswresample">
|
---|
633 | <primary sortas="c-libswresample">libswresample.so</primary>
|
---|
634 | </indexterm>
|
---|
635 | </listitem>
|
---|
636 | </varlistentry>
|
---|
637 |
|
---|
638 | <varlistentry id="libswscale">
|
---|
639 | <term><filename class="libraryfile">libswscale.so</filename></term>
|
---|
640 | <listitem>
|
---|
641 | <para>
|
---|
642 | is the <application>FFmpeg</application> image rescaling library.
|
---|
643 | </para>
|
---|
644 | <indexterm zone="ffmpeg libswscale">
|
---|
645 | <primary sortas="c-libswscale">libswscale.so</primary>
|
---|
646 | </indexterm>
|
---|
647 | </listitem>
|
---|
648 | </varlistentry>
|
---|
649 |
|
---|
650 | </variablelist>
|
---|
651 |
|
---|
652 | </sect2>
|
---|
653 |
|
---|
654 | </sect1>
|
---|