Rediger

Del via


AVEncCommonRateControlMode property

[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.

Applications can set this property to specify the rate control mode. Encoders can also return this property as a capability.

This property is read/write.

Data type

UINT32 (VT_UI4)

Property GUID

CODECAPI_AVEncCommonRateControlMode

Property value

The value of this property is a member of the eAVEncCommonRateControlMode enumeration.

Remarks

This property is also used with H.264 UVC 1.5 camera encoders.

CODECAPI_AVEncVideoTemporalLayerCount, CODECAPI_AVEncVideoUsage, and CODECAPI_AVEncCommonRateControlMode are static encoder properties. Once set, these will only take effect after a set media type is called on the camera’s output pin.

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

See also

Codec API Properties

ICodecAPI Interface