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-7.7 systemd platform.
Download (HTTP): http://downloads.sourceforge.net/faac/faad2-2.7.tar.bz2
Download MD5 sum: 4c332fa23febc0e4648064685a3d4332
Download size: 880 KB
Estimated disk space required: 12 MB (without media player plugins)
Estimated build time: 0.2 SBU (without media player plugins)
Sample AAC file: http://www.nch.com.au/acm/sample.aac (7 KB)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/faad2
Install FAAD2 by running the following commands:
patch -Np1 -i ../faad2-2.7-mp4ff-1.patch && sed -i "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g" configure.in && sed -i "s:man_MANS:man1_MANS:g" frontend/Makefile.am && autoreconf -fi && ./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.0.29 package):
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
sed -i ...: First command fixes autotools scripts to be compatible with latest version of Automake and second command fixes manual page install location.
switch prevents installation of static versions of the libraries.
--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.
Last updated on 2015-08-01 04:26:22 +0000