source: multimedia/videoutils/ffmpeg.xml@ 50b154ba

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 50b154ba was 8a9da37, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to FFmpeg-0.4.9-pre1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2955 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
Line 
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.6 MB">
9 <!ENTITY ffmpeg-buildsize "49 MB">
10 <!ENTITY ffmpeg-time "0.87 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
25stream audio and video. It is a very fast video and audio converter and it can
26also acquire from a live audio/video source. Designed to be intuitive, the
27command-line interface (<command>ffmpeg</command>) tries to figure out all the
28parameters, when possible. <application>FFmpeg</application> can also convert
29from any sample rate to any other, and resize video on the fly with a high
30quality polyphase filter. <application>FFmpeg</application> can use a
31video4linux compatible video source and any Open Sound System audio
32source.</para>
33
34<sect3><title>Package information</title>
35<itemizedlist spacing='compact'>
36<listitem><para>Download (HTTP): <ulink url="&ffmpeg-download-http;"/></para></listitem>
37<listitem><para>Download (FTP): <ulink url="&ffmpeg-download-ftp;"/></para></listitem>
38<listitem><para>Download size: &ffmpeg-size;</para></listitem>
39<listitem><para>Estimated disk space required: &ffmpeg-buildsize;</para></listitem>
40<listitem><para>Estimated build time: &ffmpeg-time;</para></listitem></itemizedlist>
41</sect3>
42
43<!-- <sect3><title>Additional downloads</title>
44<itemizedlist spacing='compact'>
45<listitem><para>Required Patch: <ulink
46url="&patch-root;/ffmpeg-&ffmpeg-version;-gcc34-1.patch"/></para>
47</listitem></itemizedlist>
48</sect3> -->
49
50<sect3><title><application>FFmpeg</application> dependencies</title>
51<sect4><title>Optional</title>
52<para><xref linkend="libvorbis"/>,
53<xref linkend="lame"/>,
54<xref linkend="liba52"/>,
55<xref linkend="imlib2"/>,
56X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
57<xref linkend="SDL"/>,
58<xref linkend="freetype2"/>,
59<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAC</ulink> and
60<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD</ulink></para>
61</sect4>
62</sect3>
63
64</sect2>
65
66<sect2>
67<title>Installation of <application>FFmpeg</application></title>
68
69<para>Install <application>FFmpeg</application> by running the following
70commands:</para>
71
72<note><para>Review the <filename>doc/optimization.txt</filename> file in the
73source tree for information about optimizing the build.</para></note>
74
75<!-- <screen><userinput><command>patch -Np1 -i ../ffmpeg-&ffmpeg-version;-gcc34-1.patch &amp;&amp; -->
76<screen><userinput><command>./configure --prefix=/usr \
77 --enable-shared --enable-pthreads &amp;&amp;
78make &amp;&amp;
79make -C doc {ffmpeg,ffserver,ffplay}.1 &amp;&amp;
80make install</command></userinput></screen>
81
82</sect2>
83
84<sect2>
85<title>Command explanations</title>
86
87<para><parameter>--enable-shared</parameter>: This switch is needed to
88build the <filename class="libraryfile">libavcodec</filename> and
89<filename class="libraryfile">libavformat</filename> shared
90libraries.</para>
91
92<para><parameter>--enable-pthreads</parameter>: This switch enables the
93build to link against the Posix threads library.</para>
94
95<para><option>--enable-<replaceable>[codec]</replaceable></option>: Review
96the available options and codecs using the
97<command>./configure --help</command> command.</para>
98
99<para><option>--disable-ffplay</option>: Only installs the server part.
100<command>ffplay</command> requires <application>X</application> for
101building.</para>
102
103<para><command>make -C doc {ffmpeg,ffserver,ffplay}.1</command>: This builds
104the man pages which are installed by <command>make install</command>.</para>
105
106<note><para>Linking the <application>liba52</application> library using the
107<option>--enable-a52</option> parameter to <command>configure</command> is
108known to break the build.</para></note>
109
110</sect2>
111
112<sect2>
113<title>Configuring <application>FFmpeg</application></title>
114
115<sect3><title>Config files</title>
116
117<para><filename>/etc/ffserver.conf</filename> and
118<filename>~/.ffmpeg/ffserver-config</filename></para>
119
120<para>You'll find a sample ffserver configuration file at
121<ulink url="http://ffmpeg.sourceforge.net/sample.html"/> (also
122<filename>doc/ffserver.conf</filename> in the source tree).</para>
123
124</sect3>
125
126</sect2>
127
128<sect2>
129<title>Contents</title>
130
131<para>The <application>FFmpeg</application> package contains
132<command>ffmpeg</command>,
133<command>ffserver</command>,
134<command>ffplay</command>,
135<filename class="libraryfile">libavcodec</filename>,
136<filename class="libraryfile">libavformat</filename> and
137video hook modules.</para>
138
139</sect2>
140
141<sect2><title>Description</title>
142
143<sect3><title>ffmpeg</title>
144<para><command>ffmpeg</command> is a command-line tool to convert video files,
145network streams and input from a TV card to several video formats.</para>
146</sect3>
147
148<sect3><title>ffserver</title>
149<para><command>ffserver</command> is a streaming server for everything
150that <command>ffmpeg</command> could use as input (files, streams, TV card
151input, webcam, etc.).</para></sect3>
152
153<sect3><title>ffplay</title>
154<para><command>ffplay</command> is a very simple and portable media
155player using the <filename>ffmpeg</filename> libraries and the
156<acronym>SDL</acronym> library.</para></sect3>
157
158<sect3><title>libavcodec/libavformat</title>
159<para><filename class="libraryfile">libavcodec</filename> and
160<filename class="libraryfile">libavformats</filename> are libraries for
161encoding/decoding video streams and putting them into files or network
162packets.</para></sect3>
163
164</sect2>
165
166</sect1>
167
Note: See TracBrowser for help on using the repository browser.