Microsoft DirectX 8.1 (C++) |
The Sample Grabber Filter is a
If you simply want to grab a poster frame from a video file, it is easier to use the Media Detector (MediaDet) object. See Grabbing a Poster Frame for details. The Sample Grabber is more flexible, however, because it works with nearly any media type (see ISampleGrabber::SetMediaType for the few exceptions), and offers more control to the application.
To use the Sample Grabber:
This article contains the following sections: