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