Platforms to show: All Mac Windows Linux Cross-Platform
DirectShow
Classes for video recording on Windows.
- Classes
- class DirectShowAMCameraControlMBS
- method Constructor
- method Get(PropertySelector as Integer, byref Value as Integer, byref Flags as Integer)
- method GetRange(PropertySelector as Integer, byref MinValue as Integer, byref MaxValue as Integer, byref SteppingDelta as Integer, byref DefaultValue as Integer, byref CapsFlags as Integer)
- method Set(PropertySelector as Integer, Value as Integer, Flags as Integer = 0)
- method ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
- method ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowAMCrossbarMBS
- method BaseFilter as DirectShowBaseFilterMBS
- method CanRoute(OutputPinIndex as Integer, InputPinIndex as Integer) as boolean
- method Constructor
- method GetCrossbarPinInfo(IsInputPin as boolean, PinIndex as Integer, byref PinIndexRelated as Integer, byref PhysicalType as Integer)
- method GetPinCounts(byref OutputPinCount as Integer, byref InputPinCount as Integer)
- method IsRoutedTo(InputPinIndex as Integer) as Integer
- shared method PhysicalPinName(type as Integer) as string
- method Route(OutputPinIndex as Integer, InputPinIndex as Integer)
- method ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
- method ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowAMStreamConfigMBS
- method AudioCaps as DirectShowAudioStreamConfigCapsMBS()
- method Constructor
- method MediaTypes as DirectShowMediaTypeMBS()
- method NumberOfCapabilities as Integer
- method ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
- method ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
- method VideoCaps as DirectShowVideoStreamConfigCapsMBS()
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- property Format as DirectShowMediaTypeMBS
- class DirectShowAMVideoCompressionMBS
- method BaseFilter as DirectShowBaseFilterMBS
- method Constructor
- method OverrideFrameSize(FrameNumber as Integer, Size as Integer)
- method OverrideKeyFrame(FrameNumber as Integer)
- method ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
- method ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
- property Capabilities as Integer
- property DefaultKeyFrameRate as Integer
- property DefaultPFramesPerKey as Integer
- property DefaultQuality as Double
- property Description as String
- property Handle as Integer
- property KeyFrameRate as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- property PFramesPerKeyFrame as Integer
- property Quality as Double
- property Version as String
- property WindowSize as UInt64
- class DirectShowAMVideoControlMBS
- method Caps(pin as DirectShowPinMBS) as Integer
- method Constructor
- method CurrentActualFrameRate(pin as DirectShowPinMBS) as Int64
- method FrameRateList(pin as DirectShowPinMBS, Index as Integer, Width as Integer, Height as Integer) as Int64()
- method MaxAvailableFrameRate(pin as DirectShowPinMBS, Index as Integer, Width as Integer, Height as Integer) as Int64
- method Mode(pin as DirectShowPinMBS) as Integer
- method SetMode(pin as DirectShowPinMBS, mode as Integer)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowAMVideoProcAmpMBS
- method Constructor
- method Get(PropertySelector as Integer, byref Value as Integer, byref Flags as Integer)
- method GetRange(PropertySelector as Integer, byref MinValue as Integer, byref MaxValue as Integer, byref SteppingDelta as Integer, byref DefaultValue as Integer, byref CapsFlags as Integer)
- method Set(PropertySelector as Integer, Value as Integer, Flags as Integer = 0)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowAudioStreamConfigCapsMBS
- method Constructor
- property BitsPerSampleGranularity as Integer
- property ChannelsGranularity as Integer
- property MaximumBitsPerSample as Integer
- property MaximumChannels as Integer
- property MaximumSampleFrequency as Integer
- property MinimumBitsPerSample as Integer
- property MinimumChannels as Integer
- property MinimumSampleFrequency as Integer
- property SampleFrequencyGranularity as Integer
- class DirectShowBaseFilterMBS
- method AMCameraControl as DirectShowAMCameraControlMBS
- method AMCrossbar as DirectShowAMCrossbarMBS
- method AMVideoCompression as DirectShowAMVideoCompressionMBS
- method AMVideoControl as DirectShowAMVideoControlMBS
- method AMVideoProcAmp as DirectShowAMVideoProcAmpMBS
- method ConfigAviMux as DirectShowConfigAviMuxMBS
- method ConfigInterleaving as DirectShowConfigInterleavingMBS
- method Constructor
- method EnumPins as DirectShowEnumPinsMBS
- method FindPin(name as string) as DirectShowPinMBS
- method Info as DirectShowFilterInfoMBS
- method ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
- method ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
- method VendorInfo as string
- class DirectShowBindContextMBS
- method Constructor
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowCaptureGraphBuilderMBS
- method AllocCapFile(FilePath as string, Size as UInt64)
- method Constructor
- method Crossbar(filter as DirectShowBaseFilterMBS) as DirectShowAMCrossbarMBS
- method FindPin(Source as DirectShowBaseFilterMBS, PinDirection as Integer, Category as DirectShowGUIDMBS = nil, Type as DirectShowGUIDMBS = nil, Unconnected as boolean = false, Num as Integer = 0) as DirectShowPinMBS
- method FindPin(Source as DirectShowPinMBS, PinDirection as Integer, Category as DirectShowGUIDMBS = nil, Type as DirectShowGUIDMBS = nil, Unconnected as boolean = false, Num as Integer = 0) as DirectShowPinMBS
- method GetFiltergraph as DirectShowGraphBuilderMBS
- method GetStreamConfig(Category as DirectShowGUIDMBS, filter as DirectShowBaseFilterMBS) as DirectShowAMStreamConfigMBS
- method GetStreamConfig(preview as boolean, filter as DirectShowBaseFilterMBS) as DirectShowAMStreamConfigMBS
- shared method MEDIATYPE_Audio as DirectShowGUIDMBS
- shared method MEDIATYPE_AUXLine21Data as DirectShowGUIDMBS
- shared method MEDIATYPE_Interleaved as DirectShowGUIDMBS
- shared method MEDIATYPE_Midi as DirectShowGUIDMBS
- shared method MEDIATYPE_ScriptCommand as DirectShowGUIDMBS
- shared method MEDIATYPE_Stream as DirectShowGUIDMBS
- shared method MEDIATYPE_Text as DirectShowGUIDMBS
- shared method MEDIATYPE_Timecode as DirectShowGUIDMBS
- shared method MEDIATYPE_Video as DirectShowGUIDMBS
- method RenderStream(category as DirectShowGUIDMBS, Type as DirectShowGUIDMBS, Source as DirectShowBaseFilterMBS, Intermediate as DirectShowBaseFilterMBS = nil, Sink as DirectShowBaseFilterMBS = nil)
- method RenderStream(category as DirectShowGUIDMBS, Type as DirectShowGUIDMBS, Source as DirectShowPinMBS, Intermediate as DirectShowBaseFilterMBS = nil, Sink as DirectShowBaseFilterMBS = nil)
- method SetFiltergraph(graph as DirectShowGraphBuilderMBS)
- method SetOutputFileName(Type as DirectShowGUIDMBS, FilePath as string)
- method SetOutputFileName(Type as DirectShowGUIDMBS, FilePath as string, byref filter as DirectShowBaseFilterMBS, byref sink as DirectShowFileSinkFilterMBS)
- method SetupHighestResolution(videoInputFilter as DirectShowBaseFilterMBS, preview as boolean = false)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowConfigAviMuxMBS
- method Constructor
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- property MasterStream as Integer
- property OutputCompatibilityIndex as Boolean
- class DirectShowConfigInterleavingMBS
- method Constructor
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- property Mode as Integer
- class DirectShowDVInfoMBS
- method Constructor
- property DVAAuxCtl as Integer
- property DVAAuxCtl1 as Integer
- property DVAAuxSrc as Integer
- property DVAAuxSrc1 as Integer
- property DVVAuxCtl as Integer
- property DVVAuxSrc as Integer
- class DirectShowEnumMonikerMBS
- method Clone as DirectShowEnumMonikerMBS
- shared method CLSID_AudioCompressorCategory as DirectShowGUIDMBS
- shared method CLSID_AudioInputDeviceCategory as DirectShowGUIDMBS
- shared method CLSID_AudioRendererCategory as DirectShowGUIDMBS
- shared method CLSID_DeviceControlCategory as DirectShowGUIDMBS
- shared method CLSID_DVDHWDecodersCategory as DirectShowGUIDMBS
- shared method CLSID_LegacyAmFilterCategory as DirectShowGUIDMBS
- shared method CLSID_MidiRendererCategory as DirectShowGUIDMBS
- shared method CLSID_TransmitCategory as DirectShowGUIDMBS
- shared method CLSID_VideoCompressorCategory as DirectShowGUIDMBS
- shared method CLSID_VideoInputDeviceCategory as DirectShowGUIDMBS
- method Constructor
- method Constructor(clsidDeviceClass as DirectShowGUIDMBS)
- method Destructor
- method NextObject as DirectShowMonikerMBS
- method Reset
- method Skip(n as Integer)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowEnumPinsMBS
- method Clone as DirectShowEnumPinsMBS
- method Constructor
- method NextObject as DirectShowPinMBS
- method Reset
- method Skip(n as Integer)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowFileSinkFilterMBS
- method Constructor
- shared method MEDIASUBTYPE_Asf as DirectShowGUIDMBS
- shared method MEDIASUBTYPE_Avi as DirectShowGUIDMBS
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowFilterGraphMBS
- method AddFilter(SourceFilter as DirectShowBaseFilterMBS, Name as string = "")
- method Constructor
- method SetDefaultSyncSource
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowFilterInfoMBS
- method Constructor
- property Graph as DirectShowFilterGraphMBS
- property Name as String
- class DirectShowGraphBuilderMBS
- method Abort
- method AddSourceFilter(FileName as string, FilterName as string) as DirectShowBaseFilterMBS
- method Connect(pinOut as DirectShowPinMBS, pinIn as DirectShowPinMBS)
- method ConnectFilters(pinOut as DirectShowPinMBS, dest as DirectShowBaseFilterMBS)
- method ConnectFilters(source as DirectShowBaseFilterMBS, dest as DirectShowBaseFilterMBS)
- method ConnectFilters(source as DirectShowBaseFilterMBS, pinIn as DirectShowPinMBS)
- method Constructor
- method MediaControl as DirectShowMediaControlMBS
- method MediaEventEx as DirectShowMediaEventExMBS
- method Render(pinOut as DirectShowPinMBS)
- method RenderFile(FilePath as string)
- method SetLogFile(FilePath as string)
- method VideoWindow as DirectShowVideoWindowMBS
- class DirectShowGUIDMBS
- method Constructor
- method Constructor(Value as String)
- method Constructor(value1 as Integer, value2 as Integer, value3 as Integer, value4 as Integer, value5 as Integer, value6 as Integer, value7 as Integer, value8 as Integer, value9 as Integer, value10 as Integer, value11 as Integer, value12 as Integer, value13 as Integer, value14 as Integer, value15 as Integer, value16 as Integer)
- method Equal(other as DirectShowGUIDMBS) as boolean
- method Operator_Convert as String
- method Operator_Convert(text as String)
- shared method Parse(GUID as String) as DirectShowGUIDMBS
- property Data as string
- property DisplayString as string
- property Memory as MemoryBlock
- property Ptr as Ptr
- property Byte(index as Integer) as Integer
- class DirectShowMediaControlMBS
- method Constructor
- method GetState(msTimeout as Integer = -1) as Integer
- method Pause
- method RenderFile(FilePath as string)
- method Run
- method Stop
- method StopWhenReady
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowMediaEventExMBS
- method Constructor
- property NotifyFlags as Integer
- class DirectShowMediaEventMBS
- method CancelDefaultHandling(eventCode as Integer)
- method Constructor
- method FreeEventParams(eventCode as Integer, Param1 as Integer, Param2 as Integer)
- method RestoreDefaultHandling(eventCode as Integer)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowMediaFilterMBS
- method Constructor
- method Pause
- method Run(StartTime as Int64)
- method Stop
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowMediaTypeMBS
- method Constructor
- method SetHeight(value as integer) as boolean
- method SetWidth(value as integer) as boolean
- property DVINFO as DirectShowDVInfoMBS
- property FixedSizeSamples as Boolean
- property FormatType as DirectShowGUIDMBS
- property Handle as Integer
- property Height as Integer
- property MajorType as DirectShowGUIDMBS
- property SampleSize as Integer
- property SubType as DirectShowGUIDMBS
- property TemporalCompression as Boolean
- property VideoInfoHeader as DirectShowVideoInfoHeaderMBS
- property VideoInfoHeader2 as DirectShowVideoInfoHeader2MBS
- property WaveFormat as DirectShowWaveFormatMBS
- property Width as Integer
- class DirectShowMonikerMBS
- method BindBaseFilter as DirectShowBaseFilterMBS
- method Constructor
- method DisplayName(BindContext as DirectShowBindContextMBS = nil) as string
- method EnumMonikers(forward as boolean) as DirectShowEnumMonikerMBS
- method Hash as UInt32
- method IsEqual(other as DirectShowMonikerMBS) as Boolean
- method Properties(BindContext as DirectShowBindContextMBS = nil) as DirectShowPropertyBagMBS
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowNullRendererMBS
- method Constructor
- class DirectShowPinMBS
- method Accept(Type as DirectShowMediaTypeMBS) as Boolean
- method BaseFilter as DirectShowBaseFilterMBS
- method ConnectedTo as DirectShowPinMBS
- method ConnectionMediaType as DirectShowMediaTypeMBS
- method Constructor
- method Direction as Integer
- method Disconnect
- method Id as String
- method MediaTypes as DirectShowMediaTypeMBS()
- method Name as String
- shared method PIN_CATEGORY_ANALOGVIDEOIN as DirectShowGUIDMBS
- shared method PIN_CATEGORY_CAPTURE as DirectShowGUIDMBS
- shared method PIN_CATEGORY_CC as DirectShowGUIDMBS
- shared method PIN_CATEGORY_EDS as DirectShowGUIDMBS
- shared method PIN_CATEGORY_NABTS as DirectShowGUIDMBS
- shared method PIN_CATEGORY_PREVIEW as DirectShowGUIDMBS
- shared method PIN_CATEGORY_STILL as DirectShowGUIDMBS
- shared method PIN_CATEGORY_TELETEXT as DirectShowGUIDMBS
- shared method PIN_CATEGORY_TIMECODE as DirectShowGUIDMBS
- shared method PIN_CATEGORY_VBI as DirectShowGUIDMBS
- shared method PIN_CATEGORY_VIDEOPORT as DirectShowGUIDMBS
- shared method PIN_CATEGORY_VIDEOPORT_VBI as DirectShowGUIDMBS
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowPropertyBagMBS
- method Constructor
- method CountProperties as Integer
- method Description as string
- method DevicePath as string
- method FriendlyName as string
- method PropertyName(index as Integer) as string
- method Read(name as string) as Variant
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- class DirectShowSampleGrabberMBS
- method BaseFilter as DirectShowBaseFilterMBS
- method ConnectedMediaType as DirectShowBaseFilterMBS
- method Constructor
- method Current as Picture
- method Destructor
- method SetOneShot(OneShot as boolean)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- event NewFrame(Time as Double)
- class DirectShowVideoInfoHeader2MBS
- method Constructor
- property AvgTimePerFrame as Int64
- property BitErrorRate as Integer
- property BitRate as Integer
- property ControlFlags as Integer
- property CopyProtectFlags as Integer
- property Height as Integer
- property InterlaceFlags as Integer
- property PictAspectRatioX as Integer
- property PictAspectRatioY as Integer
- property SourceBottom as Integer
- property SourceLeft as Integer
- property SourceRight as Integer
- property SourceTop as Integer
- property TargetBottom as Integer
- property TargetLeft as Integer
- property TargetRight as Integer
- property TargetTop as Integer
- property Width as Integer
- class DirectShowVideoInfoHeaderMBS
- method Constructor
- property AvgTimePerFrame as Int64
- property BitCount as Integer
- property BitErrorRate as Integer
- property BitRate as Integer
- property BMIHeaderPtr as Ptr
- property Height as Integer
- property SourceBottom as Integer
- property SourceLeft as Integer
- property SourceRight as Integer
- property SourceTop as Integer
- property TargetBottom as Integer
- property TargetLeft as Integer
- property TargetRight as Integer
- property TargetTop as Integer
- property VideoInfoHeaderPtr as Ptr
- property Width as Integer
- class DirectShowVideoStreamConfigCapsMBS
- method Constructor
- property CropAlignX as Integer
- property CropAlignY as Integer
- property CropGranularityX as Integer
- property CropGranularityY as Integer
- property InputSizeHeight as Integer
- property InputSizeWidth as Integer
- property MaxBitsPerSecond as Integer
- property MaxCroppingSizeHeight as Integer
- property MaxCroppingSizeWidth as Integer
- property MaxFrameInterval as Int64
- property MaxOutputSizeHeight as Integer
- property MaxOutputSizeWidth as Integer
- property MinBitsPerSecond as Integer
- property MinCroppingSizeHeight as Integer
- property MinCroppingSizeWidth as Integer
- property MinFrameInterval as Int64
- property MinOutputSizeHeight as Integer
- property MinOutputSizeWidth as Integer
- property OutputGranularityX as Integer
- property OutputGranularityY as Integer
- property ShrinkTapsX as Integer
- property ShrinkTapsY as Integer
- property StretchTapsX as Integer
- property StretchTapsY as Integer
- property VideoStandard as Integer
- class DirectShowVideoWindowMBS
- method Constructor
- method GetMaxIdealImageSize(byref width as Integer, byref height as Integer)
- method GetMinIdealImageSize(byref width as Integer, byref height as Integer)
- method GetRestorePosition(byref left as Integer, byref top as Integer, byref width as Integer, byref height as Integer)
- method GetWindowPosition(byref left as Integer, byref top as Integer, byref width as Integer, byref height as Integer)
- method HideCursor(hide as boolean)
- method IsCursorHidden as Boolean
- method SetWindowForeground(Focus as Boolean)
- method SetWindowPosition(left as Integer, top as Integer, width as Integer, height as Integer)
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- property MessageDrain as Variant
- property messageDrainControl as Variant
- property Owner as Variant
- property OwnerControl as Variant
- property AutoShow as Boolean
- property BackgroundPalette as Boolean
- property BorderColor as color
- property Caption as string
- property FullScreenMode as Boolean
- property Height as Integer
- property Left as Integer
- property Top as Integer
- property Visible as Boolean
- property Width as Integer
- property WindowState as Integer
- property WindowStyle as Integer
- property WindowStyleEx as Integer
- class DirectShowWaveFormatMBS
- method Constructor
- property AvgBytesPerSec as Integer
- property BitsPerSample as Integer
- property BlockAlign as Integer
- property Channels as Integer
- property Data as Ptr
- property FormatTag as Integer
- property SamplesPerSec as Integer
- property Size as Integer
- class DirectShowAMCameraControlMBS
- Blog Entries
- Videos
Release notes
- Version 22.0
- Added PropertyName and CountProperties methods to DirectShowPropertyBagMBS class.
- Changed window properties to variant, so you can use DesktopWindow there for WindowsShortCutMBS, WindowsPrintDialogMBS, WindowsPageSetupDialogMBS, WindowsICMSetupMBS, WindowsBlueToothSelectDeviceDialogMBS, TwainMBS, TaskDialogMBS, OpenDialogMBS, DirectShowVideoWindowMBS, WindowsStoreContextMBS, WindowsFileCopyMBS, WindowsFontDialogMBS, WindowsPreviewHandlerMBS, WindowsStoreContextMBS, ParentChromiumFrameMBS and ChromiumBrowserMBS classes.
- Version 21.5
- Added new constructor for DirectShowEnumMonikerMBS to find all filters available.
- Version 21.1
- Added DirectShowAMVideoControlMBS class.
- Added FindPin method to DirectShowCaptureGraphBuilderMBS class
- Added GetStreamConfig function for DirectShowCaptureGraphBuilderMBS class to accept GUID to identify the pin category.
- Upgraded DirectShowGUIDMBS class with more methods and properties.
- Version 21.0
- Added messageDrainControl and OwnerControl properties to DirectShowVideoWindowMBS class.
- Added more methods to DirectShowPinMBS class.
- Version 19.1
- Added DirectShowAMVideoCompressionMBS class.
- Added ShowPropertyDialog method to DirectShowAMStreamConfigMBS, DirectShowAMCameraControlMBS, DirectShowAMVideoCompressionMBS, DirectShowAMCrossbarMBS and DirectShowBaseFilterMBS classes.
- Version 18.4
- Added DirectShowCaptureGraphBuilderMBS.SetupHighestResolution method.
- Added SetHeight and SetWidth methods, Height and Width properties to DirectShowMediaTypeMBS class.
- Version 18.0
- Added DirectShowGUIDMBS.Parse function.
The items on this page are in the following plugins: MBS Win Plugin.