Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Filters Help

LEAD MPEG-2 Decoder (2.0)

Show in webframe

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:
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

N/A

Executable

LDecMpg22.dll,

DSKernel2.dll

Filter category

CLSID_LegacyAmFilterCategory

Header

N/A

Platforms

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.