MFT_PREFERRED_ENCODER_PROFILE attribute

Contains configuration properties for an encoder.

Data type

IMFAttributes* stored as IUnknown*

Get/set

To get this attribute, call IMFAttributes::GetUnknown.

To set this attribute, call IMFAttributes::SetUnknown.

Applies to

IMFActivate

Remarks

This attribute can be set on the activation object returned by the MFCreateTransformActivate function. The attribute applies only when the activation object is configured to create an encoder. The value of the attribute is a pointer to an attribute store, which itself contains properties to set on the encoder.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 R2 [desktop apps | UWP apps]
Header
Mftransform.h

See also

Alphabetical List of Media Foundation Attributes

MFCreateTransformActivate

Transform Attributes