[92de4f24] | 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 |
|
---|
| 7 | <!ENTITY faad2-download-http "http://downloads.sourceforge.net/faac/faad2-&faad2-version;.tar.gz">
|
---|
| 8 | <!ENTITY faad2-download-ftp " ">
|
---|
| 9 | <!ENTITY faad2-md5sum "74e92df40c270f216a8305fc87603c8a">
|
---|
| 10 | <!ENTITY faad2-size "820 KB">
|
---|
| 11 | <!ENTITY faad2-buildsize "15 MB (without media player plugins)">
|
---|
[402da65] | 12 | <!ENTITY faad2-time "0.3 SBU (without media player plugins)">
|
---|
[92de4f24] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="faad2" xreflabel="FAAD2-&faad2-version;">
|
---|
| 16 | <?dbhtml filename="faad2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[8b7be7b6] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[92de4f24] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>FAAD2-&faad2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="faad2">
|
---|
| 26 | <primary sortas="a-faad2">faad2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to FAAD2</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>FAAD2</application> is a decoder for a lossy sound
|
---|
| 33 | compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards
|
---|
| 34 | and known as Advanced Audio Coding (AAC).</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&faad2-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&faad2-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &faad2-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &faad2-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &faad2-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &faad2-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 59 | <itemizedlist spacing="compact">
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Sample AAC file: <ulink url="http://www.nch.com.au/acm/sample.aac"/> (7 KB)</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect3">FAAD2 Dependencies</bridgehead>
|
---|
| 66 |
|
---|
[402da65] | 67 | <bridgehead renderas="sect4">Optional (to build corresponding AAC plugins)</bridgehead>
|
---|
| 68 | <para role="optional"><xref linkend="xmms"/> and
|
---|
| 69 | <ulink url="http://mpeg4ip.sourceforge.net/">mpeg4ip</ulink> (both untested)</para>
|
---|
[92de4f24] | 70 |
|
---|
| 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/faad2"/></para>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of FAAD2</title>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>FAAD2</application> by running the
|
---|
| 80 | following commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./bootstrap &&
|
---|
| 83 | ./configure --prefix=/usr &&
|
---|
| 84 | make</userinput></screen>
|
---|
| 85 |
|
---|
[402da65] | 86 | <para>This package does not come with a test suite. However, basic
|
---|
| 87 | functionality can be tested by decoding the sample AAC file:</para>
|
---|
[92de4f24] | 88 |
|
---|
| 89 | <screen><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>This should display a copyright message and the following
|
---|
| 92 | information about the sample file:</para>
|
---|
| 93 |
|
---|
[402da65] | 94 | <literallayout><computeroutput>sample.aac file info:
|
---|
[92de4f24] | 95 | ADTS, 4.608 sec, 13 kbps, 16000 Hz
|
---|
| 96 |
|
---|
| 97 | ---------------------
|
---|
| 98 | | Config: 2 Ch |
|
---|
| 99 | ---------------------
|
---|
| 100 | | Ch | Position |
|
---|
| 101 | ---------------------
|
---|
| 102 | | 00 | Left front |
|
---|
| 103 | | 01 | Right front |
|
---|
[402da65] | 104 | ---------------------</computeroutput></literallayout>
|
---|
[92de4f24] | 105 |
|
---|
[402da65] | 106 | <para>Now play the result (requires the <command>aplay</command> program
|
---|
| 107 | from the <xref linkend="alsa-utils"/> package):</para>
|
---|
[92de4f24] | 108 |
|
---|
| 109 | <screen><userinput>aplay sample.wav</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para><command>aplay</command> should identify the file as
|
---|
[402da65] | 112 | <quote>Signed 16 bit Little Endian, Rate 16000 Hz, Stereo</quote>, and you
|
---|
| 113 | should hear some piano notes.</para>
|
---|
[92de4f24] | 114 |
|
---|
| 115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <para><command>./bootstrap</command>: This command runs GNU Autotools
|
---|
[402da65] | 125 | to create the <command>configure</command> script and other
|
---|
| 126 | required build files.</para>
|
---|
[92de4f24] | 127 |
|
---|
| 128 | <para><option>--with-drm</option>: This option is supposed to enable
|
---|
| 129 | support for decoding
|
---|
| 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>faad</command> program cannot decode the sample AAC file
|
---|
| 133 | linked above). Don't use it.</para>
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Program</segtitle>
|
---|
[402da65] | 141 | <segtitle>Installed Library</segtitle>
|
---|
| 142 | <segtitle>Installed Directories</segtitle>
|
---|
[92de4f24] | 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>faad</seg>
|
---|
| 146 | <seg>libfaad.{so,a}</seg>
|
---|
[402da65] | 147 | <seg>None</seg>
|
---|
[92de4f24] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="faad-prog">
|
---|
| 157 | <term><command>faad</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>is a command-line utility for decoding AAC and MP4 files.</para>
|
---|
| 160 | <indexterm zone="faad2 faad-prog">
|
---|
| 161 | <primary sortas="b-faad">faad</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="libfaad">
|
---|
| 167 | <term><filename class='libraryfile'>libfaad.{so,a}</filename></term>
|
---|
| 168 | <listitem>
|
---|
[402da65] | 169 | <para>contains functions for decoding AAC streams.</para>
|
---|
[92de4f24] | 170 | <indexterm zone="faad2 libfaad">
|
---|
| 171 | <primary sortas="c-libfaad">libfaad.{so,a}</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | </variablelist>
|
---|
| 177 |
|
---|
| 178 | </sect2>
|
---|
| 179 |
|
---|
| 180 | </sect1>
|
---|