QUOTE(torok @ Jun 25 2006, 18:16)

Does anyone know a good way to do this? My encoder is a bash script, so it can't be a pipes thing. I need to have it go through a temp wav file. I used FooBar for this in Windows, of course, but I'm not sure how to go about it now. Thanks!
Well you haven't given a lot of information, but maybe you're thinking of something like the script below? Of course, you could replace encode="faac..." with the commandline encoder of your choice. Another alternative would be FFmpeg, which can decode FLAC and also encode ogg/vorbis, aac, mp3, ac3, and others.
CODE
#!/bin/bash
decode="flac -s -f -o test.wav -d"
encode="faac --mpeg-vers 4 test.wav -o"
mkfifo test.wav
${decode} $1 &
${encode} $1.aac
rm test.wav