In This Topic ▼

LEAD MPEG2 Transport Demultiplexer

The LEAD MPEG2 Transport Demultiplexer is a DirectShow filter that can parse the following types of streams:

  1. MPEG-2 Transport specified in ISO/IEC 13818-1
  2. MPEG-2 Program specified in ISO/IEC 13818-1
  3. MPEG-1 System specified in ISO/IEC 11172-1
  4. Elementary stream data (also known as raw video or raw audio data)

The first two formats are multiplexed formats, and they can contain video, audio and private data streams. The video compression can be MPEG1 (ISO/IEC 11172-2), MPEG2 (ISO/IEC 13818-1), MPEG4 (ISO/IEC 14496-2), H.264 (ISO/IEC 14496-10) or H.265 (ISO/IEC 23008-2). The audio compression can be MPEG1 (ISO/IEC 11172-3), AC3, LPCM or AAC.

The private data can be retrieved using the ILMMpgDmxCallback interface. The filter will create private data pins, but it is not necessary to render these pins in order to programmatically retrieve the private data packets. The filter also provides the ILMKlvParser interface, which can be used to parse KLV private data conforming to SMPTE 336M-2001. The demultiplexer works in pull mode and will connect to source filters that expose the IAsyncReader interface. The MPEG2 Transport Demultiplexer can play live MPEG2 Transport streams in pull mode (with DVR functionality) or in push mode (without DVR).

Under Windows 7, Media Player uses Windows Media Foundation modules to play MPEG2 Transport files. By default, Media Player will not use LEAD MPEG2 Transport Demultiplexer to play MPEG-2 Transport files. For troubleshooting in Windows 7, see Playing Media Player Files in Windows 7.

Technical details for the demultiplexer are provided in the following table:

Component Description
Filter Interfaces ILMMpgDmx
ILMKlvParser
Interface ID IID_ILMMpgDmx
IID_ILMKlvParser
Input Media Types Type:
MEDIATYPE_Stream
Subtypes:
MEDIASUBTYPE_NULL
MEDIASUBTYPE_MPEG2_PROGRAM
MEDIASUBTYPE_MPEG1Video
MEDIASUBTYPE_MPEG1System
MEDIASUBTYPE_UDPStream
MEDIASUBTYPE_MPEG1Audio
MEDIASUBTYPE_MPEG2_TRANSPORT
Output Media Types Depends on the type of data being parsed. The most common output media types are:
Type:
MEDIATYPE_Video
Subtypes:
MEDIASUBTYPE_MPEG2_VIDEO
MEDIASUBTYPE_L264
MEDIASUBTYPE_h264
MEDIASUBTYPE_h265
MEDIASUBTYPE_MP4V
Type:
MEDIATYPE_Audio
Subtype:
MEDIASUBTYPE_MPEG1AudioPayload
MEDIASUBTYPE_MPEGLAYER3
MEDIASUBTYPE_DOLBY_AC3
MEDIASUBTYPE_DVD_LPCM_AUDIO
MEDIASUBTYPE_AAC
MEDIASUBTYPE_SAMR (only for raw files)
Type:
MEDIATYPE_METADATA
Subtypes:
MEDIASUBTYPE_KLVA
MEDIASUBTYPE_PrivateData
Filter CLSID CLSID_LMMpgDmxT
Property Page CLSID CLSID_LMMpgDmxTPropertyPage (only for files with more than one program)
Executable LMMpgDmxT.dll, DSKernel2.dll
Filter category CLSID_LegacyAmFilterCategory
Header ILMMpgDmxT.h and ILMMpgDmxCommon.h

Comments

This filter is included as part of LEADTOOLS MPEG-2 Transport Module.

Platforms

Win32, x64, Mobile.

See Also

Help Version 22.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.