Microsoft DirectX 8.0

Sample Grabber Filter

The Sample Grabber filter provides a way to retrieve samples as they pass through the filter graph. It is a transform filter with one input pin and one output pin. It passes all samples downstream unchanged, so you can insert it into a filter graph without altering the data stream. Your application can then retrieve individual samples from the filter by calling methods on the ISampleGrabber interface.

If you want to retrieve samples without rendering the data, connect the Sample Grabber filter to the Null Renderer filter.

For more information on using this filter, see Grabbing Media Samples.

Filter interfaces IBaseFilter, ISampleGrabber
Input pin media types Any media type.
Input pin interfaces IMemInputPin, IPin, IQualityControl
Output pin media types Any media type. Matches input media type.
Output pin interfaces IPin, IQualityControl
Filter CLSID CLSID_SampleGrabber
Property Page CLSID No property page.
Executable Qedit.dll
Merit MERIT_DO_NOT_USE
Category CLSID_LegacyAmFilterCategory