Log in

View Full Version : FAAC problem


cavendano
21st September 2009, 18:24
I installed FAAC using YUM (DAG repo) but I am having problems with the MP4 capabilities of FAAC.

This is the error I get:
Freeware Advanced Audio Coder
FAAC 1.26.1 (Nov 10 2008) UNSTABLE

Usage: faac [options] infiles ...
Options:
-q <quality> Set quantizer quality.
-b <bitrate> Set average bitrate to x kbps. (ABR, lower quality mode)
-c <freq> Set the bandwidth in Hz. (default=automatic)
-o X Set output file to X (only for one input file)
-r Use RAW AAC output file.
-P Raw PCM input mode (default 44100Hz 16bit stereo).
-R Raw PCM input rate.
-B Raw PCM input sample size (8, 16 (default), 24 or 32bits).
-C Raw PCM input channels.
-X Raw PCM swap input bytes
-I <C,LF> Input channel config, default is 3,4 (Center third, LF fourth)

MP4 specific options:
MP4 support unavailable.

Documentation:
--license Show the FAAC license.
--help Show this abbreviated help.
--long-help Show complete help.

More tips can be found in the audiocoding.com Knowledge Base at
<http://www.audiocoding.com/wiki/>


Any help would be appreciated!

microchip8
21st September 2009, 18:34
Show us your command line

cavendano
21st September 2009, 19:04
Here you go:
faac -b 32 -c 44100 --title "Test" --artist "ARTIST" --year "2009" --album "ALBUM" --track "1" --genre "Test" -w -o $est.$aac test.wav

microchip8
21st September 2009, 20:13
it seems your FAAC is compiled without MP4 support or else you'll have the below from faac --help

MP4 specific options:
-w Wrap AAC data in MP4 container. (default for *.mp4 and *.m4a)
-s Optimize MP4 container layout after encoding
--artist X Set artist to X
--writer X Set writer to X
--title X Set title to X
--genre X Set genre to X
--album X Set album to X
--compilation Set compilation
--track X Set track to X (number/total)
--disc X Set disc to X (number/total)
--year X Set year to X
--cover-art X Read cover art from file X
--comment X Set comment to X


your first post already indicates that where it says MP4 is not available so best you can do is get a package with it enabled or compile yourself ;)

cavendano
25th September 2009, 19:31
I found a patch that worked great on one of my servers but when I ran it on my other server it runs successfully but didnt update anything.
I upgraded to FAAC 1.28 on both servers. One gives me the Mp4 options while the other still gives me the message:

Freeware Advanced Audio Coder
FAAC 1.28

Usage: faac [options] infiles ...
Options:
-q <quality> Set quantizer quality.
-b <bitrate> Set average bitrate to x kbps. (ABR, lower quality mode)
-c <freq> Set the bandwidth in Hz. (default=automatic)
-o X Set output file to X (only for one input file)
-r Use RAW AAC output file.
-P Raw PCM input mode (default 44100Hz 16bit stereo).
-R Raw PCM input rate.
-B Raw PCM input sample size (8, 16 (default), 24 or 32bits).
-C Raw PCM input channels.
-X Raw PCM swap input bytes
-I <C,LF> Input channel config, default is 3,4 (Center third, LF fourth)

MP4 specific options:
MP4 support unavailable.

Documentation:
--license Show the FAAC license.
--help Show this abbreviated help.
--long-help Show complete help.

More tips can be found in the audiocoding.com Knowledge Base at
<http://www.audiocoding.com/wiki/>



Any reason why it woul work on one server and not the other?