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