Share via


MPEG-2 Demultiplexer

 
Microsoft DirectShow 9.0

MPEG-2 Demultiplexer

The MPEG-2 Demultiplexer ("demux") filter demultiplexes MPEG-2 transport and program streams that are delivered in push-mode. In Microsoft® Windows® XP, this filter also supports program streams in pull mode (file playback). On earlier platforms, use the MPEG-2 Splitter filter for program streams in pull mode. This filter can be used in any type of filter graph, including a BDA digital TV filter graph.

  • **Note   **The MPEG-2 Demultiplexer does not support frame-accurate seeking.
Filter Interfaces IBaseFilter, ISpecifyPropertyPages

Push mode only: IAMFilterMiscFlags, IMpeg2Demultiplexer, IReferenceClock

Input Pin Media Types Major type: MEDIATYPE_STREAM

Subtype:

  • KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT
  • MEDIASUBTYPE_MPEG2_PROGRAM
  • MEDIASUBTYPE_MPEG2_TRANSPORT
  • MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE

For more information, see MPEG-2 Demultiplexer Media Types.

Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types Audio and video elementary streams must have a major type of MEDIATYPE_Audio or MEDIATYPE_Video.

For more information, see MPEG-2 Demultiplexer Media Types.

Output Pin Interfaces IPin, IQualityControl

Push mode only: IAMPushSource, IMPEG2PIDMap, IMPEG2StreamIdMap

Pull mode only: IMediaSeeking

Filter CLSID CLSID_MPEG2Demultiplexer
Property Page CLSID Available for testing only. Use the ISpecifyPropertyPages interface to access the property pages
Executable mpg2splt.ax
Merit MERIT_NORMAL
Filter Category CLSID_LegacyAmFilterCategory

Remarks

To output audio and video elementary streams, the demux must receive the PCR and SCR streams. On the input side, this means a transport stream must contain the PAT and PMT tables that define the PID for the PCR stream; and program streams must contain at least one pack header.

See Also