Microsoft MPEG-2 Encoder
The Microsoft MPEG-2 Encoder filter encodes MPEG-2 audio and video and multiplexes the streams to generate an MPEG-2 program stream or transport stream.
This filter is not supported on IA-64-based platforms.
Input Pin Media Types
Input Pin Interfaces
Output Pin Media Types
Output Pin Interfaces
CLSID_CMPEG2EncoderDS (declared in wmcodecdsp.h)
This filter combines the encoding functionality of two other filters:
Except as noted, this filter supports the same encoding features as those two encoders.
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. Each input pin supports the same media types as the corresponding encoder filter.
If only one input pin is connected, the filter supports the same output types as the corresponding audio or video encoder. If both pins are connected, the filter supports the following kinds of output:
- Audio-visual in an MPEG-2 program stream
- Audio-visual in an MPEG-2 transport stream
These correspond to the following output types:
- MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_PROGRAM
- MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_TRANSPORT
This filter cannot multiplex streams that were previously encoded. The input streams must be uncompressed audio/video, which the filter encodes before multiplexing. The multiplexed stream is limited to one program, containing up to one audio and one video stream.
- The AVEncCommonMeanBitRate property sets the average bit rate for the video stream.
- The AVEncAudioMeanBitRate property sets the average bit rate for the audio stream.
|Minimum supported client
||Windows Vista Home Premium, Windows Vista Ultimate, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Enterprise, Windows 7 Ultimate [desktop apps only]
|Minimum supported server