MPEG-2 Splitter Media Types

The MPEG-2 Splitter filter currently supports audio and video. Dolby AC-3 is supported as a substream as defined by DVD. The filter also supports MPEG-2 audio. The media types depend on whether the MPEG-2 splitter is delivering PES packets or PES payloads.

Video

For MPEG-2 video, the media types are as follows.

PES outputPayload output
Major TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Video
SubtypeMEDIASUBTYPE_MPEG2_VIDEOMEDIASUBTYPE_MPEG2_VIDEO
Format TypeFORMAT_MPEG2VideoFORMAT_MPEG2Video
Format Structure MPEG2VIDEOINFO MPEG2VIDEOINFO

 

AC-3 Audio

For AC-3 audio, the media types are as follows.

PES outputPayload output
Major TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Audio
SubtypeMEDIASUBTYPE_DOLBY_AC3MEDIASUBTYPE_DOLBY_AC3
Format TypeFORMAT_WaveFormatExFORMAT_WaveFormatEx
Format Structure WAVEFORMATEX WAVEFORMATEX

 

The WAVEFORMATEX structure's wFormatTag member for AC-3 is currently WAVE_FORMAT_UNKNOWN, but this might change.

MPEG-2 Audio

For MPEG-2 audio, the media types are as follows.

PES outputPayload output
Major TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Audio
SubtypeMEDIASUBTYE_MPEG2_AUDIOMEDIASUBTYPE_MPEG2_AUDIO
Format TypeFORMAT_WaveFormatExFORMAT_WaveFormatEx
Format StructureWAVEFORMATEXWAVEFORMATEX

 

The WAVEFORMATEX structure's wFormatTag member for MPEG-2 Audio is currently WAVE_FORMAT_UNKNOWN, but this might change.

The MPEG-2 Splitter assumes that streams D0 through DF are used for the multichannel extension stream, as they are for DVD MPEG-2 audio. Therefore, whenever stream C x is selected, the splitter forwards the packets for stream D x as well.

LPCM Audio

For LPCM audio, the media types are as follows.

PES outputPayload output
Major TypeMEDIATYPE_MPEG2_PESMEDIATYPE_Audio
SubtypeMEDIASUBTYPE_DVD_LPCM_AUDIOMEDIASUBTYPE_DVD_LPCM_AUDIO
Format TypeFORMAT_WaveFormatExFORMAT_WaveFormatEx
Format StructureWAVEFORMATEXWAVEFORMATEX

 

The WAVEFORMATEX structure's wFormatTag member for LPCM audio is currently WAVE_FORMAT_UNKNOWN, but this might change.

Related topics

MPEG-2 Media Types

 

 

Show: