CODECAPI_AVEncVideoMaxNumRefFrame property

Specifies the maximum reference frames supported by the encoder.

Data type

ULONG (VT_UI4)

Property GUID

CODECAPI_AVEncVideoMaxNumRefFrame

Remarks

For H.264, this maps to the Sequence Parameter Set variable max_num_ref_frames as defined in H.264 specification.

H.264/AVC encoders:

Encoders may use fewer reference frames in order to obey the level specified in the bitstream.

Encoders shall support GetValue, SetValue, and GetParameterRangee.

This is a static property meaning that it can only be set before the encoding session starts.

Recommended default value is 2.

Requirements

Minimum supported client
Windows 8.1 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 R2 [desktop apps | UWP apps]
Header
Codecapi.h

See also

Media Foundation Properties