[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 |
|
---|
[6d9af84] | 7 | <!ENTITY faac-download-http "https://github.com/knik0/faac/archive/&faac-version;/faac-&faac-version;.tar.gz">
|
---|
[1152ff5e] | 8 | <!ENTITY faac-download-ftp " ">
|
---|
[6d9af84] | 9 | <!ENTITY faac-md5sum "8d61e6d55088e599aa91532d5e6995b0">
|
---|
| 10 | <!ENTITY faac-size "240 KB">
|
---|
| 11 | <!ENTITY faac-buildsize "4.7 MB">
|
---|
[c7cb25b] | 12 | <!ENTITY faac-time "less than 0.1 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 |
|
---|
[2eeb8695] | 32 | <para>
|
---|
| 33 | <application>FAAC</application> is an encoder for a lossy sound
|
---|
| 34 | compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards
|
---|
| 35 | and known as Advanced Audio Coding (AAC). This encoder is useful for
|
---|
| 36 | producing files that can be played back on iPod. Moreover, iPod does not
|
---|
| 37 | understand other sound compression schemes in video files.
|
---|
| 38 | </para>
|
---|
[222787b9] | 39 |
|
---|
[56229a7e] | 40 | &lfs91_checked;
|
---|
[d5ad4c26] | 41 |
|
---|
[222787b9] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[2eeb8695] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&faac-download-http;"/>
|
---|
| 47 | </para>
|
---|
[222787b9] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[2eeb8695] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&faac-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[222787b9] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[2eeb8695] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &faac-md5sum;
|
---|
| 57 | </para>
|
---|
[222787b9] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[2eeb8695] | 60 | <para>
|
---|
| 61 | Download size: &faac-size;
|
---|
| 62 | </para>
|
---|
[222787b9] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[2eeb8695] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &faac-buildsize;
|
---|
| 67 | </para>
|
---|
[222787b9] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[2eeb8695] | 70 | <para>
|
---|
| 71 | Estimated build time: &faac-time;
|
---|
| 72 | </para>
|
---|
[222787b9] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <para condition="html" role="usernotes">User Notes:
|
---|
| 77 | <ulink url="&blfs-wiki;/faac"/></para>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of FAAC</title>
|
---|
| 83 |
|
---|
[2eeb8695] | 84 | <para>
|
---|
| 85 | Install <application>FAAC</application> by running the
|
---|
| 86 | following commands:
|
---|
| 87 | </para>
|
---|
[222787b9] | 88 |
|
---|
[6d9af84] | 89 | <screen><userinput>./bootstrap &&
|
---|
| 90 | ./configure --prefix=/usr --disable-static &&
|
---|
[222787b9] | 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
[2eeb8695] | 93 | <para>
|
---|
| 94 | This package does not come with a test suite. However, basic
|
---|
| 95 | functionality can be tested by encoding a sample WAV file (the sample
|
---|
| 96 | file is installed by the <xref linkend="alsa-utils"/> package:
|
---|
| 97 | </para>
|
---|
[fd7e0ed6] | 98 |
|
---|
[f67554b0] | 99 | <screen remap="test"><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
|
---|
[222787b9] | 100 |
|
---|
[2eeb8695] | 101 | <para>
|
---|
| 102 | Then, decode the result using the <command>faad</command> program
|
---|
| 103 | from the <xref linkend="faad2"/> package and play back the decoded file
|
---|
| 104 | (requires the <command>aplay</command> program from the
|
---|
| 105 | <xref linkend="alsa-utils"/> package:
|
---|
| 106 | </para>
|
---|
[222787b9] | 107 |
|
---|
[f67554b0] | 108 | <screen remap="test"><userinput>faad Front_Left.mp4
|
---|
[222787b9] | 109 | aplay Front_Left.wav</userinput></screen>
|
---|
| 110 |
|
---|
[2eeb8695] | 111 | <para>
|
---|
| 112 | <command>aplay</command> should identify the file as
|
---|
| 113 | <quote>Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</quote>, and
|
---|
| 114 | you should hear the words <quote>front left</quote>.
|
---|
| 115 | </para>
|
---|
[222787b9] | 116 |
|
---|
[2eeb8695] | 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
[222787b9] | 120 |
|
---|
| 121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
[a16e1ea0] | 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 129 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 130 |
|
---|
[d5ad4c26] | 131 | <!-- 1.28: This is still broken, it causes a segfault. -->
|
---|
[979dcbd5] | 132 | <!--
|
---|
[2eeb8695] | 133 | <para>
|
---|
| 134 | <option>- -enable-drm</option>: This option is supposed to enable
|
---|
| 135 | support for encoding files for
|
---|
| 136 | <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but
|
---|
| 137 | actually breaks the base functionality of the package (e.g., the resulting
|
---|
| 138 | <command>faac</command> program produces files that cannot be decoded
|
---|
| 139 | by <xref linkend="faad2"/>, even if compiled with DRM support).
|
---|
| 140 | Don't use it.
|
---|
| 141 | </para>
|
---|
[979dcbd5] | 142 | -->
|
---|
| 143 | <!-- Since we say "Don't use it", let's not even list it. That would open up
|
---|
| 144 | the possibility of a user seeing it and enabling it anyway. -->
|
---|
[222787b9] | 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2>
|
---|
| 148 | <title>Other AAC encoders</title>
|
---|
| 149 |
|
---|
[2eeb8695] | 150 | <para>
|
---|
| 151 | The quality of <application>FAAC</application> is not up
|
---|
| 152 | to par with the best AAC encoders currently available. Also, it only
|
---|
| 153 | supports AAC and not High Efficiency AAC (also known as aacPlus), which
|
---|
| 154 | provides better quality at low bitrates by means of using the
|
---|
| 155 | <quote>spectral band replication</quote> technology. There are the
|
---|
| 156 | following alternative programs for producing AAC and HE-AAC streams:
|
---|
| 157 | </para>
|
---|
[222787b9] | 158 |
|
---|
| 159 | <itemizedlist>
|
---|
| 160 | <listitem>
|
---|
[2eeb8695] | 161 | <para>
|
---|
| 162 | <ulink url="http://www.nero.com/eng/nero-aac-codec.html">Nero AAC
|
---|
| 163 | Codec</ulink>:
|
---|
| 164 | available only in the binary form, the command-line AAC and HE-AAC
|
---|
| 165 | encoders for Linux are in the same archive as the Windows
|
---|
| 166 | application.
|
---|
| 167 | </para>
|
---|
[222787b9] | 168 | </listitem>
|
---|
| 169 | <listitem>
|
---|
[2eeb8695] | 170 | <para>
|
---|
| 171 | <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.
|
---|
| 177 | </para>
|
---|
[222787b9] | 178 | </listitem>
|
---|
| 179 | </itemizedlist>
|
---|
| 180 |
|
---|
[2eeb8695] | 181 | <para>
|
---|
| 182 | Note, however, that iPod supports only Low Complexity AAC profile, which
|
---|
| 183 | is the default in FAAC, but may not be the default in Nero AAC Encoder
|
---|
| 184 | and is completely unavailable in the 3GPP encoder.
|
---|
| 185 | </para>
|
---|
[222787b9] | 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 | <sect2 role="content">
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <segmentedlist>
|
---|
| 192 | <segtitle>Installed Program</segtitle>
|
---|
| 193 | <segtitle>Installed Libraries</segtitle>
|
---|
[402da65] | 194 | <segtitle>Installed Directories</segtitle>
|
---|
[222787b9] | 195 |
|
---|
| 196 | <seglistitem>
|
---|
| 197 | <seg>faac</seg>
|
---|
[a16e1ea0] | 198 | <seg>libfaac.so and libmp4v2.so</seg>
|
---|
[402da65] | 199 | <seg>None</seg>
|
---|
[222787b9] | 200 | </seglistitem>
|
---|
| 201 | </segmentedlist>
|
---|
| 202 |
|
---|
| 203 | <variablelist>
|
---|
| 204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 205 | <?dbfo list-presentation="list"?>
|
---|
| 206 | <?dbhtml list-presentation="table"?>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="faac-prog">
|
---|
| 209 | <term><command>faac</command></term>
|
---|
| 210 | <listitem>
|
---|
[2eeb8695] | 211 | <para>
|
---|
| 212 | is a command-line AAC encoder.
|
---|
| 213 | </para>
|
---|
[222787b9] | 214 | <indexterm zone="faac faac-prog">
|
---|
| 215 | <primary sortas="b-faac">faac</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="libfaac">
|
---|
[a16e1ea0] | 221 | <term><filename class='libraryfile'>libfaac.so</filename></term>
|
---|
[222787b9] | 222 | <listitem>
|
---|
[2eeb8695] | 223 | <para>
|
---|
| 224 | contains functions for encoding AAC streams.
|
---|
| 225 | </para>
|
---|
[222787b9] | 226 | <indexterm zone="faac libfaac">
|
---|
[a16e1ea0] | 227 | <primary sortas="c-libfaac">libfaac.so</primary>
|
---|
[222787b9] | 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="libmp4v2">
|
---|
[a16e1ea0] | 233 | <term><filename class='libraryfile'>libmp4v2.so</filename></term>
|
---|
[222787b9] | 234 | <listitem>
|
---|
[2eeb8695] | 235 | <para>
|
---|
| 236 | contains functions for creating and manipulating MP4 files.
|
---|
| 237 | </para>
|
---|
[222787b9] | 238 | <indexterm zone="faac libmp4v2">
|
---|
[a16e1ea0] | 239 | <primary sortas="c-libmp4v2">libmp4v2.so</primary>
|
---|
[222787b9] | 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | </variablelist>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
| 247 |
|
---|
| 248 | </sect1>
|
---|