IVMRVideoStreamControl 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.]
The IVMRVideoStreamControl
interface is implemented on each input pin of the Video Mixing Renderer Filter 7 (VMR-7). The interface operates on the input stream represented by the pin. This interface is used by upstream filters (typically decoders) to get or set the active state of individual streams, or the source color key for the composited image. Applications in general should not use this interface.
The VMR-9 input pins expose the IVMRVideoStreamControl9 interface.
Inheritance
The IVMRVideoStreamControl interface inherits from the IUnknown interface. IVMRVideoStreamControl also has these types of members:
Methods
The IVMRVideoStreamControl interface has these methods.
IVMRVideoStreamControl::GetColorKey The GetColorKey method retrieves the source color key currently set for this stream. |
IVMRVideoStreamControl::GetStreamActiveState The GetStreamActiveState method retrieves the state of the stream. |
IVMRVideoStreamControl::SetColorKey The SetColorKey method sets the source color key that the VMR will use when compositing the video image. |
IVMRVideoStreamControl::SetStreamActiveState The SetStreamActiveState method activates or inactivates an input stream. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |