MF_MT_VIDEO_PROFILE attribute

Specifies the profile of video encoding on the output media type. This is an alias of MF_MT_MPEG2_PROFILE attribute.

Data type

UINT32

Remarks

H.264 encoders:

Supported profiles are exceeded to include eAVEncH264VProfile_ConstrainedBase and eAVEncH264VProfile_ConstrainedHigh.

Encoders shall support both GetValue and SetValue for this attribute.

This is static, so video encoders must be configured before the streaming starts. If the application sets a profile which the encoder does not support, the encoder shall reject the media type.

Recommended default: eAVEncH264VProfile_Main profile.

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes