source: multimedia/videoutils/ffmpeg.xml@ 2af644ac

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 2af644ac was 560e14cf, checked in by Randy McMurchy <randy@…>, 20 years ago

Added gcc34 patch (fixes LFS-6.0 build problem) and optional dependencies to FFmpeg

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

  • Property mode set to 100644
File size: 5.1 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.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
25stream audio and video. Due to heavy development, not all of these functions
26will work.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download (HTTP): <ulink url="&ffmpeg-download-http;"/></para></listitem>
31<listitem><para>Download (FTP): <ulink url="&ffmpeg-download-ftp;"/></para></listitem>
32<listitem><para>Download size: &ffmpeg-size;</para></listitem>
33<listitem><para>Estimated Disk space required: &ffmpeg-buildsize;</para></listitem>
34<listitem><para>Estimated build time: &ffmpeg-time;</para></listitem></itemizedlist>
35</sect3>
36
37<sect3><title>Additional downloads</title>
38<itemizedlist spacing='compact'>
39<listitem><para>Required Patch: <ulink
40url="&patch-root;/ffmpeg-&ffmpeg-version;-gcc34-1.patch"/></para>
41</listitem></itemizedlist>
42</sect3>
43
44<sect3><title><application>FFmpeg</application> dependencies</title>
45<sect4><title>Optional</title>
46<para><xref linkend="libvorbis"/>, <xref linkend="lame"/>,
47<xref linkend="liba52"/>, <xref linkend="imlib2"/>,
48X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
49<xref linkend="SDL"/>, <xref linkend="freetype2"/>,
50<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAC</ulink> and
51<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD</ulink></para>
52</sect4>
53</sect3>
54
55</sect2>
56
57<sect2>
58<title>Installation of <application>FFmpeg</application></title>
59
60<para>Install <application>FFmpeg</application> by running the following
61commands:</para>
62
63<note><para>The package maintainers recommend compiling without any
64optimizations.</para></note>
65
66<screen><userinput><command>patch -Np1 -i ../ffmpeg-&ffmpeg-version;-gcc34-1.patch &amp;&amp;
67./configure --prefix=/usr --enable-shared &amp;&amp;
68make &amp;&amp;
69make install</command></userinput></screen>
70
71</sect2>
72
73<sect2>
74<title>Command explanations</title>
75
76<para><parameter>--enable-shared</parameter>: This switch is needed to
77build the <filename class="libraryfile">libavcodec</filename> and
78<filename class="libraryfile">libavformat</filename> shared
79libraries.</para>
80
81<para><option>--enable-mp3lame</option>: Link against
82<filename class="libraryfile">libmp3lame</filename>.</para>
83
84<para><option>--enable-vorbis</option>: Link against
85<filename class="libraryfile">libvorbis</filename>.</para>
86
87<para><option>--disable-ffplay</option>: Only installs the server part.
88<command>ffplay</command> requires <application>X</application> for
89building.</para>
90
91<note><para>Linking the <application>liba52</application> library using the
92<option>--enable-a52</option> parameter to <command>configure</command> is
93known to break the build.</para></note>
94
95</sect2>
96
97<sect2>
98<title>Configuring <application>FFmpeg</application></title>
99
100<sect3><title>Config files</title>
101
102<para><filename>~/.ffmpeg/ffserver-config</filename></para>
103
104<para>You'll find a sample ffserver configuration file at
105<ulink url="http://ffmpeg.sourceforge.net/sample.html"/></para>
106
107</sect3>
108
109</sect2>
110
111<sect2>
112<title>Contents</title>
113
114<para>The <application>FFmpeg</application> package contains
115<command>ffmpeg</command>, <command>ffserver</command>,
116<command>ffplay</command>,
117<filename class="libraryfile">libavcodec</filename> and
118<filename class="libraryfile">libavformat</filename>.</para>
119
120</sect2>
121
122<sect2><title>Description</title>
123
124<sect3><title>ffmpeg</title>
125<para><command>ffmpeg</command> is a command-line tool to convert video files,
126network streams and input from a TV card to several video formats.</para>
127</sect3>
128
129<sect3><title>ffserver</title>
130<para><command>ffserver</command> is a streaming server for everything
131that <command>ffmpeg</command> could use as input (files, streams, TV card
132input, webcam, etc.).</para></sect3>
133
134<sect3><title>ffplay</title>
135<para><command>ffplay</command> is a very simple and portable media
136player using the <filename>ffmpeg</filename> libraries and the
137<acronym>SDL</acronym> library.</para></sect3>
138
139<sect3><title>libavcodec/libavformat</title>
140<para><filename class="libraryfile">libavcodec</filename> and
141<filename class="libraryfile">libavformats</filename> are libraries for
142encoding/decoding video streams and putting them into files or network
143packets. Since they're well documented, you can easily include them in your
144software, like some other packages already do.</para></sect3>
145
146</sect2>
147
148</sect1>
149
Note: See TracBrowser for help on using the repository browser.