Platforms to show: All Mac Windows Linux Cross-Platform

DirectShowBaseFilterMBS.AMCameraControl as DirectShowAMCameraControlMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries camera control object.
Example:
dim srcfilter as DirectShowBaseFilterMBS // your basefilter
dim value, flags as Integer
dim c as DirectShowAMCameraControlMBS = srcfilter.AMCameraControl
if c<>nil then

c.Get(c.kPropertyZoom, value, flags)
if c.Lasterror = 0 then
MsgBox "Zoom: "+str(value)
else
MsgBox "Zoom: "+c.LasterrorMessage
end if

c.Get(c.kPropertyFocus, value, flags)
if c.Lasterror = 0 then
MsgBox "Focus: "+str(value)
else
MsgBox "Focus: "+c.LasterrorMessage
end if

c.Get(c.kPropertyExposure, value, flags)
if c.Lasterror = 0 then
MsgBox "Exposure: "+str(value)
else
MsgBox "Exposure: "+c.LasterrorMessage
end if

end if
Notes:
Returns object when this filter represents a device supporting this interface.
Else returns nil on any error.
Also sets lasterror property.

Some examples using this method:

DirectShowBaseFilterMBS.AMCrossbar as DirectShowAMCrossbarMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries the IAMCrossbar interface for this filter.
Notes: Returns nil if no such interface exists.

Some examples using this method:

DirectShowBaseFilterMBS.AMVideoCompression as DirectShowAMVideoCompressionMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 19.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries video compression settings for the filter.

Some examples using this method:

DirectShowBaseFilterMBS.AMVideoControl as DirectShowAMVideoControlMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries the video controls for this filter.
Notes:
Should work for capture filters.
Lasterror is set.
DirectShowBaseFilterMBS.AMVideoProcAmp as DirectShowAMVideoProcAmpMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries video properties object.
Example:
dim srcfilter as DirectShowBaseFilterMBS // your basefilter
dim value, flags as Integer
dim v as DirectShowAMVideoProcAmpMBS = srcfilter.AMVideoProcAmp
if v<>nil then
v.Get(v.kPropertyHue, value, flags)
if v.Lasterror = 0 then
MsgBox "Hue: "+str(value)
else
MsgBox "Hue: "+v.LasterrorMessage
end if

v.Get(v.kPropertyBrightness, value, flags)
if v.Lasterror = 0 then
MsgBox "Brightness: "+str(value)
else
MsgBox "Brightness: "+v.LasterrorMessage
end if

end if
Notes:
Returns object when this filter represents a device supporting this interface.
Else returns nil on any error.
Also sets lasterror property.
DirectShowBaseFilterMBS.ConfigAviMux as DirectShowConfigAviMuxMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries the config avimux object.
Notes:
Lasterorr is set.
Works only with filters which support this interface.

Some examples using this method:

DirectShowBaseFilterMBS.ConfigInterleaving as DirectShowConfigInterleavingMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Queries the config interleaving object.
Notes:
Lasterorr is set.
Works only with filters which support this interface.

Some examples using this method:

DirectShowBaseFilterMBS.Constructor private
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The private constructor.
DirectShowBaseFilterMBS.EnumPins as DirectShowEnumPinsMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The EnumPins method enumerates the pins on this filter.
Example:
dim filter as DirectShowBaseFilterMBS // your device filter

dim pn as DirectShowEnumPinsMBS = srcfilter.EnumPins

// loop over them and show names of pins
dim p as DirectShowPinMBS = pn.NextObject
while p <> nil
dim name as string = p.Name

MsgBox name

p = pn.NextObject
wend
Notes: Lasterror is set.
DirectShowBaseFilterMBS.FindPin(name as string) as DirectShowPinMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The FindPin method retrieves the pin with the specified identifier.
Notes:
name: string that identifies the pin.

Returns the pin object.
Lasterror is set.

This method supports graph persistence. Use the DirectShowPinMBS.QueryId method to save a pin's state, and use this method to restore the state. The pin's identifier string is defined by the filter implementation. The identifier must be unique within the filter.
DirectShowBaseFilterMBS.Info as DirectShowFilterInfoMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Retrieves information about the filter.
Notes:
Lasterror is set.
Returns nil on error.
DirectShowBaseFilterMBS.ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Shows properties dialog for the filter.
Notes:
Parent: the parent window for the dialog.
X/Y: The offset of the dialog relative to the parent window.
Title: optional title for the dialog.

Sets lasterror property.

See also:

DirectShowBaseFilterMBS.ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 19.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Shows properties dialog for the filter.
Example:
dim srcfilter as DirectShowBaseFilterMBS // your filter

srcfilter.ShowPropertyDialog
MsgBox "Result: "+Str(srcfilter.Lasterror)+": "+srcfilter.LasterrorMessage
Notes:
Parent: the parent window for the dialog.
X/Y: The offset of the dialog relative to the parent window.
Title: optional title for the dialog.

Sets lasterror property.

See also:

DirectShowBaseFilterMBS.VendorInfo as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Retrieves a string containing vendor information.
Notes:
Lasterror is set.
This method is optional; filters are not required to support it.

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

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat