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
|
---|
8 | "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.bz2">
|
---|
9 | <!ENTITY ffmpeg-download-ftp " ">
|
---|
10 | <!ENTITY ffmpeg-md5sum "5071a26cc149f380908ce79ec2a677ef">
|
---|
11 | <!ENTITY ffmpeg-size "5.7 MB">
|
---|
12 | <!ENTITY ffmpeg-buildsize "100 MB">
|
---|
13 | <!ENTITY ffmpeg-time "4.0 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
|
---|
17 | <?dbhtml filename="ffmpeg.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>FFmpeg-&ffmpeg-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="ffmpeg">
|
---|
27 | <primary sortas="a-FFmpeg">FFmpeg</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to FFmpeg</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>FFmpeg</application> is a solution to record, convert and
|
---|
35 | stream audio and video. It is a very fast video and audio converter and it
|
---|
36 | can also acquire from a live audio/video source. Designed to be intuitive,
|
---|
37 | the command-line interface (<command>ffmpeg</command>) tries to figure out
|
---|
38 | all the parameters, when possible. <application>FFmpeg</application> can
|
---|
39 | also convert from any sample rate to any other, and resize video on the
|
---|
40 | fly with a high quality polyphase filter.
|
---|
41 | <application>FFmpeg</application> can use a Video4Linux compatible video
|
---|
42 | source and any Open Sound System audio source.
|
---|
43 | </para>
|
---|
44 |
|
---|
45 | &lfs72_checked;
|
---|
46 |
|
---|
47 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
48 | <itemizedlist spacing="compact">
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (HTTP): <ulink url="&ffmpeg-download-http;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download (FTP): <ulink url="&ffmpeg-download-ftp;"/>
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download MD5 sum: &ffmpeg-md5sum;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Download size: &ffmpeg-size;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated disk space required: &ffmpeg-buildsize;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | Estimated build time: &ffmpeg-time;
|
---|
77 | </para>
|
---|
78 | </listitem>
|
---|
79 | </itemizedlist>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
|
---|
82 |
|
---|
83 | <!-- All dependencies are listed in the order as they are displayed in
|
---|
84 | the configure script. This makes it easy for readers (and editors)
|
---|
85 | to match up the dependency list with what is required or desired. -->
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
88 | <para role="recommended">
|
---|
89 | <xref linkend="faac"/>,
|
---|
90 | <xref linkend="freetype2"/>,
|
---|
91 | <xref linkend="lame"/>,
|
---|
92 | <xref linkend="openjpeg"/>,
|
---|
93 | <xref linkend="pulseaudio"/>,
|
---|
94 | <xref linkend="speex"/>,
|
---|
95 | <xref linkend="libtheora"/>,
|
---|
96 | <xref linkend="libvorbis"/>,
|
---|
97 | <xref linkend="libvpx"/>,
|
---|
98 | <xref linkend="xvid"/>,
|
---|
99 | <xref linkend="openssl"/>,
|
---|
100 | <xref linkend="sdl"/>,
|
---|
101 | <xref linkend="xorg7-lib"/>,
|
---|
102 | <xref linkend="yasm"/>
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
106 | <para role="optional">
|
---|
107 | <xref linkend="fontconfig"/>,
|
---|
108 | <ulink url="http://www.piksel.org/frei0r">frei0r</ulink>,
|
---|
109 | <xref linkend="gnutls"/>,
|
---|
110 | <ulink url="http://tipok.org.ua/node/17">libaacplus</ulink>,
|
---|
111 | <ulink url="http://code.google.com/p/libass/">libass</ulink>,
|
---|
112 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
113 | <ulink url="http://caca.zoy.org/">libcaca</ulink>,
|
---|
114 | <ulink url="http://www.celt-codec.org/">libcelt</ulink>,
|
---|
115 | <ulink url="http://ftp.gnu.org/pub/gnu/libcdio/">libcdio</ulink>,
|
---|
116 | <ulink url="http://sourceforge.net/projects/libdc1394">libdc1394</ulink>,
|
---|
117 | <ulink url="http://sourceforge.net/projects/opencore-amr/">fdk-aac</ulink>,
|
---|
118 | <ulink url="http://www.speech.cs.cmu.edu/flite/">Flite</ulink>,
|
---|
119 | <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
|
---|
120 | <ulink url="https://ieee1394.wiki.kernel.org/index.php/Libraries">libiec61883</ulink>,
|
---|
121 | <ulink url="https://github.com/dekkers/libilbc">libilbc</ulink>,
|
---|
122 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
123 | <ulink url="http://svn.mplayerhq.hu/nut/src/trunk/">libnut</ulink> (SVN checkout),
|
---|
124 | <ulink url="http://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>,
|
---|
125 | <ulink url="http://opencv.org/">OpenCV</ulink>,
|
---|
126 | <ulink url="http://www.opus-codec.org/">Opus</ulink>,
|
---|
127 | <ulink url="http://sourceforge.net/projects/librtmp">librtmp</ulink>,
|
---|
128 | <ulink url="http://diracvideo.org/">Schroedinger</ulink>,
|
---|
129 | <ulink url="http://www.twolame.org/">TwoLAME</ulink>,
|
---|
130 | <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
|
---|
131 | <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>,
|
---|
132 | <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>,
|
---|
133 | <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
|
---|
134 | <ulink url="http://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout),
|
---|
135 | <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>, and
|
---|
136 | <ulink url="http://www.nongnu.org/texi2html">texi2html</ulink> (to build HTML documentation)
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <bridgehead renderas="sect4">Optional (For Hardware Video Decoding)</bridgehead>
|
---|
140 | <para role="optional">
|
---|
141 | <ulink url="http://www.freedesktop.org/wiki/Software/vaapi">VA-API (libva)</ulink>
|
---|
142 | with corresponding drivers, including:
|
---|
143 | <ulink url="http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/">
|
---|
144 | Intel Driver (i965 chipsets only)</ulink>,
|
---|
145 | <ulink url="http://www.splitted-desktop.com/static/libva/xvba-video/">
|
---|
146 | XVBA Driver for AMD Radeon Cards</ulink>, and
|
---|
147 | <ulink url="http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/">
|
---|
148 | VDPAU Driver for VDPAU capable Cards</ulink>
|
---|
149 | (requires <ulink url="http://cgit.freedesktop.org/~aplattner/libvdpau/">
|
---|
150 | libvdpau</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 | If <application>Xorg</application> is installed in a prefix other
|
---|
163 | than <filename class='directory'>/usr</filename>, the build will fail. Fix
|
---|
164 | this by issuing the following command:
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
|
---|
168 |
|
---|
169 | <para>
|
---|
170 | Install <application>FFmpeg</application> by running the following
|
---|
171 | commands:
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | <!-- The confiure optinos are listed in the order as they are displayed in
|
---|
175 | the configure script. This makes it easy for readers (and editors)
|
---|
176 | to match up the options with what is required or desired. -->
|
---|
177 |
|
---|
178 | <screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure &&
|
---|
179 | ./configure --prefix=/usr \
|
---|
180 | --enable-gpl \
|
---|
181 | --enable-version3 \
|
---|
182 | --enable-nonfree \
|
---|
183 | --disable-static \
|
---|
184 | --enable-shared \
|
---|
185 | --enable-x11grab \
|
---|
186 | --enable-libfaac \
|
---|
187 | --enable-libfreetype \
|
---|
188 | --enable-libmp3lame \
|
---|
189 | --enable-libopenjpeg \
|
---|
190 | --enable-libpulse \
|
---|
191 | --enable-libspeex \
|
---|
192 | --enable-libtheora \
|
---|
193 | --enable-libvorbis \
|
---|
194 | --enable-libvpx \
|
---|
195 | --enable-libxvid \
|
---|
196 | --enable-openssl \
|
---|
197 | --disable-debug &&
|
---|
198 | make &&
|
---|
199 | gcc tools/qt-faststart.c -o tools/qt-faststart &&
|
---|
200 | unset LIBRARY_PATH</userinput></screen>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | HTML documentation was built in the previous step if
|
---|
204 | <ulink url="http://www.nongnu.org/texi2html">texi2html</ulink> is
|
---|
205 | installed. If the HTML was built (check for any
|
---|
206 | <filename class="extension">.html</filename> files in the
|
---|
207 | <filename class="directory">doc</filename> directory) and you have
|
---|
208 | <xref linkend="texlive"/> installed and wish to build PDF and
|
---|
209 | Postscript versions of the documentation, issue the following commands:
|
---|
210 | </para>
|
---|
211 |
|
---|
212 | <screen><userinput>pushd doc &&
|
---|
213 | for DOCNAME in `basename -s .html *.html`
|
---|
214 | do
|
---|
215 | texi2pdf -b $DOCNAME.texi &&
|
---|
216 | texi2dvi -b $DOCNAME.texi &&
|
---|
217 | dvips -o $DOCNAME.ps \
|
---|
218 | $DOCNAME.dvi &&
|
---|
219 | done &&
|
---|
220 | popd &&
|
---|
221 | unset DOCNAME</userinput></screen>
|
---|
222 |
|
---|
223 | <para>
|
---|
224 | If you have <xref linkend="doxygen"/> installed and wish to create the API
|
---|
225 | documentation (takes about 300 MB of space), issue the command
|
---|
226 | <command>doxygen doc/Doxyfile</command>.
|
---|
227 | </para>
|
---|
228 |
|
---|
229 | <para>
|
---|
230 | To properly test the installation you must have <xref linkend="rsync"/>
|
---|
231 | installed and follow the instructions for the
|
---|
232 | <ulink url="http://ffmpeg.org/fate.html">
|
---|
233 | FFmpeg Automated Testing Environment</ulink>. Note that the BLFS team has
|
---|
234 | not performed this regression testing.
|
---|
235 | </para>
|
---|
236 |
|
---|
237 | <para>
|
---|
238 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
239 | </para>
|
---|
240 |
|
---|
241 | <screen role="root"><userinput>make install &&
|
---|
242 | install -v -m755 tools/qt-faststart /usr/bin &&
|
---|
243 | install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; &&
|
---|
244 | install -v -m644 doc/*.txt \
|
---|
245 | /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
246 |
|
---|
247 | <para>
|
---|
248 | If HTML documentation was built, issue the following command to install it:
|
---|
249 | </para>
|
---|
250 |
|
---|
251 | <screen role="root"><userinput>install -v -m644 doc/*.html \
|
---|
252 | /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
|
---|
253 |
|
---|
254 | <para>
|
---|
255 | If you used <command>doxygen</command> to create the API documentation,
|
---|
256 | install it (another 300 MB of space) by issuing the following commands
|
---|
257 | as the <systemitem class="username">root</systemitem> user:
|
---|
258 | </para>
|
---|
259 |
|
---|
260 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api &&
|
---|
261 | install -v -m644 doc/doxy/html/* \
|
---|
262 | /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen>
|
---|
263 |
|
---|
264 | </sect2>
|
---|
265 |
|
---|
266 | <sect2 role="commands">
|
---|
267 | <title>Command Explanations</title>
|
---|
268 |
|
---|
269 | <para>
|
---|
270 | <command>sed -i ...</command>: This command adds the
|
---|
271 | <application>ALSA</application> library to the
|
---|
272 | <application>Flite</application> <envar>LDFLAGS</envar> variable and
|
---|
273 | enables the discovery of <application>Flite</application>.
|
---|
274 | </para>
|
---|
275 |
|
---|
276 | <para>
|
---|
277 | <command>gcc tools/qt-faststart.c -o tools/qt-faststart</command>:
|
---|
278 | This builds the <command>qt-faststart</command> program which can
|
---|
279 | modify QuickTime formatted movies
|
---|
280 | (<filename class="extension">.mov</filename> or
|
---|
281 | <filename class="extension">.mp4</filename>) so that the header information
|
---|
282 | is located at the beginning of the file instead of the end. This allows
|
---|
283 | the movie file to begin playing before the entire file has been downloaded.
|
---|
284 | </para>
|
---|
285 |
|
---|
286 | <para>
|
---|
287 | <parameter>--enable-gpl</parameter>: Enables the use of GPL code and
|
---|
288 | permits support for postprocessing, swscale and many other features.
|
---|
289 | </para>
|
---|
290 |
|
---|
291 | <para>
|
---|
292 | <parameter>--enable-version3</parameter>: Enables the use of (L)GPL
|
---|
293 | version 3 code.
|
---|
294 | </para>
|
---|
295 |
|
---|
296 | <para>
|
---|
297 | <parameter>--enable-nonfree</parameter>: Enables the use of nonfree
|
---|
298 | code. Note that the resulting libraries and binaries will be
|
---|
299 | unredistributable.
|
---|
300 | </para>
|
---|
301 |
|
---|
302 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
303 | href="../../xincludes/static-libraries.xml"/>
|
---|
304 |
|
---|
305 | <para>
|
---|
306 | <parameter>--enable-shared</parameter>: Enables building shared libraries,
|
---|
307 | otherwise only static libraries are built and installed.
|
---|
308 | </para>
|
---|
309 |
|
---|
310 | <para>
|
---|
311 | <parameter>--enable-x11grab</parameter>: Enables X11 grabbing.
|
---|
312 | </para>
|
---|
313 |
|
---|
314 | <para>
|
---|
315 | <parameter>--enable-libfaac</parameter>: Enables AAC encoding via
|
---|
316 | <filename class="libraryfile">libfaac</filename>.
|
---|
317 | </para>
|
---|
318 |
|
---|
319 | <para>
|
---|
320 | <parameter>--enable-libfreetype</parameter>: Enables the use of
|
---|
321 | <filename class="libraryfile">libfreetype</filename>.
|
---|
322 | </para>
|
---|
323 |
|
---|
324 | <para>
|
---|
325 | <parameter>--enable-libmp3lame</parameter>: Enables MP3 encoding via
|
---|
326 | <filename class="libraryfile">libmp3lame</filename>.
|
---|
327 | </para>
|
---|
328 |
|
---|
329 | <para>
|
---|
330 | <parameter>--enable-libopenjpeg</parameter>: Enables JPEG 2000 de/encoding
|
---|
331 | via <filename class="libraryfile">libopenjpeg</filename>.
|
---|
332 | </para>
|
---|
333 |
|
---|
334 | <para>
|
---|
335 | <parameter>--enable-libpulse</parameter>: Enables
|
---|
336 | <application>Pulseaudio</application> input via
|
---|
337 | <filename class="libraryfile">libpulse</filename>.
|
---|
338 | </para>
|
---|
339 |
|
---|
340 | <para>
|
---|
341 | <parameter>--enable-libspeex</parameter>: Enables
|
---|
342 | <application>Speex</application> de/encoding
|
---|
343 | via <filename class="libraryfile">libspeex</filename>.
|
---|
344 | </para>
|
---|
345 |
|
---|
346 | <para>
|
---|
347 | <parameter>--enable-libtheora</parameter>: Enables
|
---|
348 | <application>Theora</application> encoding
|
---|
349 | via <filename class="libraryfile">libtheora</filename>.
|
---|
350 | </para>
|
---|
351 |
|
---|
352 | <para>
|
---|
353 | <parameter>--enable-libvorbis</parameter>: Enables
|
---|
354 | <application>Vorbis</application> de/encoding
|
---|
355 | via <filename class="libraryfile">libvorbis</filename>.
|
---|
356 | </para>
|
---|
357 |
|
---|
358 | <para>
|
---|
359 | <parameter>--enable-libvpx</parameter>: Enables VP8 de/encoding
|
---|
360 | via <filename class="libraryfile">libvpx</filename>.
|
---|
361 | </para>
|
---|
362 |
|
---|
363 | <para>
|
---|
364 | <parameter>--enable-libxvid</parameter>: Enables
|
---|
365 | <application>Xvid</application> encoding
|
---|
366 | via <filename class="libraryfile">libxvidcore</filename>.
|
---|
367 | </para>
|
---|
368 |
|
---|
369 | <para>
|
---|
370 | <parameter>--enable-openssl</parameter>: Enables
|
---|
371 | <application>OpenSSL</application> cryptography.
|
---|
372 | </para>
|
---|
373 |
|
---|
374 | <para>
|
---|
375 | <parameter>--disable-debug</parameter>: Disables building debugging
|
---|
376 | symbols into the programs and libraries.
|
---|
377 | </para>
|
---|
378 |
|
---|
379 | <para>
|
---|
380 | <option>--enable-<replaceable><codec></replaceable></option>:
|
---|
381 | <application>FFmpeg</application> comes with code to compile decoders for
|
---|
382 | almost every codec you could think of. The only reason to enable a
|
---|
383 | specific codec (and make <application>FFmpeg</application> link to the
|
---|
384 | prerequisite shared library installed on your system) is to make
|
---|
385 | <application>FFmpeg</application> compile an <emphasis>encoder</emphasis>
|
---|
386 | for that codec. <application>FFmpeg</application> provides an excellent
|
---|
387 | collection of decoders. If you just want to use
|
---|
388 | <application>FFmpeg</application> to watch video or listen to music (via
|
---|
389 | other applications such as <application>Gstreamer</application> or
|
---|
390 | <application>Xine</application>) then you will not benefit from linking
|
---|
391 | <application>FFmpeg</application> to other codec libraries.
|
---|
392 | </para>
|
---|
393 |
|
---|
394 | </sect2>
|
---|
395 |
|
---|
396 | <sect2 role="configuration">
|
---|
397 | <title>Configuring FFmpeg</title>
|
---|
398 |
|
---|
399 | <sect3 id="ffmpeg-config">
|
---|
400 | <title>Config Files</title>
|
---|
401 |
|
---|
402 | <para>
|
---|
403 | <filename>/etc/ffserver.conf</filename> and
|
---|
404 | <filename>~/.ffmpeg/ffserver-config</filename>
|
---|
405 | </para>
|
---|
406 |
|
---|
407 | <indexterm zone="ffmpeg ffmpeg-config">
|
---|
408 | <primary
|
---|
409 | sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
|
---|
410 | </indexterm>
|
---|
411 |
|
---|
412 | <indexterm zone="ffmpeg ffmpeg-config">
|
---|
413 | <primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
|
---|
414 | </indexterm>
|
---|
415 |
|
---|
416 | <para>
|
---|
417 | You'll find a sample <command>ffserver</command> configuration file at
|
---|
418 | <filename>doc/ffserver.conf</filename> in the source tree.
|
---|
419 | </para>
|
---|
420 |
|
---|
421 | </sect3>
|
---|
422 |
|
---|
423 | </sect2>
|
---|
424 |
|
---|
425 | <sect2 role="content">
|
---|
426 | <title>Contents</title>
|
---|
427 |
|
---|
428 | <segmentedlist>
|
---|
429 | <segtitle>Installed Programs</segtitle>
|
---|
430 | <segtitle>Installed Libraries</segtitle>
|
---|
431 | <segtitle>Installed Directories</segtitle>
|
---|
432 |
|
---|
433 | <seglistitem>
|
---|
434 | <seg>
|
---|
435 | ffmpeg, ffplay, ffprobe, ffserver and
|
---|
436 | qt-faststart
|
---|
437 | </seg>
|
---|
438 | <seg>
|
---|
439 | libavcodec.so, libavdevice.so, libavfilter.so,
|
---|
440 | libavformat.so, libavutil.so, libpostproc.so,
|
---|
441 | libswresample and libswscale.so
|
---|
442 | </seg>
|
---|
443 | <seg>
|
---|
444 | /usr/include/libavcodec,
|
---|
445 | /usr/include/libavdevice,
|
---|
446 | /usr/include/libavfilter,
|
---|
447 | /usr/include/libavformat,
|
---|
448 | /usr/include/libavutil,
|
---|
449 | /usr/include/libpostproc,
|
---|
450 | /usr/include/libswresample
|
---|
451 | /usr/include/libswscale,
|
---|
452 | /usr/share/ffmpeg and
|
---|
453 | /usr/share/doc/ffmpeg-&ffmpeg-version;
|
---|
454 | </seg>
|
---|
455 | </seglistitem>
|
---|
456 | </segmentedlist>
|
---|
457 |
|
---|
458 | <variablelist>
|
---|
459 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
460 | <?dbfo list-presentation="list"?>
|
---|
461 | <?dbhtml list-presentation="table"?>
|
---|
462 |
|
---|
463 | <varlistentry id="ffmpeg-prog">
|
---|
464 | <term><command>ffmpeg</command></term>
|
---|
465 | <listitem>
|
---|
466 | <para>
|
---|
467 | is a command-line tool to convert video files, network streams and
|
---|
468 | input from a TV card to several video formats.
|
---|
469 | </para>
|
---|
470 | <indexterm zone="ffmpeg ffmpeg-prog">
|
---|
471 | <primary sortas="b-ffmpeg">ffmpeg</primary>
|
---|
472 | </indexterm>
|
---|
473 | </listitem>
|
---|
474 | </varlistentry>
|
---|
475 |
|
---|
476 | <varlistentry id="ffplay">
|
---|
477 | <term><command>ffplay</command></term>
|
---|
478 | <listitem>
|
---|
479 | <para>
|
---|
480 | is a very simple and portable media player using the
|
---|
481 | <filename>ffmpeg</filename> libraries and the SDL library.
|
---|
482 | </para>
|
---|
483 | <indexterm zone="ffmpeg ffplay">
|
---|
484 | <primary sortas="b-ffplay">ffplay</primary>
|
---|
485 | </indexterm>
|
---|
486 | </listitem>
|
---|
487 | </varlistentry>
|
---|
488 |
|
---|
489 | <varlistentry id="ffprobe">
|
---|
490 | <term><command>ffprobe</command></term>
|
---|
491 | <listitem>
|
---|
492 | <para>
|
---|
493 | gathers information from multimedia streams and prints it in a human
|
---|
494 | and machine-readable fashion.
|
---|
495 | </para>
|
---|
496 | <indexterm zone="ffmpeg ffprobe">
|
---|
497 | <primary sortas="b-ffprobe">ffprobe</primary>
|
---|
498 | </indexterm>
|
---|
499 | </listitem>
|
---|
500 | </varlistentry>
|
---|
501 |
|
---|
502 | <varlistentry id="ffserver">
|
---|
503 | <term><command>ffserver</command></term>
|
---|
504 | <listitem>
|
---|
505 | <para>
|
---|
506 | is a streaming server for everything that <command>ffmpeg</command>
|
---|
507 | could use as input (files, streams, TV card input, webcam, etc).
|
---|
508 | </para>
|
---|
509 | <indexterm zone="ffmpeg ffserver">
|
---|
510 | <primary sortas="b-ffserver">ffserver</primary>
|
---|
511 | </indexterm>
|
---|
512 | </listitem>
|
---|
513 | </varlistentry>
|
---|
514 |
|
---|
515 | <varlistentry id="qt-faststart">
|
---|
516 | <term><command>qt-faststart</command></term>
|
---|
517 | <listitem>
|
---|
518 | <para>
|
---|
519 | moves the index file to the front of quicktime (mov/mp4) videos.
|
---|
520 | </para>
|
---|
521 | <indexterm zone="ffmpeg qt-faststart">
|
---|
522 | <primary sortas="b-qt-faststart">qt-faststart</primary>
|
---|
523 | </indexterm>
|
---|
524 | </listitem>
|
---|
525 | </varlistentry>
|
---|
526 |
|
---|
527 | <varlistentry id="libavcodec">
|
---|
528 | <term><filename class="libraryfile">libavcodec.so</filename></term>
|
---|
529 | <listitem>
|
---|
530 | <para>
|
---|
531 | is a library containing the <application>FFmpeg</application> codecs
|
---|
532 | (both encoding and decoding).
|
---|
533 | </para>
|
---|
534 | <indexterm zone="ffmpeg libavcodec">
|
---|
535 | <primary sortas="c-libavcodec">libavcodec.so</primary>
|
---|
536 | </indexterm>
|
---|
537 | </listitem>
|
---|
538 | </varlistentry>
|
---|
539 |
|
---|
540 | <varlistentry id="libavdevice">
|
---|
541 | <term><filename class="libraryfile">libavdevice.so</filename></term>
|
---|
542 | <listitem>
|
---|
543 | <para>
|
---|
544 | is the <application>FFmpeg</application> device handling library.
|
---|
545 | </para>
|
---|
546 | <indexterm zone="ffmpeg libavdevice">
|
---|
547 | <primary sortas="c-libavdevice">libavdevice.so</primary>
|
---|
548 | </indexterm>
|
---|
549 | </listitem>
|
---|
550 | </varlistentry>
|
---|
551 |
|
---|
552 | <varlistentry id="libavfilter">
|
---|
553 | <term><filename class="libraryfile">libavfilter.so</filename></term>
|
---|
554 | <listitem>
|
---|
555 | <para>
|
---|
556 | is a library of filters that can alter video or audio between the
|
---|
557 | decoder and the encoder (or output).
|
---|
558 | </para>
|
---|
559 | <indexterm zone="ffmpeg libavfilter">
|
---|
560 | <primary sortas="c-libavfilter">libavfilter.so</primary>
|
---|
561 | </indexterm>
|
---|
562 | </listitem>
|
---|
563 | </varlistentry>
|
---|
564 |
|
---|
565 | <varlistentry id="libavformat">
|
---|
566 | <term><filename class="libraryfile">libavformat.so</filename></term>
|
---|
567 | <listitem>
|
---|
568 | <para>
|
---|
569 | is a library containing the file formats handling (mux and demux
|
---|
570 | code for several formats) used by <command>ffplay</command> as well
|
---|
571 | as allowing the generation of audio or video streams.
|
---|
572 | </para>
|
---|
573 | <indexterm zone="ffmpeg libavformat">
|
---|
574 | <primary sortas="c-libavformat">libavformat.so</primary>
|
---|
575 | </indexterm>
|
---|
576 | </listitem>
|
---|
577 | </varlistentry>
|
---|
578 |
|
---|
579 | <varlistentry id="libavutil">
|
---|
580 | <term><filename class="libraryfile">libavutil.so</filename></term>
|
---|
581 | <listitem>
|
---|
582 | <para>
|
---|
583 | is the <application>FFmpeg</application> utility library.
|
---|
584 | </para>
|
---|
585 | <indexterm zone="ffmpeg libavutil">
|
---|
586 | <primary sortas="c-libavutil">libavutil.so</primary>
|
---|
587 | </indexterm>
|
---|
588 | </listitem>
|
---|
589 | </varlistentry>
|
---|
590 |
|
---|
591 | <varlistentry id="libpostproc">
|
---|
592 | <term><filename class="libraryfile">libpostproc.so</filename></term>
|
---|
593 | <listitem>
|
---|
594 | <para>
|
---|
595 | is the <application>FFmpeg</application> post processing library.
|
---|
596 | </para>
|
---|
597 | <indexterm zone="ffmpeg libpostproc">
|
---|
598 | <primary sortas="c-libpostproc">libpostproc.so</primary>
|
---|
599 | </indexterm>
|
---|
600 | </listitem>
|
---|
601 | </varlistentry>
|
---|
602 |
|
---|
603 | <varlistentry id="libswresample">
|
---|
604 | <term><filename class="libraryfile">libswresample.so</filename></term>
|
---|
605 | <listitem>
|
---|
606 | <para>
|
---|
607 | is the <application>FFmpeg</application> audio rescaling library,
|
---|
608 | it contains functions for converting audio sample formats.
|
---|
609 | </para>
|
---|
610 | <indexterm zone="ffmpeg libswresample">
|
---|
611 | <primary sortas="c-libswresample">libswresample.so</primary>
|
---|
612 | </indexterm>
|
---|
613 | </listitem>
|
---|
614 | </varlistentry>
|
---|
615 |
|
---|
616 | <varlistentry id="libswscale">
|
---|
617 | <term><filename class="libraryfile">libswscale.so</filename></term>
|
---|
618 | <listitem>
|
---|
619 | <para>
|
---|
620 | is the <application>FFmpeg</application> image rescaling library.
|
---|
621 | </para>
|
---|
622 | <indexterm zone="ffmpeg libswscale">
|
---|
623 | <primary sortas="c-libswscale">libswscale.so</primary>
|
---|
624 | </indexterm>
|
---|
625 | </listitem>
|
---|
626 | </varlistentry>
|
---|
627 |
|
---|
628 | </variablelist>
|
---|
629 |
|
---|
630 | </sect2>
|
---|
631 |
|
---|
632 | </sect1>
|
---|