Platforms to show: All Mac Windows Linux Cross-Platform
DirectShowSampleGrabberMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DirectShow | MBS Win Plugin | 12.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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.
- event NewFrame(Time as Double)
- 3 properties
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- 6 methods
- method BaseFilter as DirectShowBaseFilterMBS
- method ConnectedMediaType as DirectShowBaseFilterMBS
- method Constructor
- method Current as Picture
- method Destructor
- method SetOneShot(OneShot as boolean)
This class has no sub classes.
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS Win Plugin.
DirectShowPropertyBagMBS - DirectShowVideoInfoHeader2MBS