Microsoft DirectX 8.1 (C++)

MPEG-2 Kernel Media Types

MPEG-2 kernel media type GUIDs have names that differ from the Microsoft DirectShow names. The following table shows the DirectShow GUID and the kernel GUID for the types relevant to MPEG-2.

Name in Ksuuids.h Name in Ksmedia.h
MEDIATYPE_MPEG2_PES KSDATAFORMAT_TYPE_MPEG2_PES
MEDIASUBTYPE_MPEG2_VIDEO KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO
FORMAT_MPEG2Video KSDATAFORMAT_SPECIFIER_MPEG2_VIDEO
MEDIASUBTYPE_DOLBY_AC3 KSDATAFORMAT_SUBTYPE_AC3_AUDIO
MEDIATYPE_Video KSDATAFORMAT_TYPE_VIDEO
MEDIATYPE_Audio KSDATAFORMAT_TYPE_AUDIO
FORMAT_WaveFormatEx KSDATAFORMAT_SPECIFIER_WAVEFORMATEX
FORMAT_MPEG2Video KSDATAFORMAT_SPECIFIER_MPEG2_VIDEO
MEDIASUBTYPE_MPEG2_AUDIO KSDATAFORMAT_SUBTYPE_MPEG2_AUDIO
MEDIASUBTYPE_DVD_LPCM_AUDIO KSDATAFORMAT_SUBTYPE_LPCM_AUDIO