Düzenle

Aracılığıyla paylaş


CODECAPI_AVEncVideoForceKeyFrame property

Forces the encoder to code the next frame as a key frame.

Data type

ULONG (VT_UI4)

Property GUID

CODECAPI_AVEncVideoForceKeyFrame

Property value

If the value is nonzero, the encoder will code the next frame as a key frame. If the value is zero, the encoder selects whether to encode the next frame as a key frame.

This property applies to the next frame that the encoder receives as input. For a Media Foundation transform (MFT), this is the next frame that is passed to the IMFTransform::ProcessInput method. The setting resets to zero after the next frame.

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Codecapi.h

See also

Media Foundation Properties

ICodecAPI