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