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