LEAD MPEG2 Transport Media Source

The LEAD MPEG2 Transport Media Source is a MediaFoundation transform 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 know 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) or H.264 (ISO/IEC 14496-10). The audio compression can be MPEG1 (ISO/IEC 11172-3), AC3, LPCM or AAC.

The private data can be retrieved using the ILMFMpgSourceCallback interface. The transform will create private data streams, but it is not necessary to render these streams in order to programmatically retrieve the private data packets. The transform also provides the ILMKlvParser interface, which can be used to parse KLV private data conforming to SMPTE 336M-2001.

Technical details for the Media Source are provided in the following table:

Resource Type Description
Transform Interfaces ILMFMpgSource, ILMKlvParser
Interface ID IID_ILMFMpgSource, 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
Type:
MEDIATYPE_Audio
Subtype:
MEDIASUBTYPE_MPEG1AudioPayload
MEDIASUBTYPE_MPEGLAYER3
MEDIASUBTYPE_DOLBY_AC3
MEDIASUBTYPE_DVD_LPCM_AUDIO
MEDIASUBTYPE_AAC
Type:
MEDIATYPE_METADATA
Subtypes:
MEDIASUBTYPE_KLVA
MEDIASUBTYPE_PrivateData
Media Source ByteStream Handler CLSID CLSID_MFMPEG2ByteStreamHandlerT
Property Page CLSID N/A
Executable LMMFMpgSourceT.dll
Header ILMFMpgSourceT.h
ILMFMpgSourceCommon.h

Platforms

Win 32, x64

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

LEADTOOLS Transforms C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.