How to attach a sample grabber to the playcap sdk sample
Posted
by Mr Bell
on Stack Overflow
See other posts from Stack Overflow
or by Mr Bell
Published on 2010-06-10T21:49:19Z
Indexed on
2010/06/10
21:52 UTC
Read the original article
Hit count: 351
I want to get access to a webcam's frame image data so I can composite it with some other data. The playcap sample in the windows sdk directshow folder can show you a window streaming the webcam, but doesn't demonstrate access to the bytes. Someone mentioned that I could use a samplegrabber filter attached to a null rendered to gain access to the frame data. Unfortunately I haven't the first clue how to do this.
How can I modify the playcap sample to attach a sample grabber and access the frame bytes?
visual studio 2008 c++
© Stack Overflow or respective owner