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