IVideoEncoder interface (strmif.h)

[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.]

[IVideoEncoder may be altered or unavailable in

subsequent versions.]

The IVideoEncoder interface is optionally exposed by video encoder filters.

Inheritance

The IVideoEncoder interface inherits from the IEncoderAPI interface.

Remarks

The original purpose of this interface was to enable application to determine whether a filter was a video decoder, by calling QueryInterface for the IVideoEncoder interface. The application could then use the IEncoderAPI interface (which IVideoEncoder inherits) to set properties on the encoder. However, IEncoderAPI is deprecated. Encoder filters should expose ICodecAPI instead, and applications should use ICodecAPI to configure encoders.

Requirements

Requirement Value
Target Platform Windows
Header strmif.h

See also

Deprecated Interfaces

IEncoderAPI