IAMTimelineTrans interface

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

Note

[Deprecated. This API may be removed from future releases of Windows.]

 

The IAMTimelineTrans interface provides methods for manipulating transitions in DirectShow Editing Services (DES). A transition is a progression between one video layer and the rendered composite of all video layers with a lower priority. A transition can be added to any timeline object that exposes the IAMTimelineTransable interface. To set properties on a transition, use the IPropertySetter interface.

The DES transition object is actually a wrapper for a DirectX Transform object. Any 2-input DirectX Transform object can be used to implement the visual effect for the transition. Microsoft no longer supports the development of third-party DirectX Transform objects. To specify the DirectX Transform object for a transition, call the IAMTimelineObj::SetSubObjectGUID method.

To create a transition object, call IAMTimeline::CreateEmptyNode with the value TIMELINE_MAJOR_TYPE_TRANSITION. You can query the returned IAMTimelineObj pointer for the IAMTimelineTrans interface.

Members

The IAMTimelineTrans interface inherits from the IUnknown interface. IAMTimelineTrans also has these types of members:

Methods

The IAMTimelineTrans interface has these methods.

Method Description
GetCutPoint Retrieves the cut point.
GetCutPoint2 Retrieves the cut point, as a REFTIME value.
GetCutsOnly Determines whether the transition is rendered as a cut.
GetSwapInputs Retrieves a value that indicates whether the transition inputs are swapped.
SetCutPoint Sets the cut point.
SetCutPoint2 Sets the cut point, as a REFTIME value.
SetCutsOnly Specifies whether the transition is rendered as a cut.
SetSwapInputs Specifies whether the transition inputs are swapped.

 

Remarks

Note

The header file Qedit.h is not compatible with Direct3D headers later than version 7.

 

Note

To obtain Qedit.h, download the Microsoft Windows SDK Update for Windows Vista and .NET Framework 3.0. Qedit.h is not available in the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.

 

Requirements

Requirement Value
Header
Qedit.h
Library
Strmiids.lib

See also

Working with Effects and Transitions