MPEG-2 Demultiplexer

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

This filter demultiplexes MPEG-2 transport and program streams that are delivered in push-mode. Starting in 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.

 

Label Value
Filter Interfaces All modes:
Push mode only:
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, IQualityControlPush 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.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of server support
Windows Server 2003 R2

See also

DirectShow Filters

Using the MPEG-2 Demultiplexer