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