eAVEncCommonRateControlMode enumeration (codecapi.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Specifies the rate control mode for an encoder. This enumeration is used with the AVEncCommonRateControlMode codec property.
Syntax
typedef enum eAVEncCommonRateControlMode {
eAVEncCommonRateControlMode_CBR = 0,
eAVEncCommonRateControlMode_PeakConstrainedVBR = 1,
eAVEncCommonRateControlMode_UnconstrainedVBR = 2,
eAVEncCommonRateControlMode_Quality = 3,
eAVEncCommonRateControlMode_LowDelayVBR = 4,
eAVEncCommonRateControlMode_GlobalVBR = 5,
eAVEncCommonRateControlMode_GlobalLowDelayVBR = 6
} ;
Constants
eAVEncCommonRateControlMode_CBR Value: 0 Constant bit rate (CBR) encoding. |
eAVEncCommonRateControlMode_PeakConstrainedVBR Value: 1 Constrained variable bit rate (VBR) encoding. |
eAVEncCommonRateControlMode_UnconstrainedVBR Value: 2 Unconstrained VBR encoding. |
eAVEncCommonRateControlMode_Quality Value: 3 Quality-based VBR encoding. The encoder selects the bit rate to match a specified quality level. To specify the quality level, set the AVEncCommonQuality property. |
eAVEncCommonRateControlMode_LowDelayVBR Value: 4 Low delay VBR encoding. H.264 extension. Requires Windows 8. |
eAVEncCommonRateControlMode_GlobalVBR Value: 5 Global VBR encoding. H.264 extension. Requires Windows 8. |
eAVEncCommonRateControlMode_GlobalLowDelayVBR Value: 6 Global low delay VBR encoding. H.264 extension. Requires Windows 8. |
Remarks
This enumeration is also used with H.264 UVC 1.5 camera encoders.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Header | codecapi.h |