QUOTE(kcramer @ Dec 19 2006, 13:47)

afconvert looks very good. I may have to change the application so it can read from stdin though. My conversion process relies on chaining applications together.
I guess I missed that when browsing the XCode stuff.
Thanks for all the suggestions.
I'm looking for a mp3 to aac converter. I compiled afconvert, but I get a "Couldn't set file's length (-66566)" error.
here is the command I try. (i've also tried several others)
~/afconvert -v -f "mp4f" -d "aac " she_waits_mix.wav.mp3 test.mp4
and here is the output...
Input file: she_waits_mix.wav.mp3, 6276096 frames
Formats:
Input file 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
Output file 2 ch, 44100 Hz, 'aac ' (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame
Stereo
Input client 2 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
AudioConverter 0x180ce84 [0x319cc0]:
CodecConverter 0x319ec0
Input: 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
Output: 2 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
Output client 2 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
AudioConverter 0x180ce8c [0x31a0c0]:
CodecConverter 0x31a2e0
Input: 2 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
Output: 2 ch, 44100 Hz, 'aac ' (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame
error -66566: Couldn't set file's length
Error: Couldn't set file's length (-66566)
it looks like it's working, but it just can't write the file?
I have also tried running faac, and it looks like it can't open the orginal mp3 file.. but it's a fine mp3. I can play it with all the mp3 players. (I encoded it using lame)
coca:~/music_projects nerd$ faac she_waits_mix.wav.mp3 -o test.mp4a
Freeware Advanced Audio Coder
FAAC 1.25
Couldn't open input file she_waits_mix.wav.mp3
coca:~/music_projects nerd$