
I am using apple lossless files, which I transcode with a command line utility. I have managed to compile and get it working properly on windows, so far I have sucessfully integrated apple lossless with the Jinzora jukebox.
The issue (I've not done much with java - so its a bit of a guess) is the stdin/stdout mode. When I was first compiling the source (http://craz.net/programs/itunes/alac.html) I had to alter the file mode to binary for stdin/out otherwise any files output from the command line would only be static.
I assume that during the transcode in java that there is a non binary stream somewhere, I am using the same settings and execubles to transcode via stdin/out with php. This uses alaccommand | lamecommand with an exec().
I'm not quite sure how to work it out, so if any ideas are welcome.
David