[222787b9] | 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 |
|
---|
[1152ff5e] | 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">
|
---|
[d5ad4c26] | 11 | <!ENTITY faac-buildsize "20 MB">
|
---|
| 12 | <!ENTITY faac-time "0.4 SBU">
|
---|
[222787b9] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="faac" xreflabel="FAAC-&faac-version;">
|
---|
| 16 | <?dbhtml filename="faac.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[8b7be7b6] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[222787b9] | 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
|
---|
[402da65] | 34 | and known as Advanced Audio Coding (AAC). This encoder is useful for
|
---|
[222787b9] | 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 |
|
---|
[7bb72e0] | 38 | &lfs74_checked;
|
---|
[d5ad4c26] | 39 |
|
---|
[222787b9] | 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 |
|
---|
[d5ad4c26] | 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 |
|
---|
[222787b9] | 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,
|
---|
[13447b9] | 75 | as of 2007-09-28, development of the project is stopped;
|
---|
[222787b9] | 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 |
|
---|
[d5ad4c26] | 90 | <screen><userinput>patch -Np1 -i ../faac-&faac-version;-glibc_fixes-1.patch &&
|
---|
[be9a1905] | 91 | sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c &&
|
---|
[a16e1ea0] | 92 | ./configure --prefix=/usr --disable-static &&
|
---|
[222787b9] | 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
[402da65] | 95 | <para>This package does not come with a test suite. However, basic
|
---|
| 96 | functionality can be tested by encoding a sample WAV file (the sample
|
---|
| 97 | file is installed by the <xref linkend="alsa-utils"/> package:</para>
|
---|
[fd7e0ed6] | 98 |
|
---|
[222787b9] | 99 | <screen><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
|
---|
| 100 |
|
---|
[402da65] | 101 | <para>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:</para>
|
---|
[222787b9] | 105 |
|
---|
| 106 | <screen><userinput>faad Front_Left.mp4
|
---|
| 107 | aplay Front_Left.wav</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para><command>aplay</command> should identify the file as
|
---|
[402da65] | 110 | <quote>Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</quote>, and you
|
---|
| 111 | should hear the words <quote>front left</quote>.</para>
|
---|
[222787b9] | 112 |
|
---|
| 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</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 |
|
---|
[d5ad4c26] | 122 | <!-- <para><command>./bootstrap</command>: This command runs GNU Autotools
|
---|
[402da65] | 123 | to create the <command>configure</command> script and other required
|
---|
[d5ad4c26] | 124 | build files.</para> -->
|
---|
[222787b9] | 125 |
|
---|
[402da65] | 126 | <!-- Note to editors: remove this sed if the new release re-enables the
|
---|
[be9a1905] | 127 | option (look for "#if 0" near "case OBJTYPE_FLAG:", this is line
|
---|
| 128 | 697 in frontend/main.c as of FAAC-1.26) or fixes the documentation
|
---|
[104733c] | 129 | so that it doesn't mention the disabled option. -->
|
---|
[be9a1905] | 130 |
|
---|
| 131 | <para><command>sed -i ...</command>: This command removes documentation
|
---|
| 132 | for the <option>--obj-type</option> parameter from the
|
---|
[72328875] | 133 | <command>faac --long-help</command> command output. This parameter
|
---|
[402da65] | 134 | is already disabled in FAAC-&faac-version; due to sound quality issues
|
---|
[be9a1905] | 135 | with object types other than <quote>Low Complexity</quote>.</para>
|
---|
| 136 |
|
---|
[a16e1ea0] | 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 138 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 139 |
|
---|
[d5ad4c26] | 140 | <!-- 1.28: This is still broken, it causes a segfault. -->
|
---|
| 141 |
|
---|
[222787b9] | 142 | <para><option>--enable-drm</option>: This option is supposed to enable
|
---|
| 143 | support for encoding files for
|
---|
| 144 | <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but
|
---|
| 145 | actually breaks the base functionality of the package (e.g., the resulting
|
---|
| 146 | <command>faac</command> program produces files that cannot be decoded
|
---|
| 147 | by <xref linkend="faad2"/>, even if compiled with DRM support).
|
---|
| 148 | Don't use it.</para>
|
---|
[402da65] | 149 |
|
---|
[222787b9] | 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2>
|
---|
| 153 | <title>Other AAC encoders</title>
|
---|
| 154 |
|
---|
| 155 | <para>The quality of <application>FAAC</application> is not up
|
---|
[402da65] | 156 | to par with the best AAC encoders currently available. Also, it only
|
---|
| 157 | supports AAC and not High Efficiency AAC (also known as aacPlus), which
|
---|
| 158 | provides better quality at low bitrates by means of using the
|
---|
[222787b9] | 159 | <quote>spectral band replication</quote> technology. There are the
|
---|
| 160 | following alternative programs for producing AAC and HE-AAC streams:</para>
|
---|
| 161 |
|
---|
| 162 | <itemizedlist>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para><ulink url="http://www.nero.com/eng/nero-aac-codec.html">Nero AAC Codec</ulink>:
|
---|
[402da65] | 165 | available only in the binary form, the command-line AAC and HE-AAC encoders
|
---|
| 166 | for Linux are in the same archive as the Windows application.</para>
|
---|
[222787b9] | 167 | </listitem>
|
---|
| 168 | <listitem>
|
---|
[402da65] | 169 | <para><ulink url="http://www.3gpp.org/ftp/Specs/html-info/26410.htm">3GPP
|
---|
| 170 | Enhanced aacPlus general audio codec</ulink>:
|
---|
[222787b9] | 171 | available in the source form, can encode only HE-AAC up to 48 kbps
|
---|
| 172 | out of the box, but the maximum bitrate can be changed by editing
|
---|
| 173 | the tuning table in the
|
---|
| 174 | <filename>FloatFR_sbrenclib/src/sbr_main.c</filename> file.</para>
|
---|
| 175 | </listitem>
|
---|
| 176 | </itemizedlist>
|
---|
| 177 |
|
---|
| 178 | <para>Note, however, that iPod supports only Low Complexity AAC profile,
|
---|
| 179 | which is the default in FAAC, but may not be the default in Nero AAC Encoder
|
---|
| 180 | and is completely unavailable in the 3GPP encoder.</para>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 | <sect2 role="content">
|
---|
| 184 | <title>Contents</title>
|
---|
| 185 |
|
---|
| 186 | <segmentedlist>
|
---|
| 187 | <segtitle>Installed Program</segtitle>
|
---|
| 188 | <segtitle>Installed Libraries</segtitle>
|
---|
[402da65] | 189 | <segtitle>Installed Directories</segtitle>
|
---|
[222787b9] | 190 |
|
---|
| 191 | <seglistitem>
|
---|
| 192 | <seg>faac</seg>
|
---|
[a16e1ea0] | 193 | <seg>libfaac.so and libmp4v2.so</seg>
|
---|
[402da65] | 194 | <seg>None</seg>
|
---|
[222787b9] | 195 | </seglistitem>
|
---|
| 196 | </segmentedlist>
|
---|
| 197 |
|
---|
| 198 | <variablelist>
|
---|
| 199 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 200 | <?dbfo list-presentation="list"?>
|
---|
| 201 | <?dbhtml list-presentation="table"?>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="faac-prog">
|
---|
| 204 | <term><command>faac</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>is a command-line AAC encoder.</para>
|
---|
| 207 | <indexterm zone="faac faac-prog">
|
---|
| 208 | <primary sortas="b-faac">faac</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="libfaac">
|
---|
[a16e1ea0] | 214 | <term><filename class='libraryfile'>libfaac.so</filename></term>
|
---|
[222787b9] | 215 | <listitem>
|
---|
[402da65] | 216 | <para>contains functions for encoding AAC streams.</para>
|
---|
[222787b9] | 217 | <indexterm zone="faac libfaac">
|
---|
[a16e1ea0] | 218 | <primary sortas="c-libfaac">libfaac.so</primary>
|
---|
[222787b9] | 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="libmp4v2">
|
---|
[a16e1ea0] | 224 | <term><filename class='libraryfile'>libmp4v2.so</filename></term>
|
---|
[222787b9] | 225 | <listitem>
|
---|
[402da65] | 226 | <para>contains functions for creating and manipulating MP4 files.</para>
|
---|
[222787b9] | 227 | <indexterm zone="faac libmp4v2">
|
---|
[a16e1ea0] | 228 | <primary sortas="c-libmp4v2">libmp4v2.so</primary>
|
---|
[222787b9] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
| 234 |
|
---|
| 235 | </sect2>
|
---|
| 236 |
|
---|
| 237 | </sect1>
|
---|