Using ffmpeg, I would like to know if it's possible to convert mp3 bitrate as data chunks are received?
That means I would send slowly chunks to ffmpeg so that it outputs a mp3 with another bitrate.
So in very-pseudo-code, it looks like it:
MP3 Request from user
Send the default mp3 to ffmpeg with parameters to convert to the desired bitrate.
As it's writing a new file, write what as been writen so far in the Response outputstream (I'm in ASP.Net)
Is that feasable or I need to switch to another technology?
[EDIT]
For now, I'm trying a solution like this: Convert wma stream to mp3 stream with C# and ffmpeg
[EDIT 2]
I answered my question, and it is feasible with an url as input and standard output as output. Using an url allows to process a file chunk by chunk, and using stdout, we can access data while it is processed.