Muokkaa

Jaa


DV Video 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 filter decodes a digital video (DV) stream into uncompressed video.

Label Value
Filter Interfaces IBaseFilter, IDVRGB219, IIPDVDec, IPersistStream, ISpecifyPropertyPages
Input Pin Media Types
  • MEDIATYPE_Video
  • MEDIASUBTYPE_dvsd
  • FORMAT_VideoInfo, FORMAT_DvInfo
Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types Major type: MEDIATYPE_VideoSubtypes:
  • MEDIASUBTYPE_YUY2
  • MEDIASUBTYPE_UYVY
  • MEDIASUBTYPE_RGB24
  • MEDIASUBTYPE_RGB32
  • MEDIASUBTYPE_ARGB32
  • MEDIASUBTYPE_RGB565
  • MEDIASUBTYPE_RGB555
  • MEDIASUBTYPE_RGB8
  • MEDIASUBTYPE_Y41P
Format types:
Format_VideoInfo, Format_VideoInfo2
Output Pin Interfaces IMediaPosition, IMediaSeeking, IPin, IQualityControl
Filter CLSID CLSID_DVVideoCodec
Property Page CLSID CLSID_DVDecPropertiesPage
Executable qdv.dll
Merit MERIT_NORMAL
Filter Category CLSID_LegacyAmFilterCategory

Remarks

Use the IIPDVDec interface to set the decoding resolution to full, half size, quarter size, or one-eighth size.

Interlacing: Earlier versions of the decoder always deinterlace the video. As of DirectX 9.0, the DV Video Decoder can preserve the interlacing. This enables the interlaced video to be deinterlaced by the Video Mixing Renderer (VMR), for improved rendering quality. To use this feature, the downstream filter must support VIDEOINFOHEADER2 formats, indicated by that value Format_VideoInfo2 in the formattype member of the AM_MEDIA_TYPE structure. At full resolution output, the deinterlacing flags (dwInterlace) in the VIDEOINFOHEADER2 structure are set to AMINTERLACE_IsInterlaced | AMINTERLACE_DisplayModeBobOrWeave, indicating interlaced fields. At half resolution or lower, dwInterlace is set to zero, indicating progressive frames.

DirectShow Filters

Digital Video in DirectShow