[01062dd] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 |
|
---|
| 6 | <!ENTITY ffmpeg-download-http "http://prdownloads.sourceforge.net/ffmpeg/ffmpeg-&ffmpeg-version;.tar.gz">
|
---|
| 7 | <!ENTITY ffmpeg-download-ftp " ">
|
---|
| 8 | <!ENTITY ffmpeg-size "1.3 MB">
|
---|
| 9 | <!ENTITY ffmpeg-buildsize "31 MB">
|
---|
| 10 | <!ENTITY ffmpeg-time "0.89 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[d374b41] | 13 | <sect1 id="ffmpeg" xreflabel="FFmpeg-&ffmpeg-version;">
|
---|
[dd3f20f0] | 14 | <?dbhtml filename="ffmpeg.html"?>
|
---|
[d374b41] | 15 | <title>FFmpeg-&ffmpeg-version;</title>
|
---|
[49e5372] | 16 |
|
---|
[01062dd] | 17 | <sect2>
|
---|
| 18 | <title>Introduction to <application>FFmpeg</application></title>
|
---|
| 19 |
|
---|
| 20 | <para><application>FFmpeg</application> is a solution to record, convert and stream audio and
|
---|
| 21 | video. Due to heavy development, not all of these functions will work.</para>
|
---|
| 22 |
|
---|
| 23 | <sect3><title>Package information</title>
|
---|
| 24 | <itemizedlist spacing='compact'>
|
---|
| 25 | <listitem><para>Download (HTTP): <ulink url="&ffmpeg-download-http;"/></para></listitem>
|
---|
| 26 | <listitem><para>Download (FTP): <ulink url="&ffmpeg-download-ftp;"/></para></listitem>
|
---|
| 27 | <listitem><para>Download size: &ffmpeg-size;</para></listitem>
|
---|
| 28 | <listitem><para>Estimated Disk space required: &ffmpeg-buildsize;</para></listitem>
|
---|
| 29 | <listitem><para>Estimated build time: &ffmpeg-time;</para></listitem></itemizedlist>
|
---|
| 30 | </sect3>
|
---|
| 31 |
|
---|
| 32 | <sect3><title><application>FFmpeg</application> dependencies</title>
|
---|
| 33 | <sect4><title>Optional</title>
|
---|
| 34 | <para><xref linkend="libvorbis"/>, <xref linkend="lame"/>,
|
---|
| 35 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), <xref linkend="SDL"/> and <xref linkend="freetype2"/>
|
---|
| 36 | </para></sect4>
|
---|
| 37 | </sect3>
|
---|
| 38 |
|
---|
| 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2>
|
---|
| 42 | <title>Installation of <application>FFmpeg</application></title>
|
---|
| 43 |
|
---|
| 44 | <para>Install <application>FFmpeg</application> by running the following
|
---|
| 45 | commands:</para>
|
---|
| 46 |
|
---|
| 47 | <note><para>The package maintainers recommend compiling without any
|
---|
| 48 | optimizations.</para></note>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput><command>./configure --prefix=/usr --enable-shared &&
|
---|
| 51 | make &&
|
---|
| 52 | make install</command></userinput></screen>
|
---|
| 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2>
|
---|
| 57 | <title>Command explanations</title>
|
---|
| 58 |
|
---|
| 59 | <para><option>--enable-shared</option>: This switch is needed to
|
---|
| 60 | build <filename class="libraryfile">libavcodec</filename> and <filename
|
---|
| 61 | class="libraryfile">libavformat</filename> shared libraries.</para>
|
---|
| 62 |
|
---|
| 63 | <para><option>--enable-mp3lame</option>: Link against
|
---|
| 64 | <filename class="libraryfile">libmp3lame</filename>.</para>
|
---|
| 65 |
|
---|
| 66 | <para><option>--enable-vorbis</option>: Link against
|
---|
| 67 | <filename class="libraryfile">libvorbis</filename>.</para>
|
---|
| 68 |
|
---|
| 69 | <para><option>--disable-ffplay</option>: Only installs the server part.
|
---|
| 70 | <command>ffplay</command> requires X for building.</para>
|
---|
| 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
| 75 | <title>Configuring <application>FFmpeg</application></title>
|
---|
| 76 |
|
---|
| 77 | <sect3><title>Config files</title>
|
---|
| 78 |
|
---|
| 79 | <para><filename>~/.ffmpeg/ffserver-config</filename></para>
|
---|
| 80 |
|
---|
| 81 | <para>You'll find a sample ffserver configuration file at
|
---|
| 82 | <ulink url="http://ffmpeg.sourceforge.net/sample.html"/></para>
|
---|
| 83 |
|
---|
| 84 | </sect3>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2>
|
---|
| 89 | <title>Contents</title>
|
---|
| 90 |
|
---|
| 91 | <para>The <application>FFmpeg</application> package contains <command>ffmpeg
|
---|
| 92 | </command>, <command>ffserver</command>, <command>ffplay</command>,
|
---|
| 93 | <filename class="libraryfile">libavcodec</filename> and
|
---|
| 94 | <filename class="libraryfile">libavformat</filename>.</para>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2><title>Description</title>
|
---|
| 99 |
|
---|
| 100 | <sect3><title>ffmpeg</title>
|
---|
| 101 | <para><command>ffmpeg</command> is a command-line tool to convert video files,
|
---|
| 102 | network streams and input from a TV card to several video formats.</para></sect3>
|
---|
| 103 |
|
---|
| 104 | <sect3><title>ffserver</title>
|
---|
| 105 | <para><command>ffserver</command> is a streaming server for everything
|
---|
| 106 | that <command>ffmpeg</command> could use as input (files, streams, TV card
|
---|
| 107 | input, webcam, etc.).</para></sect3>
|
---|
| 108 |
|
---|
| 109 | <sect3><title>ffplay</title>
|
---|
| 110 | <para><command>ffplay</command> is a very simple and portable media
|
---|
| 111 | player using the <filename>ffmpeg</filename> libraries and the <acronym>SDL
|
---|
| 112 | </acronym> library.</para></sect3>
|
---|
| 113 |
|
---|
| 114 | <sect3><title>libavcodec/libavformat</title>
|
---|
| 115 | <para><filename class="libraryfile">libavcodec</filename> and <filename
|
---|
| 116 | class="libraryfile">libavformats</filename> are libraries for encoding/decoding
|
---|
| 117 | video streams and putting them into files or network packets. Since
|
---|
| 118 | they're well documented, you can easily include them in your software,
|
---|
| 119 | like some other packages already do.</para></sect3>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
[49e5372] | 122 |
|
---|
| 123 | </sect1>
|
---|
| 124 |
|
---|