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!

How can I save a picture in DirectShow? 2

Status
Not open for further replies.

zl21

Programmer
Jul 3, 2002
1
CN
Hi,I want to save the current picture when the video is playing in DirectShow. Can you help me?
 
You need to look at the SampleGrabber (ISampleGrabber), there are examples within the DX 8.1, under capture - but they do require an input device (camera, etc).

I have seen some code on the CodeProject ( by Markus Axelsson entitled "Extracting bitmaps from movies using DirectShow". From your requirements it may be what you are looking for!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top