[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 |
|
---|
[6d9af84] | 7 | <!ENTITY faad2-download-http "https://github.com/knik0/faad2/archive/&faad2-version;/faad2-&faad2-version;.tar.gz">
|
---|
[c8bb20a8] | 8 | <!ENTITY faad2-download-ftp " ">
|
---|
[758f3f6] | 9 | <!ENTITY faad2-md5sum "f948925a6763e30c53078f5af339d6cc">
|
---|
[b8ff9ea] | 10 | <!ENTITY faad2-size "788 KB">
|
---|
| 11 | <!ENTITY faad2-buildsize "16 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 | <date>$Date$</date>
|
---|
[92de4f24] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>FAAD2-&faad2-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="faad2">
|
---|
| 25 | <primary sortas="a-faad2">faad2</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to FAAD2</title>
|
---|
| 30 |
|
---|
[2eeb8695] | 31 | <para>
|
---|
| 32 | <application>FAAD2</application> is a decoder for a lossy sound
|
---|
| 33 | compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3
|
---|
| 34 | standards and known as Advanced Audio Coding (AAC).
|
---|
| 35 | </para>
|
---|
[92de4f24] | 36 |
|
---|
[c93c620c] | 37 | &lfs110a_checked;
|
---|
[c3cb9d7] | 38 |
|
---|
[92de4f24] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[2eeb8695] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&faad2-download-http;"/>
|
---|
| 44 | </para>
|
---|
[92de4f24] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[2eeb8695] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&faad2-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[92de4f24] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[2eeb8695] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &faad2-md5sum;
|
---|
| 54 | </para>
|
---|
[92de4f24] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[2eeb8695] | 57 | <para>
|
---|
| 58 | Download size: &faad2-size;
|
---|
| 59 | </para>
|
---|
[92de4f24] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[2eeb8695] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &faad2-buildsize;
|
---|
| 64 | </para>
|
---|
[92de4f24] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[2eeb8695] | 67 | <para>
|
---|
| 68 | Estimated build time: &faad2-time;
|
---|
| 69 | </para>
|
---|
[92de4f24] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[c8bb20a8] | 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Sample AAC file: <ulink url="http://www.nch.com.au/acm/sample.aac"/> (7 KB)
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
[92de4f24] | 80 | </itemizedlist>
|
---|
[13447b9] | 81 |
|
---|
[92de4f24] | 82 |
|
---|
| 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/faad2"/></para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of FAAD2</title>
|
---|
| 90 |
|
---|
[2eeb8695] | 91 | <para>
|
---|
| 92 | Install <application>FAAD2</application> by running the
|
---|
| 93 | following commands:
|
---|
| 94 | </para>
|
---|
[92de4f24] | 95 |
|
---|
[6d9af84] | 96 | <screen><userinput>./bootstrap &&
|
---|
| 97 | ./configure --prefix=/usr --disable-static &&
|
---|
[92de4f24] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
[2eeb8695] | 100 | <para>
|
---|
| 101 | This package does not come with a test suite. However, basic
|
---|
| 102 | functionality can be tested by decoding the sample AAC file:
|
---|
| 103 | </para>
|
---|
[fd7e0ed6] | 104 |
|
---|
[f67554b0] | 105 | <screen remap="test"><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
|
---|
[92de4f24] | 106 |
|
---|
[2eeb8695] | 107 | <para>
|
---|
| 108 | This should display a copyright message and the following
|
---|
| 109 | information about the sample file:
|
---|
| 110 | </para>
|
---|
[92de4f24] | 111 |
|
---|
[402da65] | 112 | <literallayout><computeroutput>sample.aac file info:
|
---|
[92de4f24] | 113 | ADTS, 4.608 sec, 13 kbps, 16000 Hz
|
---|
| 114 |
|
---|
| 115 | ---------------------
|
---|
| 116 | | Config: 2 Ch |
|
---|
| 117 | ---------------------
|
---|
| 118 | | Ch | Position |
|
---|
| 119 | ---------------------
|
---|
| 120 | | 00 | Left front |
|
---|
| 121 | | 01 | Right front |
|
---|
[402da65] | 122 | ---------------------</computeroutput></literallayout>
|
---|
[92de4f24] | 123 |
|
---|
[2eeb8695] | 124 | <para>
|
---|
| 125 | Now play the result (requires the <command>aplay</command> program
|
---|
| 126 | from the <xref linkend="alsa-utils"/> package):
|
---|
| 127 | </para>
|
---|
[92de4f24] | 128 |
|
---|
[f67554b0] | 129 | <screen remap="test"><userinput>aplay sample.wav</userinput></screen>
|
---|
[92de4f24] | 130 |
|
---|
[2eeb8695] | 131 | <para>
|
---|
| 132 | <command>aplay</command> should identify the file as
|
---|
| 133 | <quote>Signed 16 bit Little Endian, Rate 16000 Hz, Stereo</quote>, and
|
---|
| 134 | you should hear some piano notes.
|
---|
| 135 | </para>
|
---|
[92de4f24] | 136 |
|
---|
[2eeb8695] | 137 | <para>
|
---|
| 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
[92de4f24] | 140 |
|
---|
| 141 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="commands">
|
---|
| 146 | <title>Command Explanations</title>
|
---|
| 147 |
|
---|
[c8bb20a8] | 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 149 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 150 |
|
---|
[92de4f24] | 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="content">
|
---|
| 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
| 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Program</segtitle>
|
---|
[402da65] | 158 | <segtitle>Installed Library</segtitle>
|
---|
| 159 | <segtitle>Installed Directories</segtitle>
|
---|
[92de4f24] | 160 |
|
---|
| 161 | <seglistitem>
|
---|
| 162 | <seg>faad</seg>
|
---|
[ae284778] | 163 | <seg>libfaad.so and libfaad_drm.so</seg>
|
---|
[402da65] | 164 | <seg>None</seg>
|
---|
[92de4f24] | 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="faad-prog">
|
---|
| 174 | <term><command>faad</command></term>
|
---|
| 175 | <listitem>
|
---|
[2eeb8695] | 176 | <para>
|
---|
[4c24eb0a] | 177 | is a command-line utility for decoding AAC and MP4 files
|
---|
[2eeb8695] | 178 | </para>
|
---|
[92de4f24] | 179 | <indexterm zone="faad2 faad-prog">
|
---|
| 180 | <primary sortas="b-faad">faad</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="libfaad">
|
---|
[4c24eb0a] | 186 | <term><filename class="libraryfile">libfaad.so</filename></term>
|
---|
[92de4f24] | 187 | <listitem>
|
---|
[2eeb8695] | 188 | <para>
|
---|
[4c24eb0a] | 189 | contains functions for decoding AAC streams
|
---|
[2eeb8695] | 190 | </para>
|
---|
[92de4f24] | 191 | <indexterm zone="faad2 libfaad">
|
---|
[c8bb20a8] | 192 | <primary sortas="c-libfaad">libfaad.so</primary>
|
---|
[92de4f24] | 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | </variablelist>
|
---|
| 198 |
|
---|
| 199 | </sect2>
|
---|
| 200 |
|
---|
| 201 | </sect1>
|
---|