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