MF_TRANSCODE_ADJUST_PROFILE attribute

Profile flags that define the stream settings for the transcode topology. The flags are defined in the MF_TRANSCODE_ADJUST_PROFILE_FLAGS enumeration.

Data type

UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Remarks

An application can set this attribute at the container level on the transcode profile. If this attribute is set, the MFCreateTranscodeTopology function changes the stream attributes during topology building, depending on the specified flag. For example, if the application specifies the MF_TRANSCODE_ADJUST_PROFILE_DEFAULT flag, the application-specified stream settings are used to create the profile.

For the video stream, the frame rate is updated based on the media source. If the application does not specify the interlaced mode, the profile is updated to use progressive frames by default.

If the application specifies the MF_TRANSCODE_ADJUST_PROFILE_USE_SOURCE_ATTRIBUTES flag, then missing stream attributes are copied from the input media source to the stream settings in the transcode profile.

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

See also

Alphabetical List of Media Foundation Attributes
Transcode API
IMFTranscodeProfile::SetContainerAttributes

 

 

Show: