Microsoft MPEG-2 Encoder
Microsoft DirectShow 9.0 |
Microsoft MPEG-2 Encoder
Encodes MPEG-2 audio and video.
Filter Interfaces | IBaseFilter |
Input Pin Media Types | MEDIATYPE_Audio, MEDIASUBTYPE_PCM
MEDIATYPE_Video, MEDIASUBTYPE_IYUV MEDIATYPE_Video, MEDIASUBTYPE_I420 |
Input Pin Interfaces | IMemInputPin |
Output Pin Media Types | MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_AUDIO
MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_PROGRAM MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_TRANSPORT |
Output Pin Interfaces | IMediaSeeking |
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:
- AVAudioChannelCount
- AVAudioSampleRate
- AVEncAudioIntervalToEncode
- AVEncCodecType
- AVEncCommonBufferInLevel
- AVEncCommonBufferOutLevel
- AVEncCommonBufferSize
- AVEncCommonFormatConstraint
- AVEncCommonMaxBitRate
- AVEncCommonMeanBitRate
- AVEncCommonMeanBitRateInterval
- AVEncCommonMinBitRate
- AVEncCommonMultipassMode
- AVEncCommonQuality
- AVEncCommonQualityVsSpeed
- AVEncCommonRateControlMode
- AVEncCommonStreamEndHandling
- AVEncInputVideoSystem
- AVEncMPACodingMode
- AVEncMPACopyright
- AVEncMPAEmphasisType
- AVEncMPAEnableRedundancyProtection
- AVEncMPALayer
- AVEncMPAOriginalBitstream
- AVEncMPAPrivateUserBit
- AVEncMPVDefaultBPictureCount
- AVEncMPVFrameFieldMode
- AVEncMPVGenerateHeaderSeqDispExt
- AVEncMPVGenerateHeaderSeqExt
- AVEncMPVGOPOpen
- AVEncMPVGOPSInSeq
- AVEncMPVGOPSize
- AVEncMPVIntraDCPrecision
- AVEncMPVLevel
- AVEncMPVProfile
- AVEncStatVideoOutputFrameRate
- AVEncVideoDefaultUpperFieldDominant
- AVEncVideoDisplayDimension
- AVEncVideoForceSourceScanType
- AVEncVideoInputChromaResolution
- AVEncVideoInputChromaSubsampling
- AVEncVideoInputColorNominalRange
- AVEncVideoInputColorPrimaries
- AVEncVideoInputColorTransferFunction
- AVEncVideoInputColorTransferMatrix
- AVEncVideoMaxKeyframeDistance
- AVEncVideoNoOfFieldsToEncode
- AVEncVideoNoOfFieldsToSkip
- AVEncVideoOutputChromaResolution
- AVEncVideoOutputFrameRate
- AVEncVideoOutputScanType
- AVEncVideoPixelAspectRatio
- AVEncVideoSourceIsBW
Requirements
Client: Requires Windows Vista Home Premium or Windows Vista Ultimate.
Header: Include wmcodecdsp.h.
See Also