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