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