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.
The decoder can use Intel Quick Sync Video hardware acceleration for compression once the libmfxsw32/64.dll is installed properly. For more information, refer to LEAD H264 Encoder 4.0.
The decoder can use NVIDIA CUDA hardware acceleration on computers with NVIDIA graphics cards with CUDA capabilities. You do not need to install anything; hardware acceleration will be used automatically if possible. For more information, refer to Using H264 Encoder on NVIDIA GPUs.
Technical details for the filter are provided in the following table:
Component | Description |
---|---|
Filter Interfaces | ILMMPEG2Decoder |
Interface ID | IID_ILMMPEG2Decoder |
Input Media Types | Type: |
MEDIATYPE_Video | |
Subtypes: | |
MEDIASUBTYPE_MPEG2_VIDEO | |
MEDIASUBTYPE_LMPG2 | |
Output Media Types | Type: |
MEDIATYPE_Video | |
Subtype: | |
MEDIASUBTYPE_YV12 | |
MEDIASUBTYPE_YUY2 | |
MEDIASUBTYPE_UYVY | |
MEDIASUBTYPE_RGB32 | |
MEDIASUBTYPE_RGB24 | |
MEDIASUBTYPE_RGB565 | |
MEDIASUBTYPE_RGB555 | |
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 | CLSID_LMMPEG2DecoderProperty |
Executable | LDecMpg22.dll, DSKernel2.dll |
Filter Category | CLSID_LegacyAmFilterCategory |
Header | ILDecMPEG2.h |
This filter is included as part of the following modules:
Win32, x64, Mobile.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document