FAAD2-2.8.8

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  FAAC-1.29.9.2

- Next

  fdk-aac-2.0.0

- Up
- Home

# FAAD2-2.8.8

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

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/faac/faad2-2.8.8.tar.gz

- Download MD5 sum: 28f6116efdbe9378269f8a6221767d1f

- Download size: 1.0 MB

- Estimated disk space required: 12 MB

- Estimated build time: 0.2 SBU

### Additional Downloads

- Sample AAC file: http://www.nch.com.au/acm/sample.aac (7 KB)

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

## Installation of FAAD2

Install FAAD2 by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    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-utils-1.1.9 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

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Program: faad
Installed Library: libfaad.so and libfaad_drm.so
Installed Directories: None

### Short Descriptions

faad | is a command-line utility for decoding AAC and MP4 files.
`libfaad.so` | contains functions for decoding AAC streams.

Last updated on 2019-08-20 08:55:54 -0700

- Prev

  FAAC-1.29.9.2

- Next

  fdk-aac-2.0.0

- Up
- Home