CODECAPI_AVEncVideoMarkLTRFrame property

Marks the current frame as a LTR frame.

Data type


Property GUID



H.264/AVC encoders:

The value of this control is the value of H.264 syntax LongTermFramIdx associated with the current frame. If the current frame is not in the base layer, for example syntax element temporal_id is not equal to 0, this property applies to the next base layer frame in encoding order.

This property should not be called if a pending call to mark an LTR frame has been issued using the CODECAPI_AVEncVideoMarkLTRFrame property and the encoder has not yet marked a frame as LTR. In other words, the encoder should not queue up CODECAPI_AVEncVideoMarkLTRFrame requests. If a CODECAPI_AVEncVideoMarkLTRFrame request is submitted while another CODECAPI_AVEncVideoMarkLTRFrame request is still pending, the older request should be dropped.

The CODECAPI_AVEncVideoMarkLTRFrame property is dynamic and can be set during the encoding session.


Minimum supported client
Windows 8.1 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 R2 [desktop apps | UWP apps]

See also

Media Foundation Properties