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