Nabsha’s Blog-About

June 15, 2007

FAAC on OmniFlash

Filed under: Uncategorized — nabsha @ 1:44 am

Well Here is the first port on my OmniFlash that I have bought recently. This snapshot is taken while encoding one of my friend’s (Raheel) song into AAC format using FAAC Encoder. The speed of this encoder is significantly slow on this ARM processsor because of missing MMX and other floating point instruction that help the Audio algorithms.

What is FAAC?

Freeware Advanced Audio Coding (FAAC) is an open source project implementing AAC Audio Encoder. In one of the quality test conducting by hydrogenaudio, FAAC ranked 3rd while competing with quality AAC encoders like iTunes.

1. Download the FAAC from http://sourceforge.net/projects/faac/ (when writing, v1.25 was available but I could not make it work, because of bug in the configure.in script. so I used v1.24 and it worked like a charm)

2.  To make it run on the omniflash/arm, I had to reset the compiler’s environment variables to point to arm tool-chain.
# set environment variables
export PATH=$PATH:/usr/local/arm/3.3/bin/
export CC=arm-linux-gcc
export CXX=arm-linux-g++
export LD=arm-linux-ld
export AR=arm-linux-ar
export NM=arm-linux-nm
export RANLIB=arm-linux-ranlib

3.  then I configured it as follows,
./configure –enable-static –disable-shared –host=arm-linux

4. and then make  and make installed it

make

make install prefix=/ramdisk/home/knoppix/faac

sahara1.jpg

It is clear that FAAC is taking very long to encode a file of 23 sec on OmniFlash. Forget the realtime, this is not even good for offline encoding. There is a need to find a better alternative of AAC Encoder for this board.

Cheers.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.