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:

MF_MT_MAJOR_TYPE Major type.


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_PerceptionStreams from a camera sensor or processing unit that reasons and understands raw video data and provides understanding of the environment or humans in it.None.
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

Media Types