Platforms to show: All Mac Windows Linux Cross-Platform

Back to DirectShowSampleGrabberMBS class.

DirectShowSampleGrabberMBS.BaseFilter as DirectShowBaseFilterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the filter for this grabber.

So you can add it to a graph builder.

DirectShowSampleGrabberMBS.ConnectedMediaType as DirectShowBaseFilterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The GetConnectedMediaType method retrieves the media type for the connection on the input pin of the Sample Grabber.

Lasterror is set.

DirectShowSampleGrabberMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Creates a new instance of the sample grabber.

DirectShowSampleGrabberMBS.Current as Picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Queries current picture.

This actually makes a copy of the internal buffer into a new picture object.
Lasterror is set.

DirectShowSampleGrabberMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The destructor.

DirectShowSampleGrabberMBS.SetOneShot(OneShot as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The SetOneShot method specifies whether the Sample Grabber filter halts after the filter receives a sample.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...