Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grabbing video samples in DirectShow

Status
Not open for further replies.

Constantin

Programmer
Apr 15, 2003
1
GB
I am trying to grab individual frames from a video stream using the Sample Grabber filter. I can render the video to screen perfectly, but when I try to grab via the Sample Grabber filter, the BMP's I write out are not correct - almost as if the frame grabber is not in synch with the analog video signal, but when I test for synchronization with the analog video, the device insists that it is locked.

Is grabbing samples from a live stream as simple as setting up the Sample Grabber filter and registering a callback method for it, or is there something that I am missing?
 
Oh good a question that I would like to see the answer for.

I have a conference camera doing a video stream in to an ATI card and I would like to take still captures of it and save it to .jpg format with around 50kb files size.

I just got the 8.1 sDK installed and am doing this program in VB 6.0.

I would like to see how difficult this is.



TheKing
[pc3]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top