LEADTOOLS Filters Help > Filters, Codecs and Interfaces > Video Codecs > MPEG-2 > LEAD MPEG-2 Decoder (2.0) |
The LEAD MPEG-2 Decoder Filter is a DirectShow® filter for decompressing video data that was compressed using the MPEG-2 (ISO/IEC 13818-2) or MPEG-1 (ISO 11172-2) standard. For more information on the MPEG-2 compression algorithm, refer to LEAD MPEG-2 Encoder Filter.
The LEAD MPEG-2 Decoder is capable of decoding all profiles, including the High Profile with the 4:2:2 Chroma format.
The LEAD MPEG-2 Decoder is also capable of parsing Closed Captioning data embedded inside the mpeg2 video stream, in accordance with the ANSI/CEA-608-E and CEA-708-D standards. The decoder has two output pins: one for uncompressed video and the other for Closed Captioning data. To render the closed captioning pin, use the Line21 decoder filter which is shipped with the Windows OS. To display Closed Captioning data, connect to a Line 21 Decoder Filter which is in turn connected to the video renderer. Only those mpeg2 video streams having Closed Captioning data output Closed Captioning data.
For more details regarding decoding Close Captioning data, search for the "Line 21 Decoder Filter" topic on msdn.
Technical details for the filter are provided in the following table:
Filter Interfaces |
N/A |
Interface ID |
N/A |
Input Media Types |
Type: |
Output Media Types |
Type: Depends on the mpeg2 video elementary stream being decoded. The decoder can parse a closed captioning stream: Type: MEDIATYPE_AUXLine21Data Subtypes: MEDIASUBTYPE_Line21_BytePair |
Filter CLSID |
CLSID_LMMPEG2Decoder |
Property Page CLSID |
N/A |
Executable |
LDecMpg22.dll, |
Filter category |
CLSID_LegacyAmFilterCategory |
Header |
N/A |
Win32, x64, Mobile
This filter is included as part of the following modules:
LEAD MPEG-2 Video Decoder Module
LEAD MPEG-2 Video Encoder Module
LEAD MPEG-2 Video Codec Module