Platforms to show: All Mac Windows Linux Cross-Platform
DirectShowAMVideoCompressionMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DirectShow | MBS Win Plugin | 19.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
It is supported by some video compression filters, and also by some video capture filters that output compressed video. Filters that support this interface expose it through their output pins.
An application can use this interface to control how video is compressed, including characteristics such as the key-frame rate or the compression quality.
A filter that supports this interface might not support every method. Use the Capabilities property to determine which methods the filter supports.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 13 properties
- 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
- 6 methods
- method BaseFilter as DirectShowBaseFilterMBS
- method Constructor Private
- 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 = "")
- 5 constants
Compression Capabilities
Constant | Value | Description |
---|---|---|
CompressionCapsCanBFrame | &h08 |
Video compressor supports the PFramesPerKeyFrame properties. |
CompressionCapsCanCrunch | &h02 |
Video compressor can compress video to a specified data rate. If the compressor has this capability then the output pins media type will contain the data rate in the VIDEOINFOHEADER structure's BitRate member. The only way to set the data rate is to set BitRate. |
CompressionCapsCanKeyFrame | &h04 |
Video compressor supports the KeyFrameRate properties. |
CompressionCapsCanQuality | &h01 |
Video compressor supports the Quality property. |
CompressionCapsCanWindow | &h10 |
Video compressor supports the WindowSize properties. |
This class has no sub classes.
Some methods using this class:
- DirectShowBaseFilterMBS.AMVideoCompression as DirectShowAMVideoCompressionMBS
Some examples using this class:
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 19.1
- MBS Xojo Plugins, version 19.1pr4
- MBS Xojo Plugins, version 19.1pr3
Xojo Developer Magazine
Release notes
- Version 19.1
- Added DirectShowAMVideoCompressionMBS class.
- Added ShowPropertyDialog method to DirectShowAMStreamConfigMBS, DirectShowAMCameraControlMBS, DirectShowAMVideoCompressionMBS, DirectShowAMCrossbarMBS and DirectShowBaseFilterMBS classes.
The items on this page are in the following plugins: MBS Win Plugin.
DirectShowAMStreamConfigMBS - DirectShowAMVideoControlMBS