GESTimelineStandardTransition

GESTimelineStandardTransition — Transition from one clip to another in a GESTimelineLayer

Functions

Properties

GESVideoStandardTransitionType vtype Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GESTimelineObject
            ╰── GESTimelineOperation
                ╰── GESTimelineTransition
                    ╰── GESTimelineStandardTransition

Includes

#include <ges/ges.h>

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.

Functions

ges_timeline_standard_transition_new ()

GESTimelineStandardTransition *
ges_timeline_standard_transition_new (GESVideoStandardTransitionType vtype);

Creates a new GESTimelineStandardTransition.

Parameters

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 .

Parameters

nick

a string representing the type of transition to create

 

Returns

The newly created GESTimelineStandardTransition, or NULL if something went wrong

Types and Values

GESTimelineStandardTransition

typedef struct {
  GESVideoStandardTransitionType vtype;
} GESTimelineStandardTransition;

Members

GESVideoStandardTransitionType vtype;

a GESVideoStandardTransitionType indicating the type of video transition to apply.

 

Property Details

The “vtype” property

  “vtype”                    GESVideoStandardTransitionType

a GESVideoStandardTransitionType representing the wipe to use

Flags: Read / Write / Construct

Default value: Crossfade between two clips