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