Platforms to show: All Mac Windows Linux Cross-Platform

Back to DirectShowAMVideoControlMBS class.

DirectShowAMVideoControlMBS.Caps(pin as DirectShowPinMBS) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The GetCaps method retrieves the capabilities of the underlying hardware.

Result is a combination of the flags from the VideoControl Flags, which specify the video control mode.

Possible capabilities include one or more of the following: flipping the picture horizontally, flipping the picture vertically, enabling external triggers, and simulating external triggers.

DirectShowAMVideoControlMBS.Constructor   Private

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

DirectShowAMVideoControlMBS.CurrentActualFrameRate(pin as DirectShowPinMBS) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The GetCurrentActualFrameRate method retrieves the actual frame rate, expressed as a frame duration in 100-nanosecond units. USB (Universal Serial Bus) and IEEE 1394 cameras may provide lower frame rates than requested because of bandwidth availability. This is only available during video streaming.

Pin: the pin to retrieve the frame rate from.

Lasterror is set.

DirectShowAMVideoControlMBS.FrameRateList(pin as DirectShowPinMBS, Index as Integer, Width as Integer, Height as Integer) as Int64()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The GetFrameRateList method retrieves a list of available frame rates.

Pin: The pin to query for the list of frame rates.
Index: Index of the format to query for frame rates. This index corresponds to the order in which formats are enumerated by DirectShowVideoStreamConfigCapsMBS structures returned by DirectShowAMStreamConfigMBS.NumberOfCapabilities) minus one.
Width and Height: Frame image size (width and height) in pixels.

Returns an array of frame rates in 100-nanosecond units.

Lasterror is set.

DirectShowAMVideoControlMBS.MaxAvailableFrameRate(pin as DirectShowPinMBS, Index as Integer, Width as Integer, Height as Integer) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The GetMaxAvailableFrameRate method retrieves the maximum frame rate currently available, based on bus bandwidth usage for connections, such as USB and IEEE 1394, where the maximum frame rate may be limited by bandwidth availability.

Pin: The pin to retrieve the maximum frame rate from.
Index: Index of the format to query for maximum frame rate. This index corresponds to the order in which formats are enumerated by GetStreamCaps. The value must range between zero and the number of supported DirectShowVideoStreamConfigCapsMBS returned by DirectShowAMStreamConfigMBS.NumberOfCapabilities) minus one.
Width and Height: Frame image size (width and height) in pixels.
MaxAvailableFrameRate: Pointer to the maximum available frame rate. The frame rate is expressed as frame duration in 100-nanosecond units.

Lasterror is set.

DirectShowAMVideoControlMBS.Mode(pin as DirectShowPinMBS) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The GetMode method retrieves the video control mode of operation.

Possible modes of operation include one or more of the following: flipping the picture horizontally, flipping the picture vertically, enabling external triggers, and simulating external triggers.

Lasterror is set.

DirectShowAMVideoControlMBS.SetMode(pin as DirectShowPinMBS, mode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The SetMode method sets the video control mode of operation.
Example
dim pin as DirectShowPinMBS // your till image pin
dim filter as DirectShowBaseFilterMBS

Var vc as DirectShowAMVideoControlMBS = filter.AMVideoControl
vc.SetMode(pin, vc.FlagExternalTriggerEnable + vc.FlagTrigger)

Value specifying a combination of the flags from the VideoControl Flags to set the video control mode.

Possible modes of operation include one or more of the following: flipping the picture horizontally, flipping the picture vertically, enabling external triggers, and simulating external triggers.

Lasterror is set.

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


The biggest plugin in space...