FAAC is an encoder 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 encoder is useful for producing files that can be played back on iPod. Moreover, iPod does not understand other sound compression schemes in video files.
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
ダウンロード (HTTP): https://github.com/knik0/faac/archive/1_30/faac-1_30.tar.gz
ダウンロード MD5 sum: 8d61e6d55088e599aa91532d5e6995b0
ダウンロードサイズ: 240 KB
必要ディスク容量: 4.7 MB
概算ビルド時間: 0.1 SBU 以下
以下のコマンドを実行して FAAC をビルドします。
./bootstrap && ./configure --prefix=/usr --disable-static && make
This package does not come with a test suite. However, basic functionality can be tested by encoding a sample WAV file (the sample file is installed by the alsa-utils-1.2.10 package:
./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav
Then, decode the result using the faad program from the FAAD2-2.11.1 package and play back the decoded file (requires the aplay program from the alsa-utils-1.2.10 package:
faad Front_Left.mp4 aplay Front_Left.wav
aplay should identify the file as 「Signed 16 bit Little Endian, Rate 48000 Hz, Stereo」, and you should hear the words 「front left」.
root
ユーザーになって以下を実行します。
make install
--disable-static
:
このスイッチはスタティックライブラリをインストールしないようにします。
The quality of FAAC is not up to par with the best AAC encoders currently available. Also, it only supports AAC and not High Efficiency AAC (also known as aacPlus), which provides better quality at low bitrates by means of using the 「spectral band replication」 technology. There are the following alternative programs for producing AAC and HE-AAC streams:
Nero AAC Codec: available only in the binary form, the command-line AAC and HE-AAC encoders for Linux are in the same archive as the Windows application.
3GPP Enhanced aacPlus general audio codec: available in
the source form, can encode only HE-AAC up to 48 kbps out of
the box, but the maximum bitrate can be changed by editing
the tuning table in the FloatFR_sbrenclib/src/sbr_main.c
file.
Note, however, that iPod supports only Low Complexity AAC profile, which is the default in FAAC, but may not be the default in Nero AAC Encoder and is completely unavailable in the 3GPP encoder.