MPEG-2 Splitter Media Types

 
Microsoft DirectShow 9.0

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 output Payload output
Major Type MEDIATYPE_MPEG2_PES MEDIATYPE_Video
Subtype MEDIASUBTYPE_MPEG2_VIDEO MEDIASUBTYPE_MPEG2_VIDEO
Format Type FORMAT_MPEG2Video FORMAT_MPEG2Video
Format Structure MPEG2VIDEOINFO MPEG2VIDEOINFO

AC-3 Audio

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

  PES output Payload output
Major Type MEDIATYPE_MPEG2_PES MEDIATYPE_Audio
Subtype MEDIASUBTYPE_DOLBY_AC3 MEDIASUBTYPE_DOLBY_AC3
Format Type FORMAT_WaveFormatEx FORMAT_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 output Payload output
Major Type MEDIATYPE_MPEG2_PES MEDIATYPE_Audio
Subtype MEDIASUBTYE_MPEG2_AUDIO MEDIASUBTYPE_MPEG2_AUDIO
Format Type FORMAT_WaveFormatEx FORMAT_WaveFormatEx
Format Structure WAVEFORMATEX WAVEFORMATEX

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 Cx is selected, the splitter forwards the packets for stream Dx as well.

LPCM Audio

For LPCM audio, the media types are as follows.

  PES output Payload output
Major Type MEDIATYPE_MPEG2_PES MEDIATYPE_Audio
Subtype MEDIASUBTYPE_DVD_LPCM_AUDIO MEDIASUBTYPE_DVD_LPCM_AUDIO
Format Type FORMAT_WaveFormatEx FORMAT_WaveFormatEx
Format Structure WAVEFORMATEX WAVEFORMATEX

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

Requirements

  Header: Dshow.h.

See Also