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