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