GES.TransitionClip

g GES.OperationClip GES.OperationClip GES.BaseTransitionClip GES.BaseTransitionClip GES.OperationClip->GES.BaseTransitionClip GES.MetaContainer GES.MetaContainer GES.TimelineElement GES.TimelineElement GES.MetaContainer->GES.TimelineElement GES.Container GES.Container GES.Clip GES.Clip GES.Container->GES.Clip GObject.GInterface GObject.GInterface GObject.GInterface->GES.MetaContainer GES.Extractable GES.Extractable GObject.GInterface->GES.Extractable GObject.Object GObject.Object GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.Object->GObject.InitiallyUnowned GES.TransitionClip GES.TransitionClip GES.BaseTransitionClip->GES.TransitionClip GObject.InitiallyUnowned->GES.TimelineElement GES.Clip->GES.OperationClip GES.TimelineElement->GES.Container GES.Extractable->GES.TimelineElement

Subclasses:None

Properties

Inherited:GES.Clip (2), GES.Container (1), GES.TimelineElement (9)
Name Type Flags Short Description
vtype GES.VideoStandardTransitionType r/w/c The SMPTE video wipe to use, or 0 for crossfade

Fields

Inherited:GES.Container (2), GES.TimelineElement (1), GObject.Object (1), GES.MetaContainer (1)
Name Type Access Description
parent GES.BaseTransitionClip r  
vtype GES.VideoStandardTransitionType r a GES.VideoStandardTransitionType indicating the type of video transition to apply.

Class Details

class GES.TransitionClip(**kwargs)
Bases:GES.BaseTransitionClip
Abstract:No
Structure:GES.TransitionClipClass

Creates an object that mixes together the two underlying objects, A and B. The A object is assumed to have a higher prioirity (lower number) than the B object. At the transition in point, only A will be visible, and by the end only B will be visible.

The shape of the video transition depends on the value of the “vtype” property. The default value is “crossfade”. For audio, only “crossfade” is supported.

The ID of the ExtractableType is the nickname of the vtype property value. Note that this value can be changed after creation and the GES.Extractable.asset value will be updated when needed.

classmethod new(vtype)[source]
Parameters:vtype (GES.VideoStandardTransitionType) – the type of transition to create
Returns:a newly created GES.TransitionClip, or None if something went wrong.
Return type:GES.TransitionClip or None

Creates a new GES.TransitionClip.

classmethod new_for_nick(nick)[source]
Parameters:nick (str) – a string representing the type of transition to create
Returns:The newly created GES.TransitionClip, or None if something went wrong
Return type:GES.TransitionClip or None

Creates a new GES.TransitionClip for the provided nick.

Property Details

GES.TransitionClip.props.vtype
Name:vtype
Type:GES.VideoStandardTransitionType
Default Value:GES.VideoStandardTransitionType.CROSSFADE
Flags:READABLE, WRITABLE, CONSTRUCT

a GES.VideoStandardTransitionType representing the wipe to use