I have videos in different formats (wma, mkv) with several audio tracks (one by language). I would like to make these videos available in streaming for video-on-demand.
One told me that the flash video format cannot handle more than one audio track. If this is true, what are my options to provide these videos ?
I have two probably working ideas and one for which I'm not sure because of flash players capabilities. The first idea is to create for each mkv, N flash videos, one for each sound track. This is probably easy to do with ffmpeg for example. This solution has the advantage of simplicity but requires much more storage, since the video part will be stored several times.
The second solution would be to dynamically generate the flash video with the desired language once the customer has paid for it. I think this would be very tricky to implement correctly. It may also not be fast enough to do the conversion. So I probably forget this one.
The third solution would be perfect but I don't know if it is possible at all. It consists on spliting audio and video apart and let the flash player mix the correct audio track with the video on the customer computer. I have no idea wether this is possible with adobe flash, nor if there are existing implementations.
What do you think about the third option ? Do you have better suggestions ?