LEADTOOLS Transforms Help > Filters, Codecs and Interfaces > Media Sources and Media Sinks > Media Sources > 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:
Transform Interfaces |
|
Interface ID |
IID_ILMFMpgSource |
Input Media Types |
Type: Subtypes: |
Output Media Types |
Depends on the type of data being parsed. The most common output media types are: Type: Subtypes: Type: Subtype: Type: Subtypes: |
Media Source ByteStream Handler CLSID |
CLSID_MFMPEG2ByteStreamHandlerT |
Property Page CLSID |
N/A |
Executable |
LMMFMpgSourceT.dll |
Header |
ILMFMpgSourceT.h |
Win 32, x64