source: multimedia/videoutils/ffmpeg.xml@ 68ad918

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 68ad918 was 68ad918, checked in by Igor Živković <igor@…>, 19 years ago

Updated to SDL-1.2.8.

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