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