Line 21 Decoder Filter
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
This component is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.
This Line 21 Decoder filter decodes line 21 data and draws the caption text onto bitmaps.
The input pin connects to any line 21 data provider, typically either a DVD video decoder or the CC Decoder filter. The CC Decoder provides line 21 data from the VBI of an analog television signal. The output pin connects to a secondary pin on the Overlay Mixer or to another video renderer, such as the VMR.
This filter accepts line 21 data in the standard byte-pair format or, for DVD, as a packet for the whole group of pictures (GOP). For every GOP in the DVD video stream, there can be a user data packet that has that particular GOP's header information and line 21 data. The format of the byte pairs is defined in the EIA/CEA-608-B standard; please refer to that standard for more information.
Two versions of this filter are available:
Filter | CLSID |
---|---|
Line 21 Decoder | CLSID_Line21Decoder |
Line 21 Decoder 2 | CLSID_Line21Decoder2 |
The version 1 filter is used on Microsoft® Windows® 95/98/Me and Windows 2000 platforms. The version 2 filter is available in Microsoft Windows XP and later, and is used whenever the Video Mixing Renderer is in the graph.
The information in the following table applies to both versions of the filter:
Label | Value |
---|---|
Filter Interfaces | IAMLine21Decoder, IBaseFilter |
Input Pin Media Types | Major Type: MEDIATYPE_AUXLine21DataSubtype:
|
Input Pin Interfaces | IMemInputPin, IPin, IQualityControl |
Output Pin Media Types | Major type: MEDIATYPE_VideoSubtype:
|
Output Pin Interfaces | IMediaPosition, IMediaSeeking, IPin, IQualityControl |
Filter CLSID | See previous table |
Property Page CLSID | None |
Executable | qdvd.dll |
Merit | Line 21 Decoder: MERIT_NORMALLine 21 Decoder 2: MERIT_NORMAL + 2 |
Filter Category | CLSID_LegacyAmFilterCategory |
Related topics