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 "https://github.com/knik0/faac/archive/&faac-version;/faac-&faac-version;.tar.gz">
|
---|
8 | <!ENTITY faac-download-ftp " ">
|
---|
9 | <!ENTITY faac-md5sum "8d61e6d55088e599aa91532d5e6995b0">
|
---|
10 | <!ENTITY faac-size "240 KB">
|
---|
11 | <!ENTITY faac-buildsize "4.7 MB">
|
---|
12 | <!ENTITY faac-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="faac" xreflabel="FAAC-&faac-version;">
|
---|
16 | <?dbhtml filename="faac.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>FAAC-&faac-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="faac">
|
---|
25 | <primary sortas="a-faac">faac</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to FAAC</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | <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.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs111_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&faac-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&faac-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &faac-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &faac-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &faac-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &faac-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <para condition="html" role="usernotes">User Notes:
|
---|
76 | <ulink url="&blfs-wiki;/faac"/></para>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2 role="installation">
|
---|
81 | <title>Installation of FAAC</title>
|
---|
82 |
|
---|
83 | <para>
|
---|
84 | Install <application>FAAC</application> by running the
|
---|
85 | following commands:
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <screen><userinput>./bootstrap &&
|
---|
89 | ./configure --prefix=/usr --disable-static &&
|
---|
90 | make</userinput></screen>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | This package does not come with a test suite. However, basic
|
---|
94 | functionality can be tested by encoding a sample WAV file (the sample
|
---|
95 | file is installed by the <xref linkend="alsa-utils"/> package:
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <screen remap="test"><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Then, decode the result using the <command>faad</command> program
|
---|
102 | from the <xref linkend="faad2"/> package and play back the decoded file
|
---|
103 | (requires the <command>aplay</command> program from the
|
---|
104 | <xref linkend="alsa-utils"/> package:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen remap="test"><userinput>faad Front_Left.mp4
|
---|
108 | aplay Front_Left.wav</userinput></screen>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | <command>aplay</command> should identify the file as
|
---|
112 | <quote>Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</quote>, and
|
---|
113 | you should hear the words <quote>front left</quote>.
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="commands">
|
---|
125 | <title>Command Explanations</title>
|
---|
126 |
|
---|
127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
128 | href="../../xincludes/static-libraries.xml"/>
|
---|
129 |
|
---|
130 | <!-- 1.28: This is still broken, it causes a segfault. -->
|
---|
131 | <!--
|
---|
132 | <para>
|
---|
133 | <option>- -enable-drm</option>: This option is supposed to enable
|
---|
134 | support for encoding files for
|
---|
135 | <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but
|
---|
136 | actually breaks the base functionality of the package (e.g., the resulting
|
---|
137 | <command>faac</command> program produces files that cannot be decoded
|
---|
138 | by <xref linkend="faad2"/>, even if compiled with DRM support).
|
---|
139 | Don't use it.
|
---|
140 | </para>
|
---|
141 | -->
|
---|
142 | <!-- Since we say "Don't use it", let's not even list it. That would open up
|
---|
143 | the possibility of a user seeing it and enabling it anyway. -->
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | <sect2>
|
---|
147 | <title>Other AAC encoders</title>
|
---|
148 |
|
---|
149 | <para>
|
---|
150 | The quality of <application>FAAC</application> is not up
|
---|
151 | to par with the best AAC encoders currently available. Also, it only
|
---|
152 | supports AAC and not High Efficiency AAC (also known as aacPlus), which
|
---|
153 | provides better quality at low bitrates by means of using the
|
---|
154 | <quote>spectral band replication</quote> technology. There are the
|
---|
155 | following alternative programs for producing AAC and HE-AAC streams:
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <itemizedlist>
|
---|
159 | <listitem>
|
---|
160 | <para>
|
---|
161 | <ulink url="http://www.nero.com/eng/nero-aac-codec.html">Nero AAC
|
---|
162 | Codec</ulink>:
|
---|
163 | available only in the binary form, the command-line AAC and HE-AAC
|
---|
164 | encoders for Linux are in the same archive as the Windows
|
---|
165 | application.
|
---|
166 | </para>
|
---|
167 | </listitem>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | <ulink url="http://www.3gpp.org/ftp/Specs/html-info/26410.htm">3GPP
|
---|
171 | Enhanced aacPlus general audio codec</ulink>:
|
---|
172 | available in the source form, can encode only HE-AAC up to 48 kbps
|
---|
173 | out of the box, but the maximum bitrate can be changed by editing
|
---|
174 | the tuning table in the
|
---|
175 | <filename>FloatFR_sbrenclib/src/sbr_main.c</filename> file.
|
---|
176 | </para>
|
---|
177 | </listitem>
|
---|
178 | </itemizedlist>
|
---|
179 |
|
---|
180 | <para>
|
---|
181 | Note, however, that iPod supports only Low Complexity AAC profile, which
|
---|
182 | is the default in FAAC, but may not be the default in Nero AAC Encoder
|
---|
183 | and is completely unavailable in the 3GPP encoder.
|
---|
184 | </para>
|
---|
185 |
|
---|
186 | </sect2>
|
---|
187 | <sect2 role="content">
|
---|
188 | <title>Contents</title>
|
---|
189 |
|
---|
190 | <segmentedlist>
|
---|
191 | <segtitle>Installed Program</segtitle>
|
---|
192 | <segtitle>Installed Libraries</segtitle>
|
---|
193 | <segtitle>Installed Directories</segtitle>
|
---|
194 |
|
---|
195 | <seglistitem>
|
---|
196 | <seg>faac</seg>
|
---|
197 | <seg>libfaac.so and libmp4v2.so</seg>
|
---|
198 | <seg>None</seg>
|
---|
199 | </seglistitem>
|
---|
200 | </segmentedlist>
|
---|
201 |
|
---|
202 | <variablelist>
|
---|
203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
204 | <?dbfo list-presentation="list"?>
|
---|
205 | <?dbhtml list-presentation="table"?>
|
---|
206 |
|
---|
207 | <varlistentry id="faac-prog">
|
---|
208 | <term><command>faac</command></term>
|
---|
209 | <listitem>
|
---|
210 | <para>
|
---|
211 | is a command-line AAC encoder
|
---|
212 | </para>
|
---|
213 | <indexterm zone="faac faac-prog">
|
---|
214 | <primary sortas="b-faac">faac</primary>
|
---|
215 | </indexterm>
|
---|
216 | </listitem>
|
---|
217 | </varlistentry>
|
---|
218 |
|
---|
219 | <varlistentry id="libfaac">
|
---|
220 | <term><filename class="libraryfile">libfaac.so</filename></term>
|
---|
221 | <listitem>
|
---|
222 | <para>
|
---|
223 | contains functions for encoding AAC streams
|
---|
224 | </para>
|
---|
225 | <indexterm zone="faac libfaac">
|
---|
226 | <primary sortas="c-libfaac">libfaac.so</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | <varlistentry id="libmp4v2">
|
---|
232 | <term><filename class="libraryfile">libmp4v2.so</filename></term>
|
---|
233 | <listitem>
|
---|
234 | <para>
|
---|
235 | contains functions for creating and manipulating MP4 files
|
---|
236 | </para>
|
---|
237 | <indexterm zone="faac libmp4v2">
|
---|
238 | <primary sortas="c-libmp4v2">libmp4v2.so</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 |
|
---|
243 | </variablelist>
|
---|
244 |
|
---|
245 | </sect2>
|
---|
246 |
|
---|
247 | </sect1>
|
---|