2008-01-19 17:35:36 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY faad2-download-http "&sourceforge-dl;/faac/faad2-&faad2-version;.tar.gz">
|
2013-07-28 21:32:25 +08:00
|
|
|
<!ENTITY faad2-download-ftp " ">
|
2017-12-22 08:24:37 +08:00
|
|
|
<!ENTITY faad2-md5sum "28f6116efdbe9378269f8a6221767d1f">
|
2017-10-02 09:25:36 +08:00
|
|
|
<!ENTITY faad2-size "1.0 MB">
|
2017-10-28 06:20:53 +08:00
|
|
|
<!ENTITY faad2-buildsize "12 MB">
|
2017-07-31 04:46:41 +08:00
|
|
|
<!ENTITY faad2-time "0.2 SBU">
|
2008-01-19 17:35:36 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="faad2" xreflabel="FAAD2-&faad2-version;">
|
|
|
|
<?dbhtml filename="faad2.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
2008-01-21 21:47:21 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2008-01-19 17:35:36 +08:00
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>FAAD2-&faad2-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="faad2">
|
|
|
|
<primary sortas="a-faad2">faad2</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to FAAD2</title>
|
|
|
|
|
|
|
|
<para><application>FAAD2</application> is a decoder for a lossy sound
|
|
|
|
compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards
|
|
|
|
and known as Advanced Audio Coding (AAC).</para>
|
|
|
|
|
2019-08-19 09:01:59 +08:00
|
|
|
&lfs90_checked;
|
2009-08-04 21:01:12 +08:00
|
|
|
|
2008-01-19 17:35:36 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&faad2-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&faad2-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &faad2-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &faad2-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &faad2-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &faad2-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
2013-07-28 21:32:25 +08:00
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Sample AAC file: <ulink url="http://www.nch.com.au/acm/sample.aac"/> (7 KB)
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2008-01-19 17:35:36 +08:00
|
|
|
</itemizedlist>
|
2008-03-16 19:10:03 +08:00
|
|
|
|
2008-01-19 17:35:36 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/faad2"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of FAAD2</title>
|
|
|
|
|
|
|
|
<para>Install <application>FAAD2</application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
2017-10-02 09:25:36 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
2008-01-19 17:35:36 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2008-01-21 23:56:41 +08:00
|
|
|
<para>This package does not come with a test suite. However, basic
|
|
|
|
functionality can be tested by decoding the sample AAC file:</para>
|
2008-05-09 20:42:27 +08:00
|
|
|
|
2008-01-19 17:35:36 +08:00
|
|
|
<screen><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
|
|
|
|
|
|
|
|
<para>This should display a copyright message and the following
|
|
|
|
information about the sample file:</para>
|
|
|
|
|
2008-01-21 23:56:41 +08:00
|
|
|
<literallayout><computeroutput>sample.aac file info:
|
2008-01-19 17:35:36 +08:00
|
|
|
ADTS, 4.608 sec, 13 kbps, 16000 Hz
|
|
|
|
|
|
|
|
---------------------
|
|
|
|
| Config: 2 Ch |
|
|
|
|
---------------------
|
|
|
|
| Ch | Position |
|
|
|
|
---------------------
|
|
|
|
| 00 | Left front |
|
|
|
|
| 01 | Right front |
|
2008-01-21 23:56:41 +08:00
|
|
|
---------------------</computeroutput></literallayout>
|
2008-01-19 17:35:36 +08:00
|
|
|
|
2008-01-21 23:56:41 +08:00
|
|
|
<para>Now play the result (requires the <command>aplay</command> program
|
|
|
|
from the <xref linkend="alsa-utils"/> package):</para>
|
2008-01-19 17:35:36 +08:00
|
|
|
|
|
|
|
<screen><userinput>aplay sample.wav</userinput></screen>
|
|
|
|
|
|
|
|
<para><command>aplay</command> should identify the file as
|
2008-01-21 23:56:41 +08:00
|
|
|
<quote>Signed 16 bit Little Endian, Rate 16000 Hz, Stereo</quote>, and you
|
|
|
|
should hear some piano notes.</para>
|
2008-01-19 17:35:36 +08:00
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2013-07-28 21:32:25 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
2008-01-19 17:35:36 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2008-01-21 23:56:41 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2008-01-19 17:35:36 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>faad</seg>
|
2017-07-09 07:46:39 +08:00
|
|
|
<seg>libfaad.so and libfaad_drm.so</seg>
|
2008-01-21 23:56:41 +08:00
|
|
|
<seg>None</seg>
|
2008-01-19 17:35:36 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="faad-prog">
|
|
|
|
<term><command>faad</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a command-line utility for decoding AAC and MP4 files.</para>
|
|
|
|
<indexterm zone="faad2 faad-prog">
|
|
|
|
<primary sortas="b-faad">faad</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libfaad">
|
2013-07-28 21:32:25 +08:00
|
|
|
<term><filename class='libraryfile'>libfaad.so</filename></term>
|
2008-01-19 17:35:36 +08:00
|
|
|
<listitem>
|
2008-01-21 23:56:41 +08:00
|
|
|
<para>contains functions for decoding AAC streams.</para>
|
2008-01-19 17:35:36 +08:00
|
|
|
<indexterm zone="faad2 libfaad">
|
2013-07-28 21:32:25 +08:00
|
|
|
<primary sortas="c-libfaad">libfaad.so</primary>
|
2008-01-19 17:35:36 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|