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
The IAMVideoCompression interface sets and retrieves video compression properties.

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.

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:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes


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


DirectShowAMStreamConfigMBS   -   DirectShowAMVideoControlMBS


The biggest plugin in space...