How to attach a sample grabber to the playcap sdk sample
- by Mr Bell
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++