Version 5 (modified by 16 years ago) ( diff ) | ,
---|
faad2
faad2 and faac are useful for encoding and decoding mp4 audio files (commonly given the non standard extension m4a).
Download
faad2 http://prdownloads.sourceforge.net/faac/faad2-2.5.tar.gz
faad2-2.5-unix-no-xmms.diff https://www.harasdebondereau.com/bliscat/patches/faad2-2.5-unix-no-xmms.diff.bz2
faac http://prdownloads.sourceforge.net/faac/faac-1.25.tar.gz
faac-1.25-unix.diff https://www.harasdebondereau.com/bliscat/patches/faac-1.25-unix.diff.bz2
Installation of faad2
Faad2 files come from a DOS platform, and the xmms/bmp dependency is broken:
patch -Np1 -i ../faad2-2.5-unix-no-xmms.diff
Compile faad2 by running the following commands:
./bootstrap && ./configure --prefix=/usr && make
Now as root:
make install
Installation of faac
Faac files come from a DOS platform:
patch -Np1 -i ../faac-1.25-unix.diff
Compile faac with these commands:
./bootstrap && ./configure --prefix=/usr && make
Now as root:
make install
Command Explanations
./bootstrap: The bootstrap script calls various autotools to generate a new configure script
Installed programs
faad: Decodes mp4 audio files to Microsoft WAV format (default) or RAW PCM data.
faac: Creates AAC audio files from raw PCM or .wav data. If you output to a file with a .mp4 or .m4a extension, the default behavior is to wrap the AAC data in MP4 container.
Installed libraries
libfaad.{so,a}, libmp4ff.{so,a}, optionally libmp4v2.{so,a} and libfaac.{so,a}
Useful Links
Home page: http://www.audiocoding.com/
Wiki article about mp4: http://en.wikipedia.org/wiki/Advanced_Audio_Coding