Platforms to show: All Mac Windows Linux Cross-Platform
DirectShowBaseFilterMBS.AMCameraControl as DirectShowAMCameraControlMBS
Function:
Queries camera control object.
Example:
Notes:
Returns object when this filter represents a device supporting this interface.
Else returns nil on any error.
Also sets lasterror property.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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
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
Function:
Queries the IAMCrossbar interface for this filter.
Notes: Returns nil if no such interface exists.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Returns nil if no such interface exists.
Some examples using this method:
DirectShowBaseFilterMBS.AMVideoCompression as DirectShowAMVideoCompressionMBS
Function:
Queries video compression settings for the filter.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 19.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
DirectShowBaseFilterMBS.AMVideoControl as DirectShowAMVideoControlMBS
Function:
Queries the video controls for this filter.
Notes:
Should work for capture filters.
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
Should work for capture filters.
Lasterror is set.
DirectShowBaseFilterMBS.AMVideoProcAmp as DirectShowAMVideoProcAmpMBS
Function:
Queries video properties object.
Example:
Notes:
Returns object when this filter represents a device supporting this interface.
Else returns nil on any error.
Also sets lasterror property.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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
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
Function:
Queries the config avimux object.
Notes:
Lasterorr is set.
Works only with filters which support this interface.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
Lasterorr is set.
Works only with filters which support this interface.
Some examples using this method:
DirectShowBaseFilterMBS.ConfigInterleaving as DirectShowConfigInterleavingMBS
Function:
Queries the config interleaving object.
Notes:
Lasterorr is set.
Works only with filters which support this interface.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
Lasterorr is set.
Works only with filters which support this interface.
Some examples using this method:
DirectShowBaseFilterMBS.Constructor private
Function:
The private constructor.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
DirectShowBaseFilterMBS.EnumPins as DirectShowEnumPinsMBS
Function:
The EnumPins method enumerates the pins on this filter.
Example:
Notes:
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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
DirectShowBaseFilterMBS.FindPin(name as string) as DirectShowPinMBS
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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
Function:
Retrieves information about the filter.
Notes:
Lasterror is set.
Returns nil on error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
Lasterror is set.
Returns nil on error.
DirectShowBaseFilterMBS.ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
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 = "")
Function:
Shows properties dialog for the filter.
Example:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 19.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim srcfilter as DirectShowBaseFilterMBS // your filter
srcfilter.ShowPropertyDialog
MsgBox "Result: "+Str(srcfilter.Lasterror)+": "+srcfilter.LasterrorMessage
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
Function:
Retrieves a string containing vendor information.
Notes:
Lasterror is set.
This method is optional; filters are not required to support it.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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.
