source: multimedia/libdriv/faac.xml

trunk
Last change on this file was 181e069f, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag all perl modules

  • Property mode set to 100644
File size: 7.6 KB
Line 
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 iPod. Moreover, iPod does not
33 understand other sound compression schemes in video files.
34 </para>
35
36 &lfs121_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 &amp;&amp;
84./configure --prefix=/usr --disable-static &amp;&amp;
85make</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
103aplay Front_Left.wav</userinput></screen>
104
105 <para>
106 <command>aplay</command> should identify the file as
107 <quote>Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</quote>, 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. There are the
150 following alternative programs for producing AAC and HE-AAC streams:
151 </para>
152
153 <itemizedlist>
154 <listitem>
155 <para>
156 <ulink url="http://www.nero.com/eng/nero-aac-codec.html">Nero AAC
157 Codec</ulink>:
158 available only in the binary form, the command-line AAC and HE-AAC
159 encoders for Linux are in the same archive as the Windows
160 application.
161 </para>
162 </listitem>
163 <listitem>
164 <para>
165 <ulink url="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1459">3GPP
166 Enhanced aacPlus general audio codec</ulink>:
167 available in the source form, can encode only HE-AAC up to 48 kbps
168 out of the box, but the maximum bitrate can be changed by editing
169 the tuning table in the
170 <filename>FloatFR_sbrenclib/src/sbr_main.c</filename> file.
171 </para>
172 </listitem>
173 </itemizedlist>
174
175 <para>
176 Note, however, that iPod supports only Low Complexity AAC profile, which
177 is the default in FAAC, but may not be the default in Nero AAC Encoder
178 and is completely unavailable in the 3GPP encoder.
179 </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>
206 is a command-line AAC encoder
207 </para>
208 <indexterm zone="faac faac-prog">
209 <primary sortas="b-faac">faac</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libfaac">
215 <term><filename class="libraryfile">libfaac.so</filename></term>
216 <listitem>
217 <para>
218 contains functions for encoding AAC streams
219 </para>
220 <indexterm zone="faac libfaac">
221 <primary sortas="c-libfaac">libfaac.so</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="libmp4v2">
227 <term><filename class="libraryfile">libmp4v2.so</filename></term>
228 <listitem>
229 <para>
230 contains functions for creating and manipulating MP4 files
231 </para>
232 <indexterm zone="faac libmp4v2">
233 <primary sortas="c-libmp4v2">libmp4v2.so</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 </variablelist>
239
240 </sect2>
241
242</sect1>
Note: See TracBrowser for help on using the repository browser.