MF_NALU_LENGTH_SET attribute

Indicates that NALU length information will be sent as a BLOB with each compressed H.264 or H.265 sample.

Data type

UINT32

Remarks

This attribute can be set on the input media type of the H.264 decoder or H.265 decoder. This attribute can also be set on the output type of the H.264 encoder or H.265 encoder.

When MF_NALU_LENGTH_SET is set on input media type of a decoder, MF_NALU_LENGTH_SET indicates to the decoder that each input sample will have a NALU length available and each input sample contains one complete primary picture.

When MF_NALU_LENGTH_SET is set on the output type of an encoder, MF_NALU_LENGTH_SET requests that the encoder emit NALU length information on each output sample.

The BLOB containing the NALU length information can be retrieved from MF_NALU_LENGTH_INFORMATION attribute on the input sample.

Requirements

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

See also

Alphabetical List of Media Foundation Attributes

Media Type Attributes