|Microsoft DirectX 9.0|
The MPEG-2 Demultiplexer filter recognizes the following media types.
The major type is always MEDIATYPE_Stream. The subtype can be any of the following:
|KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT||Transport stream from a Broadcast Driver Architecture (BDA) device filter. The MPEG-2 demultiplexer treats this subtype identically to MEDIASUBTYPE_MPEG2_TRANSPORT.|
|MEDIASUBTYPE_MPEG2_TRANSPORT||Transport stream (TS), with 188-byte packets|
|MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE||Transport stream with "strided" packets. This subtype indicates that the TS packets may be padded with extra bytes. For more information, see MPEG2_TRANSPORT_STRIDE.|
For strided transport packets (MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE), each media sample must contain an integral number of transport packets, as described in MPEG2_TRANSPORT_STRIDE. For all other input types, there are no restrictions on sample boundaries; individual packets can span sample boundaries.
The MPEG-2 Demultiplexer does not validate output types; the downstream filter is responsibe for parsing the data it receives from the demultiplexer. However, the following types are commonly accepted by downstream filters as output from the demultiplexer:
|Subtype||MEDIASUBTYPE_ATSC_SI: ATSC Service Information
MEDIASUBTYPE_DVB_SI: DVB Service Information
MEDIASUBTYPE_MPEG2DATA: Used by the MPEG-2 Sections and Tables filter.
Some of these GUIDs are defined in the header file Bdamedia.h