Rediger

Del via


Interfaces for Controlling a Filter Graph

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

These interfaces provide methods for controlling a filter graph.

Interface Description
IAMClockAdjust Adjust the graph clock.
IAMGraphStreams Synchronize live streams in a filter graph.
IFilterChain Control chains of filters.
IMediaControl Run, pause, and stop the filter graph. (Also provides Automation-compatible methods for building graphs.)
IMediaEventEx Respond to events in the graph.
IMediaSeeking Seek within a file.
IQueueCommand Queue commands to run at a later time.
IVideoFrameStep Frame-step through a video stream.