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