Major Media Types

In a media type, the major type describes the overall category of the data, such as audio or video. The subtype, if present, further refines the major type. For example, if the major type is video, the subtype might be 32-bit RGB video. Subtypes also distinguish encoded formats, such as H.264 video, from uncompressed formats.

Major type and subtype are identified by GUIDs and stored in the following attributes:

AttributeDescription
MF_MT_MAJOR_TYPE Major type.
MF_MT_SUBTYPE Subtype.

 

The following major types are defined.

Major TypeDescriptionSubtypes
MFMediaType_AudioAudio. Audio Subtype GUIDs.
MFMediaType_BinaryBinary stream.None.
MFMediaType_FileTransferA stream that contains data files.None.
MFMediaType_HTMLHTML stream.None.
MFMediaType_ImageStill image stream. WIC GUIDs and CLSIDs.
MFMediaType_ProtectedProtected media.The subtype specifies the content protection scheme.
MFMediaType_SAMISynchronized Accessible Media Interchange (SAMI) captions.None.
MFMediaType_ScriptScript stream.None.
MFMediaType_StreamMultiplexed stream or elementary stream. Stream Subtype GUIDs
MFMediaType_VideoVideo. Video Subtype GUIDs.

 

Third-party components can define new major types and new subtypes.

Related topics

IMFMediaType
Media Types

 

 

Community Additions

ADD
Show:
© 2014 Microsoft