MPEG-2 Splitter Filter Media Types

The MPEG-2 Splitter filter currently supports audio and video. AC3 is supported as a substream as defined by DVD. MPEG-2 audio is also supported.

For video the type is as follows:

PES outputPayload output
TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Video
SubtypeMEDIASUBTYPE_MPEG2_VIDEOMEDIASUBTYPE_MPEG2_VIDEO
FormatFORMAT_MPEG2VideoFORMAT_MPEG2Video
Format blockMPEG2VIDEOINFOMPEG2VIDEOINFO

For AC3 audio the type is as follows:

PES outputPayload output
TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Audio
SubtypeMEDIASUBTYPE_DOLBY_AC3MEDIASUBTYPE_DOLBY_AC3
FormatFORMAT_WaveFormatExFORMAT_WaveFormatEx
Format blockWAVEFORMATEXWAVEFORMATEX

The WAVEFORMATEX structure's wFormatTag member for AC3 is currently WAVE_FORMAT_UNKNOWN, but it might change so you should check for it.

For MPEG-2 the type is as follows:

PES outputPayload output
TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Audio
SubtypeMEDIASUBTYE_MPEG2_AUDIOMEDIASUBTYPE_MPEG2_AUDIO
FormatFORMAT_WaveFormatExFORMAT_WaveFormatEx
Format blockWAVEFORMATEXWAVEFORMATEX

The WAVEFORMATEX structure's wFormatTag member for MPEG-2 Audio is currently WAVE_FORMAT_UNKNOWN, but it might change so you should check for it.

The MPEG-2 Splitter assumes that streams D0-DF are used for the multichannel extension stream, as they are for DVD MPEG-2 audio, so, whenever stream Cx is selected, the splitter forwards the packets for stream Dx as well.

For LPCM audio the type is as follows:

PES outputPayload output
TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Audio
SubtypeMEDIASUBTYPE_DVD_LPCM_AUDIO MEDIASUBTYPE_DVD_LPCM_AUDIO
FormatFORMAT_WaveFormatExFORMAT_WaveFormatEx
Format blockWAVEFORMATEXWAVEFORMATEX

The WAVEFORMATEX structure's wFormatTag member for LPCM audio is currently WAVE_FORMAT_UNKNOWN, but it might change so you should check for it.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.