GESTimelineStandardTransition

GESTimelineStandardTransition — Transition from one clip to another in a GESTimelineLayer

Synopsis

#include <ges/ges.h>

                    GESTimelineStandardTransition;
GESTimelineStandardTransition * ges_timeline_standard_transition_new
                                                        (GESVideoStandardTransitionType vtype);
GESTimelineStandardTransition * ges_timeline_standard_transition_new_for_nick
                                                        (char *nick);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GESTimelineObject
               +----GESTimelineOperation
                     +----GESTimelineTransition
                           +----GESTimelineStandardTransition

Properties

  "vtype"                    GESVideoStandardTransitionType  : Read / Write / Construct

Description

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.

GESSimpleTimelineLayer will automatically manage the priorities of sources and transitions. If you use GESTimelineStandardTransitions in another type of GESTimelineLayer, you will need to manage priorities yourself.

Details

GESTimelineStandardTransition

typedef struct {
  GESVideoStandardTransitionType vtype;
} GESTimelineStandardTransition;

GESVideoStandardTransitionType vtype;

a GESVideoStandardTransitionType indicating the type of video transition to apply.

ges_timeline_standard_transition_new ()

GESTimelineStandardTransition * ges_timeline_standard_transition_new
                                                        (GESVideoStandardTransitionType vtype);

Creates a new GESTimelineStandardTransition.

vtype :

the type of transition to create

Returns :

a newly created GESTimelineStandardTransition, or NULL if something went wrong.

ges_timeline_standard_transition_new_for_nick ()

GESTimelineStandardTransition * ges_timeline_standard_transition_new_for_nick
                                                        (char *nick);

Creates a new GESTimelineStandardTransition for the provided nick.

nick :

a string representing the type of transition to create

Returns :

The newly created GESTimelineStandardTransition, or NULL if something went wrong

Property Details

The "vtype" property

  "vtype"                    GESVideoStandardTransitionType  : Read / Write / Construct

a GESVideoStandardTransitionType representing the wipe to use

Default value: Crossfade between two clips