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