source: multimedia/videoutils/ffmpeg.xml@ 0598344

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 0598344 was 0598344, checked in by Randy McMurchy <randy@…>, 19 years ago

Added indexing tags to LAME

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

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