source: multimedia/libdriv/faac.xml@ 41d241e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 41d241e was 41d241e, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • Update to ntp-4.2.8p4 - Security update.
  • graphviz-2.38.0 fails to build with ghostscript-9.18.
  • audiofile-0.3.6: tests DO pass with --disable-static.
  • Update to gnutls-3.4.6.
  • Update to nss-3.20.1.
  • Update to nspr-4.10.10.
  • libmpeg2-0.5.1: install only shared libraries.
  • libquicktime-1.2.4: rephase one paragrah about doxygen.
  • libcanberra-0.30: include some "Command Explanations and fix one directory.
  • Python-3.4.3: replace PYTHONDOCS by unversioned value, no need to remember to fix profile for user or glogal one.
  • ghostscript-9.16: fix instruction for symlink to docs, for eventual reinstal.
  • libogg-1.3.2: reformat.
  • FAAD2-2.7: reformat.
  • faac-1.28: reformat.

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

  • Property mode set to 100644
File size: 8.6 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 "c5dde68840cefe46532089c9392d1df0">
10 <!ENTITY faac-size "519 KB">
11 <!ENTITY faac-buildsize "20 MB">
12 <!ENTITY faac-time "0.4 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 &lfs78_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 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Required patch: <ulink
66 url="&patch-root;/faac-&faac-version;-glibc_fixes-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">FAAC Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para>libmp4v2 from
74 <ulink url="http://mpeg4ip.sourceforge.net/">mpeg4ip</ulink> (untested,
75 as of 2007-09-28, development of the project is stopped;
76 an internal version of the library is used if the external one
77 is not found).</para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/faac"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of FAAC</title>
86
87 <para>Install <application>FAAC</application> by running the
88 following commands:</para>
89
90<screen><userinput>patch -Np1 -i ../faac-&faac-version;-glibc_fixes-1.patch &amp;&amp;
91
92sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c &amp;&amp;
93
94./configure --prefix=/usr --disable-static &amp;&amp;
95make</userinput></screen>
96
97 <para>This package does not come with a test suite. However, basic
98 functionality can be tested by encoding a sample WAV file (the sample
99 file is installed by the <xref linkend="alsa-utils"/> package:</para>
100
101<screen><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
102
103 <para>Then, decode the result using the <command>faad</command> program
104 from the <xref linkend="faad2"/> package and play back the decoded file
105 (requires the <command>aplay</command> program from the
106 <xref linkend="alsa-utils"/> package:</para>
107
108<screen><userinput>faad Front_Left.mp4
109aplay Front_Left.wav</userinput></screen>
110
111 <para><command>aplay</command> should identify the file as
112 <quote>Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</quote>, and you
113 should hear the words <quote>front left</quote>.</para>
114
115 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <!-- <para><command>./bootstrap</command>: This command runs GNU Autotools
125 to create the <command>configure</command> script and other required
126 build files.</para> -->
127
128 <!-- Note to editors: remove this sed if the new release re-enables the
129 option (look for "#if 0" near "case OBJTYPE_FLAG:", this is line
130 697 in frontend/main.c as of FAAC-1.26) or fixes the documentation
131 so that it doesn't mention the disabled option. -->
132
133 <para><command>sed -i ...</command>: This command removes documentation
134 for the <option>--obj-type</option> parameter from the
135 <command>faac --long-help</command> command output. This parameter
136 is already disabled in FAAC-&faac-version; due to sound quality issues
137 with object types other than <quote>Low Complexity</quote>.</para>
138
139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/static-libraries.xml"/>
141
142 <!-- 1.28: This is still broken, it causes a segfault. -->
143
144 <para><option>--enable-drm</option>: This option is supposed to enable
145 support for encoding files for
146 <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but
147 actually breaks the base functionality of the package (e.g., the resulting
148 <command>faac</command> program produces files that cannot be decoded
149 by <xref linkend="faad2"/>, even if compiled with DRM support).
150 Don't use it.</para>
151
152 </sect2>
153
154 <sect2>
155 <title>Other AAC encoders</title>
156
157 <para>The quality of <application>FAAC</application> is not up
158 to par with the best AAC encoders currently available. Also, it only
159 supports AAC and not High Efficiency AAC (also known as aacPlus), which
160 provides better quality at low bitrates by means of using the
161 <quote>spectral band replication</quote> technology. There are the
162 following alternative programs for producing AAC and HE-AAC streams:</para>
163
164 <itemizedlist>
165 <listitem>
166 <para><ulink url="http://www.nero.com/eng/nero-aac-codec.html">Nero AAC Codec</ulink>:
167 available only in the binary form, the command-line AAC and HE-AAC encoders
168 for Linux are in the same archive as the Windows application.</para>
169 </listitem>
170 <listitem>
171 <para><ulink url="http://www.3gpp.org/ftp/Specs/html-info/26410.htm">3GPP
172 Enhanced aacPlus general audio codec</ulink>:
173 available in the source form, can encode only HE-AAC up to 48 kbps
174 out of the box, but the maximum bitrate can be changed by editing
175 the tuning table in the
176 <filename>FloatFR_sbrenclib/src/sbr_main.c</filename> file.</para>
177 </listitem>
178 </itemizedlist>
179
180 <para>Note, however, that iPod supports only Low Complexity AAC profile,
181 which is the default in FAAC, but may not be the default in Nero AAC Encoder
182 and is completely unavailable in the 3GPP encoder.</para>
183
184 </sect2>
185 <sect2 role="content">
186 <title>Contents</title>
187
188 <segmentedlist>
189 <segtitle>Installed Program</segtitle>
190 <segtitle>Installed Libraries</segtitle>
191 <segtitle>Installed Directories</segtitle>
192
193 <seglistitem>
194 <seg>faac</seg>
195 <seg>libfaac.so and libmp4v2.so</seg>
196 <seg>None</seg>
197 </seglistitem>
198 </segmentedlist>
199
200 <variablelist>
201 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
202 <?dbfo list-presentation="list"?>
203 <?dbhtml list-presentation="table"?>
204
205 <varlistentry id="faac-prog">
206 <term><command>faac</command></term>
207 <listitem>
208 <para>is a command-line AAC encoder.</para>
209 <indexterm zone="faac faac-prog">
210 <primary sortas="b-faac">faac</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="libfaac">
216 <term><filename class='libraryfile'>libfaac.so</filename></term>
217 <listitem>
218 <para>contains functions for encoding AAC streams.</para>
219 <indexterm zone="faac libfaac">
220 <primary sortas="c-libfaac">libfaac.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="libmp4v2">
226 <term><filename class='libraryfile'>libmp4v2.so</filename></term>
227 <listitem>
228 <para>contains functions for creating and manipulating MP4 files.</para>
229 <indexterm zone="faac libmp4v2">
230 <primary sortas="c-libmp4v2">libmp4v2.so</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.