Freigeben über


Microsoft MPEG-2 Encoder

 
Microsoft DirectShow 9.0

Microsoft MPEG-2 Encoder

Encodes MPEG-2 audio and video.

Filter Interfaces IBaseFilter

ICodecAPI

IMediaSeeking

Input Pin Media Types MEDIATYPE_Audio, MEDIASUBTYPE_PCM

MEDIATYPE_Video, MEDIASUBTYPE_IYUV

MEDIATYPE_Video, MEDIASUBTYPE_I420

Input Pin Interfaces IMemInputPin

IPin

IQualityControl

Output Pin Media Types MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_AUDIO

MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_PROGRAM

MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_TRANSPORT

Output Pin Interfaces IMediaSeeking

IPin

IQualityControl

Filter CLSID CLSID_CMPEG2EncoderDS
Executable msmpeg2enc.dll
Merit MERIT_DO_NOT_USE
Filter Category CLSID_LegacyAmFilterCategory

Remarks

Initially the filter has one input pin, which can accept audio or video input. When that pin is connected, the filter creates a second input pin. If the first input pin receives audio, the second input pin accepts only video, and vice versa.

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