[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY faad2-download-http "&sourceforge-dl;/faac/faad2-&faad2-version;.tar.gz">
|
---|
[c8bb20a8] | 8 | <!ENTITY faad2-download-ftp " ">
|
---|
[0b8b5ed] | 9 | <!ENTITY faad2-md5sum "28f6116efdbe9378269f8a6221767d1f">
|
---|
[ce794256] | 10 | <!ENTITY faad2-size "1.0 MB">
|
---|
[0a95cfcf] | 11 | <!ENTITY faad2-buildsize "12 MB">
|
---|
[c7cb25b] | 12 | <!ENTITY faad2-time "0.2 SBU">
|
---|
[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 |
|
---|
[9fa4a66] | 36 | &lfs82_checked;
|
---|
[c3cb9d7] | 37 |
|
---|
[92de4f24] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&faad2-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&faad2-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &faad2-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &faad2-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &faad2-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &faad2-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[c8bb20a8] | 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Sample AAC file: <ulink url="http://www.nch.com.au/acm/sample.aac"/> (7 KB)
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
[92de4f24] | 67 | </itemizedlist>
|
---|
[13447b9] | 68 |
|
---|
[92de4f24] | 69 |
|
---|
| 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/faad2"/></para>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of FAAD2</title>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>FAAD2</application> by running the
|
---|
| 79 | following commands:</para>
|
---|
| 80 |
|
---|
[ce794256] | 81 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[92de4f24] | 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
[402da65] | 84 | <para>This package does not come with a test suite. However, basic
|
---|
| 85 | functionality can be tested by decoding the sample AAC file:</para>
|
---|
[fd7e0ed6] | 86 |
|
---|
[92de4f24] | 87 | <screen><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>This should display a copyright message and the following
|
---|
| 90 | information about the sample file:</para>
|
---|
| 91 |
|
---|
[402da65] | 92 | <literallayout><computeroutput>sample.aac file info:
|
---|
[92de4f24] | 93 | ADTS, 4.608 sec, 13 kbps, 16000 Hz
|
---|
| 94 |
|
---|
| 95 | ---------------------
|
---|
| 96 | | Config: 2 Ch |
|
---|
| 97 | ---------------------
|
---|
| 98 | | Ch | Position |
|
---|
| 99 | ---------------------
|
---|
| 100 | | 00 | Left front |
|
---|
| 101 | | 01 | Right front |
|
---|
[402da65] | 102 | ---------------------</computeroutput></literallayout>
|
---|
[92de4f24] | 103 |
|
---|
[402da65] | 104 | <para>Now play the result (requires the <command>aplay</command> program
|
---|
| 105 | from the <xref linkend="alsa-utils"/> package):</para>
|
---|
[92de4f24] | 106 |
|
---|
| 107 | <screen><userinput>aplay sample.wav</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para><command>aplay</command> should identify the file as
|
---|
[402da65] | 110 | <quote>Signed 16 bit Little Endian, Rate 16000 Hz, Stereo</quote>, and you
|
---|
| 111 | should hear some piano notes.</para>
|
---|
[92de4f24] | 112 |
|
---|
| 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[c8bb20a8] | 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 123 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 124 |
|
---|
[92de4f24] | 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Program</segtitle>
|
---|
[402da65] | 132 | <segtitle>Installed Library</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
[92de4f24] | 134 |
|
---|
| 135 | <seglistitem>
|
---|
| 136 | <seg>faad</seg>
|
---|
[ae284778] | 137 | <seg>libfaad.so and libfaad_drm.so</seg>
|
---|
[402da65] | 138 | <seg>None</seg>
|
---|
[92de4f24] | 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="faad-prog">
|
---|
| 148 | <term><command>faad</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>is a command-line utility for decoding AAC and MP4 files.</para>
|
---|
| 151 | <indexterm zone="faad2 faad-prog">
|
---|
| 152 | <primary sortas="b-faad">faad</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="libfaad">
|
---|
[c8bb20a8] | 158 | <term><filename class='libraryfile'>libfaad.so</filename></term>
|
---|
[92de4f24] | 159 | <listitem>
|
---|
[402da65] | 160 | <para>contains functions for decoding AAC streams.</para>
|
---|
[92de4f24] | 161 | <indexterm zone="faad2 libfaad">
|
---|
[c8bb20a8] | 162 | <primary sortas="c-libfaad">libfaad.so</primary>
|
---|
[92de4f24] | 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | </variablelist>
|
---|
| 168 |
|
---|
| 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | </sect1>
|
---|