FAAD2-2.6.1

Introduction to FAAD2

FAAD2 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).

Package Information

Additional Downloads

FAAD2 Dependencies

Optional (to build corresponding AAC plugins)

XMMS-1.2.10 and mpeg4ip (both are untested, and both projects are dead).

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/faad2

Installation of FAAD2

Install FAAD2 by running the following commands:

./bootstrap &&
./configure --prefix=/usr &&
make

This package does not come with a test suite. However, basic functionality can be tested by decoding the sample AAC file:

./frontend/faad -o sample.wav ../sample.aac

This should display a copyright message and the following information about the sample file:

sample.aac file info:
ADTS, 4.608 sec, 13 kbps, 16000 Hz

  ---------------------
 | Config:  2 Ch       |
  ---------------------
 | Ch |    Position    |
  ---------------------
 | 00 | Left front     |
 | 01 | Right front    |
  ---------------------

Now play the result (requires the aplay program from the ALSA Utilities-1.0.13 package):

aplay sample.wav

aplay should identify the file as “Signed 16 bit Little Endian, Rate 16000 Hz, Stereo”, and you should hear some piano notes.

Now, as the root user:

make install

Command Explanations

./bootstrap: This command runs GNU Autotools to create the configure script and other required build files.

--with-drm: This option is supposed to enable support for decoding Digital Radio Mondiale, but actually breaks the base functionality of the package (e.g., the resulting faad program cannot decode the sample AAC file linked above). Don't use it.

Contents

Installed Program: faad
Installed Library: libfaad.{so,a}
Installed Directories: None

Short Descriptions

faad

is a command-line utility for decoding AAC and MP4 files.

libfaad.{so,a}

contains functions for decoding AAC streams.

Last updated on 2008-05-09 07:42:27 -0500