source: multimedia/libdriv/faac.xml@ f02583f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f02583f was 5325348, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update libinput install instructions.
Fix faac md5sum for stealth update and add bootstrap command.

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

  • Property mode set to 100644
File size: 8.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY faac-download-http "&sourceforge-repo;/faac/faac-&faac-version;.tar.bz2">
8 <!ENTITY faac-download-ftp " ">
9 <!ENTITY faac-md5sum "6d3d7e8f5eb54438bdd9300223993acd">
10 <!ENTITY faac-size "300 KB">
11 <!ENTITY faac-buildsize "13 MB">
12 <!ENTITY faac-time "0.1 SBU">
13]>
14
15<sect1 id="faac" xreflabel="FAAC-&faac-version;">
16 <?dbhtml filename="faac.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>FAAC-&faac-version;</title>
24
25 <indexterm zone="faac">
26 <primary sortas="a-faac">faac</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to FAAC</title>
31
32 <para><application>FAAC</application> is an encoder for a lossy sound
33 compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards
34 and known as Advanced Audio Coding (AAC). This encoder is useful for
35 producing files that can be played back on iPod. Moreover, iPod does not
36 understand other sound compression schemes in video files.</para>
37
38 &lfs80_checked;
39 &gcc7_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&faac-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&faac-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &faac-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &faac-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &faac-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &faac-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">FAAC Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Optional</bridgehead>
66 <para>libmp4v2 from
67 <ulink url="http://mpeg4ip.sourceforge.net/">mpeg4ip</ulink> (untested,
68 as of 2007-09-28, development of the project is stopped;
69 an internal version of the library is used if the external one
70 is not found).</para>
71
72 <para condition="html" role="usernotes">User Notes:
73 <ulink url="&blfs-wiki;/faac"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of FAAC</title>
79
80 <para>Install <application>FAAC</application> by running the
81 following commands:</para>
82
83<screen><userinput>sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c &amp;&amp;
84
85./bootstrap &amp;&amp;
86
87CFLAGS=-std=c99 CXXFLAGS=-std=c++98 \
88./configure --prefix=/usr --disable-static &amp;&amp;
89make</userinput></screen>
90
91 <para>This package does not come with a test suite. However, basic
92 functionality can be tested by encoding a sample WAV file (the sample
93 file is installed by the <xref linkend="alsa-utils"/> package:</para>
94
95<screen><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
96
97 <para>Then, decode the result using the <command>faad</command> program
98 from the <xref linkend="faad2"/> package and play back the decoded file
99 (requires the <command>aplay</command> program from the
100 <xref linkend="alsa-utils"/> package:</para>
101
102<screen><userinput>faad Front_Left.mp4
103aplay Front_Left.wav</userinput></screen>
104
105 <para><command>aplay</command> should identify the file as
106 <quote>Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</quote>, and you
107 should hear the words <quote>front left</quote>.</para>
108
109 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <!-- <para><command>./bootstrap</command>: This command runs GNU Autotools
119 to create the <command>configure</command> script and other required
120 build files.</para> -->
121
122 <!-- Note to editors: remove this sed if the new release re-enables the
123 option (look for "#if 0" near "case OBJTYPE_FLAG:", this is line
124 697 in frontend/main.c as of FAAC-1.26) or fixes the documentation
125 so that it doesn't mention the disabled option. -->
126
127 <para><envar>CFLAGS=... CXXFLAGS=...</envar>: These environment
128 variables fix a problem with compiling under GCC-6.x.</para>
129
130 <para><command>sed -i ...</command>: This command removes documentation
131 for the <option>--obj-type</option> parameter from the
132 <command>faac --long-help</command> command output. This parameter
133 is already disabled in FAAC-&faac-version; due to sound quality issues
134 with object types other than <quote>Low Complexity</quote>.</para>
135
136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
137 href="../../xincludes/static-libraries.xml"/>
138
139 <!-- 1.28: This is still broken, it causes a segfault. -->
140
141 <para><option>--enable-drm</option>: This option is supposed to enable
142 support for encoding files for
143 <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but
144 actually breaks the base functionality of the package (e.g., the resulting
145 <command>faac</command> program produces files that cannot be decoded
146 by <xref linkend="faad2"/>, even if compiled with DRM support).
147 Don't use it.</para>
148
149 </sect2>
150
151 <sect2>
152 <title>Other AAC encoders</title>
153
154 <para>The quality of <application>FAAC</application> is not up
155 to par with the best AAC encoders currently available. Also, it only
156 supports AAC and not High Efficiency AAC (also known as aacPlus), which
157 provides better quality at low bitrates by means of using the
158 <quote>spectral band replication</quote> technology. There are the
159 following alternative programs for producing AAC and HE-AAC streams:</para>
160
161 <itemizedlist>
162 <listitem>
163 <para><ulink url="http://www.nero.com/eng/nero-aac-codec.html">Nero AAC Codec</ulink>:
164 available only in the binary form, the command-line AAC and HE-AAC encoders
165 for Linux are in the same archive as the Windows application.</para>
166 </listitem>
167 <listitem>
168 <para><ulink url="http://www.3gpp.org/ftp/Specs/html-info/26410.htm">3GPP
169 Enhanced aacPlus general audio codec</ulink>:
170 available in the source form, can encode only HE-AAC up to 48 kbps
171 out of the box, but the maximum bitrate can be changed by editing
172 the tuning table in the
173 <filename>FloatFR_sbrenclib/src/sbr_main.c</filename> file.</para>
174 </listitem>
175 </itemizedlist>
176
177 <para>Note, however, that iPod supports only Low Complexity AAC profile,
178 which is the default in FAAC, but may not be the default in Nero AAC Encoder
179 and is completely unavailable in the 3GPP encoder.</para>
180
181 </sect2>
182 <sect2 role="content">
183 <title>Contents</title>
184
185 <segmentedlist>
186 <segtitle>Installed Program</segtitle>
187 <segtitle>Installed Libraries</segtitle>
188 <segtitle>Installed Directories</segtitle>
189
190 <seglistitem>
191 <seg>faac</seg>
192 <seg>libfaac.so and libmp4v2.so</seg>
193 <seg>None</seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="faac-prog">
203 <term><command>faac</command></term>
204 <listitem>
205 <para>is a command-line AAC encoder.</para>
206 <indexterm zone="faac faac-prog">
207 <primary sortas="b-faac">faac</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="libfaac">
213 <term><filename class='libraryfile'>libfaac.so</filename></term>
214 <listitem>
215 <para>contains functions for encoding AAC streams.</para>
216 <indexterm zone="faac libfaac">
217 <primary sortas="c-libfaac">libfaac.so</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="libmp4v2">
223 <term><filename class='libraryfile'>libmp4v2.so</filename></term>
224 <listitem>
225 <para>contains functions for creating and manipulating MP4 files.</para>
226 <indexterm zone="faac libmp4v2">
227 <primary sortas="c-libmp4v2">libmp4v2.so</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.