If you didn’t care about transcoding audio, you could change ff-plugins.c to change the content-type from audio/wav to video/mpeg. that might do it.
Did that a couple of days ago, didn’t work either.@rpedde wrote:
As far as itunes closing the connection, it does that when it doesn’t understand the header that it received, or it isn’t a streamable format (either because the qt component won’t work with a streaming file, or because the m4v/mov/mp4 metadata isn’t optimized for fast-start).
I’m trying to figure out how to do this now. Seems I can’t use ffmpeg because that will require me to use qt-faststart to – leading to a to long delay – ~38 minutes to convert it to a MOV then an additional ~38 minutes to fix the header with qt-faststart.
Which I think is probably par for the course on any converter. Until it’s done transcoding, it doesn’t know for sure exactly how many frames there will be, or what the ultimate file size is going to be in bytes. I think you’ll end up having to write something like wavstreamer only for aac — something to dummy up the headers with “best guess” info based on bitrate or file duration and manually wrap the data.