共用方式為


Microsoft MPEG-2 Video Decoder

 
Microsoft DirectShow 9.0

Microsoft MPEG-2 Video Decoder

Decodes MPEG-2 video.

Filter Interfaces IAMDecoderCaps

IBaseFilter

ICodecAPI

Input Pin Media Types Video input pin:
  • MEDIATYPE_DVD_ENCRYPTED_PACK, MEDIASUBTYPE_MPEG2_VIDEO
  • MEDIATYPE_MPEG2_PES, MEDIASUBTYPE_MPEG2_VIDEO
  • MEDIATYPE_Video, MEDIASUBTYPE_MPEG1Packet
  • MEDIATYPE_Video, MEDIASUBTYPE_MPEG1Payload
  • MEDIATYPE_Video, MEDIASUBTYPE_MPEG2_VIDEO

Subpicture input pin:

  • MEDIATYPE_DVD_ENCRYPTED_PACK, MEDIASUBTYPE_DVD_SUBPICTURE
Input Pin Interfaces ICodecAPI

IKsPropertySet

IMemInputPin

IPin

IQualityControl

Output Pin Media Types Video output pin:
  • MEDIATYPE_Video, DXVA_ModeMPEG2_A (DXVA 1.0)
  • MEDIATYPE_Video, DXVA_ModeMPEG2_C (DXVA 1.0)
  • MEDIATYPE_Video, MEDIASUBTYPE_I420 (Software decode or DXVA2.0)
  • MEDIATYPE_Video, MEDIASUBTYPE_NV12 (Software decode or DXVA2.0)
  • MEDIATYPE_Video, MEDIASUBTYPE_YUY2 (Software decode or DXVA2.0)
  • MEDIATYPE_Video, MEDIASUBTYPE_IMC3 (DXVA2.0 only)
  • MEDIATYPE_Video, MEDIASUBTYPE_IMC4 (DXVA2.0 only)
  • MEDIATYPE_Video, MEDIASUBTYPE_S340 (DXVA2.0 only)
  • MEDIATYPE_Video, MEDIASUBTYPE_YV12 (DXVA2.0 only)

Line-21 output pin:

  • MEDIATYPE_AUXLine21Data, MEDIASUBTYPE_Line21_GOPPacket

Subpicture output pin:

  • MEDIATYPE_Video, MEDIASUBTYPE_AI44
  • MEDIATYPE_Video, MEDIASUBTYPE_ARGB32
  • MEDIATYPE_Video, MEDIASUBTYPE_ARGB4444
  • MEDIATYPE_Video, MEDIASUBTYPE_AYUV
Output Pin Interfaces IAMVideoAcceleratorNotify (video output pin only)

IKsPropertySet

IMediaSeeking

IPin

IQualityControl

Filter CLSID CLSID_CMPEG2VidDecoderDS
Executable msmpeg2vdec.dll
Merit MERIT_NORMAL - 1
Filter Category CLSID_LegacyAmFilterCategory

Remarks

This filter has two input pins and three output pins:

  • Video input
  • Subpicture input
  • Video ouput
  • Line-21 output
  • Subpicture output

The input pins support the following property sets through IKsPropertySet:

The input pins support the following properties through ICodecAPI:

The filter supports the following properties through ICodecAPI:

Requirements

Client: Requires Windows Vista Home Premium or Windows Vista Ultimate.

Header: Include wmcodecdsp.h.

See Also