Partager via


MPEG-2 Demultiplexer Filter (Compact 2013)

January 31, 2017

This filter demultiplexes MPEG-2 transport and program streams that are delivered to this filter in pull mode. This filter requires an upstream buffering filter in the filter graph because it does not contain an internal buffer and does not support push mode. For more information, see the Buffering Stream Filter.

The following table shows the MPEG-2 demultiplexer filter properties.

Filter property

Description

Filter Interfaces

IBaseFilter Interface, IMpeg2Demultiplexer

Input Pin Media Types

MEDIATYPE_Stream_Buffered

MEDIASUBTYPE_MPEG2_PROGRAM

MEDIASUBTYPE_MPEG2_TRANSPORT

MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE

MEDIASUBTYPE_M2T

MEDIASUBTYPE_TS

MEDIASUBTYPE_TTS

MEDIASUBTYPE_M2P

MEDIASUBTYPE_MPEG

MEDIASUBTYPE_MPG

For more information, see DirectShow Media Types.

Input Pin Interfaces

IPin Interface, IQualityControl

Output Pin Media Types

MEDIATYPE_Audio

MEDIASUBTYPE_MPEG2_AUDIO

MEDIASUBTYPE_DOLBY_AC3

MEDIASUBTYPE_DVD_LPCM_AUDIO

MEDIATYPE_Video

MEDIASUBTYPE_MPEG2_VIDEO

MEDIASUBTYPE_H264

MEDIASUBTYPE_MPEG1Video

MEDIASUBTYPE_MP4

MEDIASUBTYPE_WVC1

MEDIATYPE_MPEG2PSI

Output Pin Interfaces

IMediaSeeking, IPin Interface, IQualityControl, IMPEG2PIDMap, IMPEG2StreamIdMap

Filter CLSID

CLSID_MPEG2Demultiplexer

SYSGEN

SYSGEN_DSHOW_MPEG2DEMUX

Executable

Quartz.dll

Merit

MERIT_NORMAL + 1

For more information, see Merit.

Remarks

To output audio and video elementary streams, the MPEG-2 demultiplexer must receive the Program Clock Reference (PCR) or System Clock Reference (SCR) values from the incoming Transport stream (for PCR) or Program stream (for SCR). On the input side, this means that a transport stream must contain the Program Access Table (PAT) and Program Mapping Table (PMT) tables that define the Program ID (PID) for the PCR stream; program streams must contain at least one pack header.

The term MPEG-2 refers to the codec and the container format interchangeably. The following table shows the containers and the media formats supported by the MPEG-2 demultiplexer filter.

Container

Video/Audio Codecs

MPEG-2-Transport-Stream

MPEG-2/AC-3

MPEG-2/MPEG1 layers 1 and 2

MPEG-4 Part 10/ AC3

MPEG-4 Part 10/MPEG

MPEG-4 Part 10/AAC

MPEG-2 Program Stream

MPEG-2/AC3

MPEG-2/LPCM

MPEG-2/MPEG-1 L2

MPEG-2/MPEG-2 L2

See Also

Reference

Supported DirectShow Filters