Platforms to show: All Mac Windows Linux Cross-Platform

Back to DirectShowAMStreamConfigMBS class.

DirectShowAMStreamConfigMBS.AudioCaps as DirectShowAudioStreamConfigCapsMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 13.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Queries the audio capabilities.

Lasterror is set.
Returns empty array for video streams.

DirectShowAMStreamConfigMBS.Constructor   Private

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

DirectShowAMStreamConfigMBS.Format as DirectShowMediaTypeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DirectShow MBS Win Plugin 13.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Get or set the preferred output format.

Lasterror is set.

see also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd319785(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/dd319788(v=vs.85).aspx
(Read and Write computed property)

DirectShowAMStreamConfigMBS.MediaTypes as DirectShowMediaTypeMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 13.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Queries media types.

Lasterror is set.
see also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd319787(v=vs.85).aspx

DirectShowAMStreamConfigMBS.NumberOfCapabilities as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 13.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the number of format capabilities that this pin supports.

Lasterror is set.

Some examples using this method:

DirectShowAMStreamConfigMBS.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
Shows property dialog.

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:

DirectShowAMStreamConfigMBS.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
Shows property dialog.
Example
dim Capture as DirectShowCaptureGraphBuilderMBS // your capture graph
dim srcfilter as DirectShowBaseFilterMBS // your source filter

Dim AMStreamConfig2 As DirectShowAMStreamConfigMBS = capture.GetStreamConfig(False, srcfilter)
If AMStreamConfig2 <> Nil Then
AMStreamConfig2.ShowPropertyDialog

MsgBox "Result: "+Str(AMStreamConfig2.Lasterror)+": "+AMStreamConfig2.LasterrorMessage
Else
MsgBox "No AMStreamConfig with srcfilter."
End If

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:

DirectShowAMStreamConfigMBS.VideoCaps as DirectShowVideoStreamConfigCapsMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 13.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Queries the video capabilities.

Lasterror is set.
Returns empty array for audio streams.

Some examples using this method:

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


The biggest plugin in space...