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