Mixing two/more Video streams and save as a single stream (screen-in-screen effect)

Mixing two/more Video streams and save as a single stream (screen-in-screen effect)

Post by Cypar » Wed, 02 Jul 2003 21:09:35


Hi there,

I have 2 web cams and 1 sound channel ... I need to mix these streams at
capture time within a single video stream + audio stream in a
"screen-in-screen" manner , so the video stream form the main ***
will embed the other video stream in a smaller arrea . The result should
be saved as a single file with the compound video and the audio.

Any help , hints ?
 
 
 

Mixing two/more Video streams and save as a single stream (screen-in-screen effect)

Post by MV » Wed, 02 Jul 2003 22:46:39

> I have 2 web cams and 1 sound channel ... I need to mix these streams at

Start with the AMCap sample and understand how it captures the video from
your web cam and an audio channel. Then you will need to write a transform
filter when you add your video P-I-P second stream. The filter would have
two input pins, connected to your video capture filters, and one output pin
and would be inserted before AVI Mux. It would need to handle the P-I-P
placement of one of the video streams on top of the other by placing the dib
of one media sample on top of part of the other. This is not a trivial
task.

If you're just learning about DirectShow the new book
http://www.yqcomputer.com/
foundation.

 
 
 

Mixing two/more Video streams and save as a single stream (screen-in-screen effect)

Post by Cypar » Wed, 09 Jul 2003 03:23:07

Hi there ,

I really appreciate your help ,

Since I'm a new commer in this area , and I didn't find the book you
mentioned for sale can you please share with me the "e-book" version of
the "Programming Microsoft DirectShow for Digital Video and Television"
and the samples it contains ...

PS: Can you please send me a private email regarding this ?

Many thanks ,

Cyparu
 
 
 

Mixing two/more Video streams and save as a single stream (screen-in-screen effect)

Post by yooy » Fri, 11 Jul 2003 16:59:28


Try to find DsVideoLib on sourceforge.net. It might help you...

yooyo