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