共用方式為


MPEG-2 Kernel Media Types

 
Microsoft DirectShow 9.0

MPEG-2 Kernel Media Types

For several MPEG-2 media type GUIDs, the Windows DDK defines names that differ from the names used in DirectShow. The following table shows the DirectShow names (defined in Ksuuids.h) and the corresponding kernel-mode names (defined in Ksmedia.h).

Name in Ksuuids.h Name in Ksmedia.h
FORMAT_WaveFormatEx KSDATAFORMAT_SPECIFIER_WAVEFORMATEX
FORMAT_MPEG2Video KSDATAFORMAT_SPECIFIER_MPEG2_VIDEO
MEDIASUBTYPE_ATSC_SI KSDATAFORMAT_SUBTYPE_ATSC_SI
MEDIASUBTYPE_DOLBY_AC3 KSDATAFORMAT_SUBTYPE_AC3_AUDIO
MEDIASUBTYPE_DVB_SI KSDATAFORMAT_SUBTYPE_DVB_SI
MEDIASUBTYPE_DVD_LPCM_AUDIO KSDATAFORMAT_SUBTYPE_LPCM_AUDIO
MEDIASUBTYPE_MPEG2_AUDIO KSDATAFORMAT_SUBTYPE_MPEG2_AUDIO
MEDIASUBTYPE_MPEG2_PROGRAM STATIC_KSDATAFORMAT_TYPE_MPEG2_PROGRAM
MEDIASUBTYPE_MPEG2_TRANSPORT KSDATAFORMAT_TYPE_MPEG2_TRANSPORT
MEDIASUBTYPE_MPEG2_VIDEO KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO
MEDIATYPE_MPEG2_SECTIONS KSDATAFORMAT_TYPE_MPEG2_SECTIONS
MEDIATYPE_Audio KSDATAFORMAT_TYPE_AUDIO
MEDIATYPE_MPEG2_PES KSDATAFORMAT_TYPE_MPEG2_PES
MEDIATYPE_Video KSDATAFORMAT_TYPE_VIDEO

Requirements

  Header: Dshow.h.

See Also