IAMVideoCompression Interface (Compact 2013)
3/26/2014
This 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 IAMVideoCompression::GetInfo method to determine which methods the filter supports.
Note
To use this interface on a capture filter, you might need to connect the filter to another filter in the graph.
In addition to the methods inherited from IUnknown, this interface exposes the following methods.
Method |
Description |
---|---|
Retrieves the key-frame rate. |
|
Retrieves the P frame frequency. |
|
Retrieves the compression quality. |
|
Retrieves the number of frames over which the compressor must maintain an average data rate. |
|
Retrieves information about the filter's compression properties, including capabilities and default values. |
|
Overrides a particular frame's data rate. |
|
Forces a particular frame to be a key frame. |
|
Sets the key-frame rate. |
|
Sets the predicted (P) frame frequency. |
|
Sets the compression quality. |
|
Sets the number of frames over which the compressor must maintain an average data rate. |
Remarks
Video capture filters automatically exposes this interface if the driver supports the PROPSETID_VIDCAP_VIDEOCOMPRESSION property set.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |