Düzenle

Aracılığıyla paylaş


MF_TRANSCODE_CONTAINERTYPE attribute

Specifies the container type of an encoded file. The container types are supported by Media Foundation.

Data type

GUID

Possible values for the container types provided by Media Foundation are described in the following table.

Value Meaning
MFTranscodeContainerType_ASF
ASF file container.
MFTranscodeContainerType_MPEG4
MP4 file container.
MFTranscodeContainerType_MP3
MP3 file container.
MFTranscodeContainerType_3GP
3GP file container.
MFTranscodeContainerType_AC3
AC3 file container.
MFTranscodeContainerType_ADTS
ADTS file container.
MFTranscodeContainerType_MPEG2
MPEG2 file container.
MFTranscodeContainerType_FMPEG4
FMPEG4 file container.
MFTranscodeContainerType_WAVE
WAVE file container.
Supported in Windows 8.1 and later.
MFTranscodeContainerType_AVI
AVI file container.
Supported in Windows 8.1 and and later.
MFTranscodeContainerType_AMR
AMR file container.

 

Get/set

To get this attribute, call IMFAttributes::GetGUID.

To set this attribute, call IMFAttributes::SetGUID.

Remarks

This attribute is used with both the Fast Transcode feature and the sink writer object.

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

Fast Transcode

The application must set the container attribute on the transcode profile before building the transcode topology. The topology builder analyses this attribute and loads the appropriate media sink in the pipeline. For more information, see the following topics:

Sink Writer

This attribute can be used to configure the file-container type for the sink writer. For more information, see Sink Writer Attributes.

Requirements

Requirement Value
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