[mythtv-users] Stuck trying to use faac to create MPEG4 AAC audio file

Scott Johnson scott-mythtv at cfl.rr.com
Wed Jul 19 03:50:24 UTC 2006


I'm using Fedora Core 4 and I'm trying to use faac to encode an audio 
track to MPEG4 AAC.  Here is the faac that came with Fedora Core 4.
$ /usr/bin/faac
..
MP4 specific options:
  MP4 support unavailable
...

This poster solved it by making sure that libmp4v2 was already installed.
http://www.audiocoding.com/modules/newbb/viewtopic.php?topic_id95&forum=3#forumpost1008

I already have libmp4v2 installed.  I installed mpeg4ip-1.4.1 and 
libmp4v2 was in there.  The configure script tells me that it found mp4v2.
After downloading faac-18102004.tar.gz I installed it. 


$ ./bootstrap
$ ./configure
..
configure: *** Building with external mp4v2 ***
..
$ make
# make install
$ /usr/local/bin/faac
Freeware Advanced Audio Coder
FAAC 1.24+ (Jul 18 2006) UNSTABLE
...(lots more output)

$ /usr/local/bin/faac --long-help
Freeware Advanced Audio Coder
FAAC 1.24+ (Jul 18 2006) UNSTABLE

Aborted
$

UNSTABLE is an apt description since the help is "Aborted".
The compiled one can't even print the help.  But using both versions, I 
can encode MP3 to MPEG2 AAC, but not to MPEG4 AAC.



$ /usr/bin/faac -b 64 -R 48000 French_Rarebit.mp3
Freeware Advanced Audio Coder
FAAC 1.24

Average bitrate: 64 kbps
Quantization quality: 100
Bandwidth: 5442 Hz
Object type: Low Complexity(MPEG-2) + TNS + M/S
*File format: MPEG-2 AAC (ADTS)*
Encoding French_Rarebit.mp3 to French_Rarebit.aac
   frame          | bitrate | elapsed/estim | play/CPU | ETA
  863/863   (100%)|   64.2  |    1.5/1.5    |   12.34x | 0.0


But the resulting file (French_Rarebit.acc) is way too small, and Xine 
plays it as a short clip of noise.

$ ll
total 107780
-rw-rw-r--  1 mythtv mythtv    *147585* Jul 18 22:52 
French_Rarebit.aac      <-- transcoded AAC file
-rw-r--r--  1 mythtv mythtv 106562162 Jul 16 16:05 
French_Rarebit.avi     <-- Original video (about 7 mins long)
-rw-rw-r--  1 mythtv mythtv   3529344 Jul 18 22:51 French_Rarebit.mp3   
<-- extracted audio track using ffmpeg

So I'm stuck.  If anyone knows how to use faac correctly using Fedora 
Core 4 or failing that any other Linux, then please do tell.
If anyone has had any success transcoding automatically to a format that 
can stream using Darwin Streaming Server as in 
(http://www.linuxjournal.com/article/6720) then please enlighten me.

Scott


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060718/bec33c64/attachment.htm 


More information about the mythtv-users mailing list