Real-time video encoding for mobile
Does anyone know a good way to do real-time video re-encoding (Target formats being 3GP s263 AMR narrowband and MP4 mp4v mp4a, but not at the same time of course. Input files would be WMV, but the more input formats supported the better)?

Currently we do asynchronous processing using a C# service that calls the ffmpeg command-line, but the idea of doing that for a synchronous request is a little sub-optimal cause the user ends up waiting quite a while before the playback starts (Though if that's the best-case scenario let me know and I guess I'll live with it).

It would be awesome if we could simultaneously serve the file and save it (So that we can store it for future requests), but it wouldn't be a disaster if we can't do that.

As a sidenote I'd prefer to avoid a streaming solution since less devices will support it, but if there's no good way to do what I want I would love to hear alternatives even if they involve streaming.
Real-time video encoding for mobile
===

Does anyone know a good way to do real-time video re-encoding (Target formats being 3GP s263 AMR narrowband and MP4 mp4v mp4a, but not at the same time of course. Input files would be WMV, but the more input formats supported the better)?

Currently we do asynchronous processing using a C# service that calls the ffmpeg command-line, but the idea of doing that for a synchronous request is a little sub-optimal cause the user ends up waiting quite a while before the playback starts (Though if that's the best-case scenario let me know and I guess I'll live with it).

It would be awesome if we could simultaneously serve the file and save it (So that we can store it for future requests), but it wouldn't be a disaster if we can't do that.

As a sidenote I'd prefer to avoid a streaming solution since less devices will support it, but if there's no good way to do what I want I would love to hear alternatives even if they involve streaming.