How to merge parallel(simultaneous) video streams ?

buddhikasgj

Newcomer
Joined
Oct 31, 2008
Messages
1
Apologise for this stupid question. I’m a newbie to the directshow development. I want to merge 4 simultaneous video streams with equal bitrate and frame rate into a single stream where each frame of the output stream consists of frames with similar time stamp of each the input streams. Also the output stream is to be broadcast over a network as a live stream. The algorithm i have in my mind is as follows.

For (each time stamp)

{

Get frames from all input streams;

Draw them in the output frame;

Add output frame in to live stream to be broadcast over the network.

}

I don’t know how far will be succeeded. So i have some questions before i start implementing this.

1) In order to implement this algorithm what how can I use the window sdk?

2) Is there any inbuilt API support for the merging phase I mentioned earlier? If yes what are they?

3) Any other algorithm we can use with windows sdk to achieve low delay and improve efficiency?

Thank you very much.
 
Back
Top