MPEG-2 Splitter

[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.]

Starting in Microsoft® Windows® XP, the MPEG-2 Splitter filter is deprecated. Use the MPEG-2 Demultiplexer instead.

On earlier platforms, use the MPEG-2 Splitter for MPEG-2 program streams delivered in pull mode that contain at least one of the following stream types: MPEG-2 video; MPEG-2 audio; AC3 audio encoded as defined for DVD video; or PCM audio encoded as defined for DVD video. This filter parses the streams, creates an output pin for each stream, and outputs the compressed MPEG audio or video packets to an MPEG-2 decoder filter.

For program and transport streams delivered in push-mode, use the MPEG-2 Demultiplexer, on all platforms.

Note

The MPEG-2 Splitter does not support frame-accurate seeking.

 

Label Value
Filter Interfaces IBaseFilter, ISpecifyPropertyPages, IAMParse, IAMStreamSelect
Input Pin Media Types
  • MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_PROGRAM
  • MEDIATYPE_Stream, MEDIASUBTYPE_MPEG1_Video
  • MEDIATYPE_Stream, MEDIASUBTYPE_NULL
Input Pin Interfaces IPin, IQualityControl
Output Pin Media Types Depends on the stream type. See MPEG-2 Splitter Media Types
Output Pin Interfaces IPin, IMediaSeeking
Filter CLSID CLSID_MMSPLITTER
Property Page CLSID Not applicable
Executable mpg2splt.ax
Merit MERIT_NORMAL + 1
Filter Category CLSID_AudioInputDeviceCategory

 

DirectShow Filters

Using the MPEG-2 Splitter