CODECAPI_AVEncMaxFrameRate property

Sets the maximum real-time input rate of video frames being fed to the encoder.

Data type

ULONGULONG (VT_UI8)

Property GUID

CODECAPI_AVEncMaxFrameRate

Remarks

This property allows the caller to specify the maximum real-time input rate of video frames being fed to the encoder. This gives the encoder an indication of the rate that it will need to process the incoming frames. This is useful for encoders that set themselves into a particular power state configuration based on the resolution and frame-rate of the source video.

The frame rate is expressed as a ratio. The upper 32 bits of the attribute value contain the numerator and the lower 32 bits contain the denominator. For example, if the frame rate is 30 frames per second (fps), the ratio is 30/1. If the frame rate is 29.97 fps, the ratio is 30,000/1001.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016 [desktop apps only]
Header
Codecapi.h

See also

Media Foundation Properties

ICodecAPI