Author: manuel
Date: 2005-05-11 15:16:35 -0600 (Wed, 11 May 2005)
New Revision: 4158
Modified:
trunk/BOOK/multimedia/videoutils/ffmpeg.xml
Log:
Tagged ffmpeg.xml
Modified: trunk/BOOK/multimedia/videoutils/ffmpeg.xml
===================================================================
--- trunk/BOOK/multimedia/videoutils/ffmpeg.xml 2005-05-11 21:06:15 UTC (rev
4157)
+++ trunk/BOOK/multimedia/videoutils/ffmpeg.xml 2005-05-11 21:16:35 UTC (rev
4158)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
@@ -12,215 +13,242 @@
]>
<sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
-<sect1info>
-<othername>$LastChangedBy$</othername>
-<date>$Date$</date>
-</sect1info>
-<?dbhtml filename="ffmpeg.html"?>
-<title>FFmpeg-&ffmpeg-version;</title>
-<indexterm zone="ffmpeg">
-<primary sortas="a-FFmpeg">FFmpeg</primary></indexterm>
+ <?dbhtml filename="ffmpeg.html"?>
-<sect2>
-<title>Introduction to <application>FFmpeg</application></title>
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
-<para><application>FFmpeg</application> is a solution to record, convert and
-stream audio and video. It is a very fast video and audio converter and it can
-also acquire from a live audio/video source. Designed to be intuitive, the
-command-line interface (<command>ffmpeg</command>) tries to figure out all the
-parameters, when possible. <application>FFmpeg</application> can also convert
-from any sample rate to any other, and resize video on the fly with a high
-quality polyphase filter. <application>FFmpeg</application> can use a
-video4linux compatible video source and any Open Sound System audio
-source.</para>
+ <title>FFmpeg-&ffmpeg-version;</title>
-<sect3><title>Package information</title>
-<itemizedlist spacing='compact'>
-<listitem><para>Download (HTTP):
-<ulink url="&ffmpeg-download-http;"/></para></listitem>
-<listitem><para>Download (FTP):
-<ulink url="&ffmpeg-download-ftp;"/></para></listitem>
-<listitem><para>Download MD5 sum: &ffmpeg-md5sum;</para></listitem>
-<listitem><para>Download size: &ffmpeg-size;</para></listitem>
-<listitem><para>Estimated disk space required:
-&ffmpeg-buildsize;</para></listitem>
-<listitem><para>Estimated build time:
-&ffmpeg-time;</para></listitem></itemizedlist>
-</sect3>
+ <indexterm zone="ffmpeg">
+ <primary sortas="a-FFmpeg">FFmpeg</primary>
+ </indexterm>
-<sect3><title><application>FFmpeg</application> dependencies</title>
-<sect4><title>Optional</title>
-<para><xref linkend="libvorbis"/>,
-<xref linkend="lame"/>,
-<xref linkend="imlib2"/>,
-X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
-<xref linkend="sdl"/>,
-<xref linkend="freetype2"/>,
-<xref linkend="mplayer"/> (for the shared post-processing library),
-<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAC</ulink>,
-<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD</ulink> and
-<xref linkend="tex"/> (to build <acronym>HTML</acronym> documentation)</para>
-</sect4>
-</sect3>
+ <sect2 role="package">
+ <title>Introduction to FFmpeg</title>
-</sect2>
+ <para><application>FFmpeg</application> is a solution to record, convert
and
+ stream audio and video. It is a very fast video and audio converter and it
can
+ also acquire from a live audio/video source. Designed to be intuitive, the
+ command-line interface (<command>ffmpeg</command>) tries to figure out all
the
+ parameters, when possible. <application>FFmpeg</application> can also
convert
+ from any sample rate to any other, and resize video on the fly with a high
+ quality polyphase filter. <application>FFmpeg</application> can use a
+ video4linux compatible video source and any Open Sound System audio
+ source.</para>
-<sect2>
-<title>Installation of <application>FFmpeg</application></title>
+ <bridgehead renderas="sect3">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>Download (HTTP): <ulink url="&ffmpeg-download-http;"/></para>
+ </listitem>
+ <listitem>
+ <para>Download (FTP): <ulink url="&ffmpeg-download-ftp;"/></para>
+ </listitem>
+ <listitem>
+ <para>Download MD5 sum: &ffmpeg-md5sum;</para>
+ </listitem>
+ <listitem>
+ <para>Download size: &ffmpeg-size;</para>
+ </listitem>
+ <listitem>
+ <para>Estimated disk space required: &ffmpeg-buildsize;</para>
+ </listitem>
+ <listitem>
+ <para>Estimated build time: &ffmpeg-time;</para>
+ </listitem>
+ </itemizedlist>
-<para>Install <application>FFmpeg</application> by running the following
-commands:</para>
+ <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
-<note><para>Review the <filename>doc/optimization.txt</filename> file in the
-source tree for information about optimizing the build.</para></note>
+ <bridgehead renderas="sect4">Optional</bridgehead>
+ <para><xref linkend="libvorbis"/>,
+ <xref linkend="lame"/>,
+ <xref linkend="imlib2"/>,
+ X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
+ <xref linkend="sdl"/>,
+ <xref linkend="freetype2"/>,
+ <xref linkend="mplayer"/> (for the shared post-processing library),
+ <ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAC</ulink>,
+ <ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD</ulink>
and
+ <xref linkend="tex"/> (to build HTML documentation)</para>
-<screen><userinput><command>sed -i -e "s/static uint64/const uint64/" \
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of FFmpeg</title>
+
+ <para>Install <application>FFmpeg</application> by running the following
+ commands:</para>
+
+ <note>
+ <para>Review the <filename>doc/optimization.txt</filename> file in the
+ source tree for information about optimizing the build.</para>
+ </note>
+
+<screen><userinput>sed -i -e "s/static uint64/const uint64/" \
libavcodec/liba52/resample_mmx.c &&
./configure --prefix=/usr --enable-shared \
--enable-pthreads --disable-ffplay &&
-make</command></userinput></screen>
+make</userinput></screen>
-<para>If you have <application>TeX</application> installed, the man pages
-and documentation were built during the <command>make</command> process. Skip
-to the root user installation steps. If you do not have
-<application>TeX</application> installed, use the following command to build
-the man pages:</para>
+ <para>If you have <application>TeX</application> installed, the man pages
+ and documentation were built during the <command>make</command> process.
+ Skip to the <systemitem class="username">root</systemitem> user
installation
+ steps. If you do not have <application>TeX</application> installed, use
the
+ following command to build the man pages:</para>
-<screen><userinput><command>make -C doc
{ffmpeg,ffserver,ffplay}.1</command></userinput></screen>
+<screen><userinput>make -C doc {ffmpeg,ffserver,ffplay}.1</userinput></screen>
-<para>Now, as the root user:</para>
+ <para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-<screen><userinput role='root'><command>make
install</command></userinput></screen>
+<screen role="root"><userinput>make install</userinput></screen>
-<para>If you have <application>TeX</application> installed (which caused the
-HTML documentation to be built earlier), install the documentation by issuing
-the following commands as the root user:</para>
+ <para>If you have <application>TeX</application> installed (which caused
+ the HTML documentation to be built earlier), install the documentation by
+ issuing the following commands as the <systemitem
+ class="username">root</systemitem> user:</para>
-<screen><userinput role='root'><command>install -v -m755 -d
/usr/share/doc/ffmpeg-&ffmpeg-version; &&
-install -v -m644 doc/*.html
/usr/share/doc/ffmpeg-&ffmpeg-version;</command></userinput></screen>
+<screen role="root"><userinput>install -v -m755 -d
/usr/share/doc/ffmpeg-&ffmpeg-version; &&
+install -v -m644 doc/*.html
/usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
-</sect2>
+ </sect2>
-<sect2>
-<title>Command explanations</title>
+ <sect2 role="commands">
+ <title>Command Explanations</title>
-<para><command>sed -i -e "s/static uint64/const uint64/"
-libavcodec/liba52/resample_mmx.c</command>: This command fixes an issue
-on machines with MMX capability and use <application>GCC</application>-3.4.x
-to compile in A52 support using the <option>--enable-a52</option> parameter
-passed to the <command>configure</command> script.</para>
+ <para><command>sed -i -e "s/static uint64/const uint64/"
+ libavcodec/liba52/resample_mmx.c</command>: This command fixes an issue
+ on machines with MMX capability and use
<application>GCC</application>-3.4.x
+ to compile in A52 support using the <option>--enable-a52</option>
parameter
+ passed to the <command>configure</command> script.</para>
-<para><parameter>--enable-shared</parameter>: This switch is needed to
-build the <filename class="libraryfile">libavcodec</filename> and
-<filename class="libraryfile">libavformat</filename> shared
-libraries.</para>
+ <para><parameter>--enable-shared</parameter>: This switch is needed to
+ build the <filename class="libraryfile">libavcodec</filename> and
+ <filename class="libraryfile">libavformat</filename> shared
+ libraries.</para>
-<para><parameter>--enable-pthreads</parameter>: This switch enables the
-build to link against the Posix threads library.</para>
+ <para><parameter>--enable-pthreads</parameter>: This switch enables the
+ build to link against the Posix threads library.</para>
-<para><option>--disable-ffplay</option>: Only installs the server part.
-<command>ffplay</command> requires <application>X</application> for
-building. Remove this option if <application>X</application> is
-installed.</para>
+ <para><parameter>--disable-ffplay</parameter>: Only installs the server
part.
+ <command>ffplay</command> requires <application>X</application> for
+ building. Remove this option if <application>X</application> is
+ installed.</para>
-<para><option>--enable-<replaceable>[codec]</replaceable></option>: Review
-the available options and codecs using the
-<command>./configure --help</command> command.</para>
+ <para><option>--enable-<replaceable>[codec]</replaceable></option>: Review
+ the available options and codecs using the
+ <command>./configure --help</command> command.</para>
-</sect2>
+ </sect2>
-<sect2>
-<title>Configuring <application>FFmpeg</application></title>
+ <sect2 role="configuration">
+ <title>Configuring FFmpeg</title>
-<sect3 id="ffmpeg-config"><title>Config files</title>
+ <sect3 id="ffmpeg-config">
+ <title>Config Files</title>
-<para><filename>/etc/ffserver.conf</filename> and
-<filename>~/.ffmpeg/ffserver-config</filename></para>
+ <para><filename>/etc/ffserver.conf</filename> and
+ <filename>~/.ffmpeg/ffserver-config</filename></para>
-<indexterm zone="ffmpeg ffmpeg-config">
-<primary
-sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
-</indexterm>
-<indexterm zone="ffmpeg ffmpeg-config">
-<primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
-</indexterm>
+ <indexterm zone="ffmpeg ffmpeg-config">
+ <primary
sortas="e-AA.ffmpeg-ffserver-config">~/.ffmpeg/ffserver-config</primary>
+ </indexterm>
-<para>You'll find a sample ffserver configuration file at
-<ulink url="http://ffmpeg.sourceforge.net/sample.html"/> (also
-<filename>doc/ffserver.conf</filename> in the source tree).</para>
-</sect3>
+ <indexterm zone="ffmpeg ffmpeg-config">
+ <primary sortas="e-etc-ffserver.conf">/etc/ffserver.conf</primary>
+ </indexterm>
-</sect2>
+ <para>You'll find a sample ffserver configuration file at
+ <ulink url="http://ffmpeg.sourceforge.net/sample.html"/> (also
+ <filename>doc/ffserver.conf</filename> in the source tree).</para>
-<sect2>
-<title>Contents</title>
+ </sect3>
-<segmentedlist>
-<segtitle>Installed Programs</segtitle>
-<segtitle>Installed Libraries</segtitle>
-<segtitle>Installed Directories</segtitle>
-<seglistitem>
-<seg>ffmpeg, ffserver and optionally, ffplay</seg>
-<seg>libavcodec.so, libavformat.so and video hook modules</seg>
-<seg>/usr/include/ffmpeg, /usr/lib/vhook and
-/usr/share/doc/ffmpeg-&ffmpeg-version;</seg>
-</seglistitem>
-</segmentedlist>
+ </sect2>
-<variablelist>
-<bridgehead renderas="sect3">Short Descriptions</bridgehead>
-<?dbfo list-presentation="list"?>
+ <sect2 role="content">
+ <title>Contents</title>
-<varlistentry id="ffmpeg-prog">
-<term><command>ffmpeg</command></term>
-<listitem><para>is a command-line tool to convert video files, network streams
-and input from a <acronym>TV</acronym> card to several video formats.</para>
-<indexterm zone="ffmpeg ffmpeg-prog">
-<primary sortas="b-ffmpeg">ffmpeg</primary></indexterm>
-</listitem>
-</varlistentry>
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
-<varlistentry id="ffplay">
-<term><command>ffplay</command></term>
-<listitem><para>is a very simple and portable media player using the
-<filename>ffmpeg</filename> libraries and the <acronym>SDL</acronym>
-library.</para>
-<indexterm zone="ffmpeg ffplay">
-<primary sortas="b-ffplay">ffplay</primary></indexterm>
-</listitem>
-</varlistentry>
+ <seglistitem>
+ <seg>ffmpeg, ffserver, and optionally, ffplay</seg>
+ <seg>libavcodec.so, libavformat.so, and video hook modules</seg>
+ <seg>/usr/include/ffmpeg, /usr/lib/vhook, and
+ /usr/share/doc/ffmpeg-&ffmpeg-version;</seg>
+ </seglistitem>
+ </segmentedlist>
-<varlistentry id="ffserver">
-<term><command>ffserver</command></term>
-<listitem><para>is a streaming server for everything that
-<command>ffmpeg</command> could use as input (files, streams, TV card input,
-webcam, etc.).</para>
-<indexterm zone="ffmpeg ffserver">
-<primary sortas="b-ffserver">ffserver</primary></indexterm>
-</listitem>
-</varlistentry>
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
-<varlistentry id="libavcodec">
-<term><filename class='libraryfile'>libavcodec.so</filename></term>
-<listitem><para>is a library containing the <application>FFmpeg</application>
-codecs (both encoding and decoding).</para>
-<indexterm zone="ffmpeg libavcodec">
-<primary sortas="c-libavcodec">libavcodec.so</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="ffmpeg-prog">
+ <term><command>ffmpeg</command></term>
+ <listitem>
+ <para>is a command-line tool to convert video files, network streams
+ and input from a TV card to several video formats.</para>
+ <indexterm zone="ffmpeg ffmpeg-prog">
+ <primary sortas="b-ffmpeg">ffmpeg</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="libavformat">
-<term><filename class='libraryfile'>libavformat.so</filename></term>
-<listitem><para>is a library containing the file formats handling (mux and
-demux code for several formats) used by <command>ffplay</command> as well as
-allowing the generation of audio or video streams.</para>
-<indexterm zone="ffmpeg libavformat">
-<primary sortas="c-libavformat">libavformat.so</primary></indexterm>
-</listitem>
-</varlistentry>
-</variablelist>
+ <varlistentry id="ffplay">
+ <term><command>ffplay</command></term>
+ <listitem>
+ <para>is a very simple and portable media player using the
+ <filename>ffmpeg</filename> libraries and the SDL library.</para>
+ <indexterm zone="ffmpeg ffplay">
+ <primary sortas="b-ffplay">ffplay</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-</sect2>
+ <varlistentry id="ffserver">
+ <term><command>ffserver</command></term>
+ <listitem>
+ <para>is a streaming server for everything that
<command>ffmpeg</command>
+ could use as input (files, streams, TV card input, webcam,
etc.).</para>
+ <indexterm zone="ffmpeg ffserver">
+ <primary sortas="b-ffserver">ffserver</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+ <varlistentry id="libavcodec">
+ <term><filename class='libraryfile'>libavcodec.so</filename></term>
+ <listitem>
+ <para>is a library containing the <application>FFmpeg</application>
+ codecs (both encoding and decoding).</para>
+ <indexterm zone="ffmpeg libavcodec">
+ <primary sortas="c-libavcodec">libavcodec.so</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="libavformat">
+ <term><filename class='libraryfile'>libavformat.so</filename></term>
+ <listitem>
+ <para>is a library containing the file formats handling (mux and
demux code
+ for several formats) used by <command>ffplay</command> as well as
+ allowing the generation of audio or video streams.</para>
+ <indexterm zone="ffmpeg libavformat">
+ <primary sortas="c-libavformat">libavformat.so</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
</sect1>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page