Frame Stepping Property Set

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

Decoders that implement frame-accurate seeking under Microsoft DirectShow must implement the AM_KSPROPSETID_FrameStep property set, which is used in conjunction with the IVideoFrameStep interface.

Label Value
Property Set GUID AM_KSPROPSETID_FrameStep

 

Property ID Description
AM_PROPERTY_FRAMESTEP_STEP Instructs the decoder to begin a step operation and passes an AM_PROPERTY_FRAMESTEP structure that specifies the number of steps.
AM_PROPERTY_FRAMESTEP_CANCEL Instructs the decoder to cancel the current step operation. No instance data is associated with this property.
AM_PROPERTY_FRAMESTEP_CANSTEP The decoder returns S_OK on this instruction to indicate that it can perform frame stepping, S_FALSE otherwise. No instance data is passed when this property is set.
AM_PROPERTY_FRAMESTEP_CANSTEPMULTIPLE The decoder returns S_OK on this instruction to indicate that it can step multiple frames at a time, S_FALSE otherwise. No instance data is passed when this property is set.

 

Property Sets