GESTimeline

GESTimeline is the central object for any multimedia timeline.

Contains a list of GESLayer which users should use to arrange the various clips through time.

The output type is determined by the GESTrack that are set on the GESTimeline.

To save/load a timeline, you can use the ges_timeline_load_from_uri and ges_timeline_save_to_uri methods to use the default format. If you wish

Note that any change you make in the timeline will not actually be taken into account until you call the ges_timeline_commit method.

GESTimeline

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──GESTimeline

Implemented interfaces: GESExtractable, GESMetaContainer, GstChildProxy

Members

parent (GstBin) –
No description available
layers (GList *) –

A list of GESLayer sorted by priority NOTE: Do not modify.

tracks (GList *) –

A list of GESTrack sorted by priority NOTE: Do not modify.

Class structure

GESTimelineClass

Fields
parent_class (GstBinClass) –
No description available

GES.TimelineClass

Attributes
TimelineClass.parent_class (Gst.BinClass) –
No description available

GES.TimelineClass

GES.TimelineClass

Attributes
TimelineClass.parent_class (Gst.BinClass) –
No description available

GESTimeline

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──GESTimeline

Implemented interfaces: GESExtractable, GESMetaContainer, GstChildProxy

Members

parent (GstBin) –
No description available
layers ([ GESLayer ]) –

A list of GESLayer sorted by priority NOTE: Do not modify.

tracks ([ GESTrack ]) –

A list of GESTrack sorted by priority NOTE: Do not modify.

GESTimeline

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──GESTimeline

Implemented interfaces: GESExtractable, GESMetaContainer, GstChildProxy

GESTimeline

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──GESTimeline

Implemented interfaces: GESExtractable, GESMetaContainer, GstChildProxy

Members

parent (GstBin) –
No description available
layers ([ GESLayer ]) –

A list of GESLayer sorted by priority NOTE: Do not modify.

tracks ([ GESTrack ]) –

A list of GESTrack sorted by priority NOTE: Do not modify.

Constructors

ges_timeline_new

GESTimeline *
ges_timeline_new ()

Creates a new empty GESTimeline.

Returns ( [transfer: floating] ) –

The new timeline.

GES.Timeline.new

def GES.Timeline.new ():
    #python wrapper for 'ges_timeline_new'

Creates a new empty GES.Timeline.

Returns ( GES.Timeline ) –

The new timeline.

GES.Timeline

GES.Timeline
GES.Timeline ()

Creates a new empty GES.Timeline.

Returns

The new timeline.

GES.prototype.new

function GES.prototype.new(): {
    // javascript wrapper for 'ges_timeline_new'
}

Creates a new empty GES.Timeline.

Returns ( GES.Timeline ) –

The new timeline.

ges_timeline_new_audio_video

GESTimeline *
ges_timeline_new_audio_video ()

Creates a new GESTimeline containing a raw audio and a raw video track.

Returns ( [transfer: floating] ) –

The newly created GESTimeline.

GES.Timeline.new_audio_video

def GES.Timeline.new_audio_video ():
    #python wrapper for 'ges_timeline_new_audio_video'

Creates a new GES.Timeline containing a raw audio and a raw video track.

Returns ( GES.Timeline ) –

The newly created GES.Timeline.

GES.Timeline

GES.Timeline
GES.Timeline ()

Creates a new GES.Timeline containing a raw audio and a raw video track.

Returns

The newly created GES.Timeline.

GES.prototype.new_audio_video

function GES.prototype.new_audio_video(): {
    // javascript wrapper for 'ges_timeline_new_audio_video'
}

Creates a new GES.Timeline containing a raw audio and a raw video track.

Returns ( GES.Timeline ) –

The newly created GES.Timeline.

ges_timeline_new_from_uri

GESTimeline *
ges_timeline_new_from_uri (const gchar * uri)

Creates a timeline from the given URI.

Parameters:

uri

the URI to load from

Returns ( [transfer: floating] [nullable] ) –

A new timeline if the uri was loaded successfully, or NULL if the uri could not be loaded.

GES.Timeline.new_from_uri

@raises(GLib.GError)
def GES.Timeline.new_from_uri (uri):
    #python wrapper for 'ges_timeline_new_from_uri'

Creates a timeline from the given URI.

Parameters:

uri ( str ) –

the URI to load from

Returns ( GES.Timeline ) –

A new timeline if the uri was loaded successfully, or None if the uri could not be loaded.

GES.Timeline

GES.Timeline
GES.Timeline (string)

Creates a timeline from the given URI.

Parameters:

uri

the URI to load from

Returns

A new timeline if the uri was loaded successfully, or null if the uri could not be loaded.

GES.prototype.new_from_uri

function GES.prototype.new_from_uri(uri: String): {
    // javascript wrapper for 'ges_timeline_new_from_uri'
}

Creates a timeline from the given URI.

Parameters:

uri ( String ) –

the URI to load from

Returns ( GES.Timeline ) –

A new timeline if the uri was loaded successfully, or null if the uri could not be loaded.

Methods

ges_timeline_add_layer

gboolean
ges_timeline_add_layer (GESTimeline * timeline,
                        GESLayer * layer)

Add the layer to the timeline. The reference to the layer will be stolen by the timeline.

Parameters:

timeline

a GESTimeline

layer ( [transfer: floating] ) –

the GESLayer to add

Returns

TRUE if the layer was properly added, else FALSE.

GES.Timeline.add_layer

def GES.Timeline.add_layer (self, layer):
    #python wrapper for 'ges_timeline_add_layer'

Add the layer to the timeline. The reference to the layer will be stolen by the timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

layer ( GES.Layer ) –

the GES.Layer to add

Returns ( bool ) –

True if the layer was properly added, else False.

GES.Timeline.AddLayer

bool
GES.Timeline.AddLayer (GES.Layer)

Add the layer to the timeline. The reference to the layer will be stolen by the timeline.

Parameters:

layer

the GES.Layer to add

Returns

true if the layer was properly added, else false.

GES.prototype.add_layer

function GES.prototype.add_layer(layer: GES.Layer): {
    // javascript wrapper for 'ges_timeline_add_layer'
}

Add the layer to the timeline. The reference to the layer will be stolen by the timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

layer ( GES.Layer ) –

the GES.Layer to add

Returns ( Number ) –

true if the layer was properly added, else false.

ges_timeline_add_track

gboolean
ges_timeline_add_track (GESTimeline * timeline,
                        GESTrack * track)

Add a track to the timeline. The reference to the track will be stolen by the pipeline.

Parameters:

timeline

a GESTimeline

track ( [transfer: full] ) –

the GESTrack to add

Returns

TRUE if the track was properly added, else FALSE.

GES.Timeline.add_track

def GES.Timeline.add_track (self, track):
    #python wrapper for 'ges_timeline_add_track'

Add a track to the timeline. The reference to the track will be stolen by the pipeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

track ( GES.Track ) –

the GES.Track to add

Returns ( bool ) –

True if the track was properly added, else False.

GES.Timeline.AddTrack

bool
GES.Timeline.AddTrack (GES.Track)

Add a track to the timeline. The reference to the track will be stolen by the pipeline.

Parameters:

track

the GES.Track to add

Returns

true if the track was properly added, else false.

GES.prototype.add_track

function GES.prototype.add_track(track: GES.Track): {
    // javascript wrapper for 'ges_timeline_add_track'
}

Add a track to the timeline. The reference to the track will be stolen by the pipeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

track ( GES.Track ) –

the GES.Track to add

Returns ( Number ) –

true if the track was properly added, else false.

ges_timeline_append_layer

GESLayer *
ges_timeline_append_layer (GESTimeline * timeline)

Append a newly created GESLayer to timeline Note that you do not own any reference to the returned layer.

Parameters:

timeline

a GESTimeline

Returns ( [transfer: none] ) –

The newly created GESLayer, or the last (empty) GESLayer of timeline.

GES.Timeline.append_layer

def GES.Timeline.append_layer (self):
    #python wrapper for 'ges_timeline_append_layer'

Append a newly created GES.Layer to timeline Note that you do not own any reference to the returned layer.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( GES.Layer ) –

The newly created GES.Layer, or the last (empty) GES.Layer of timeline.

GES.Timeline.AppendLayer

GES.Layer
GES.Timeline.AppendLayer ()

Append a newly created GES.Layer to timeline Note that you do not own any reference to the returned layer.

Returns

The newly created GES.Layer, or the last (empty) GES.Layer of timeline.

GES.prototype.append_layer

function GES.prototype.append_layer(): {
    // javascript wrapper for 'ges_timeline_append_layer'
}

Append a newly created GES.Layer to timeline Note that you do not own any reference to the returned layer.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( GES.Layer ) –

The newly created GES.Layer, or the last (empty) GES.Layer of timeline.

ges_timeline_commit

gboolean
ges_timeline_commit (GESTimeline * timeline)

Commit all the pending changes of the clips contained in the timeline.

When changes happen in a timeline, they are not directly executed in the non-linear engine. Call this method once you are done with a set of changes and want it to be executed.

The commited signal will be emitted when the (possibly updated) GstPipeline is ready to output data again, except if the state of the timeline was GST_STATE_READY or GST_STATE_NULL.

Note that all the pending changes will automatically be executed when the timeline goes from GST_STATE_READY to GST_STATE_PAUSED, which usually is triggered by corresponding state changes in a containing GESPipeline.

You should not try to change the state of the timeline, seek it or add tracks to it during a commit operation, that is between a call to this function and after receiving the commited signal.

See ges_timeline_commit_sync if you don't want to bother with waiting for the signal.

Parameters:

timeline

a GESTimeline

Returns

TRUE if pending changes were commited or FALSE if nothing needed to be commited

GES.Timeline.commit

def GES.Timeline.commit (self):
    #python wrapper for 'ges_timeline_commit'

Commit all the pending changes of the clips contained in the timeline.

When changes happen in a timeline, they are not directly executed in the non-linear engine. Call this method once you are done with a set of changes and want it to be executed.

The commited signal will be emitted when the (possibly updated) Gst.Pipeline is ready to output data again, except if the state of the timeline was Gst.State.READY or Gst.State.NULL.

Note that all the pending changes will automatically be executed when the timeline goes from Gst.State.READY to Gst.State.PAUSED, which usually is triggered by corresponding state changes in a containing GES.Pipeline.

You should not try to change the state of the timeline, seek it or add tracks to it during a commit operation, that is between a call to this function and after receiving the commited signal.

See GES.Timeline.commit_sync if you don't want to bother with waiting for the signal.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( bool ) –

True if pending changes were commited or False if nothing needed to be commited

GES.Timeline.Commit

bool
GES.Timeline.Commit ()

Commit all the pending changes of the clips contained in the timeline.

When changes happen in a timeline, they are not directly executed in the non-linear engine. Call this method once you are done with a set of changes and want it to be executed.

The Commited signal will be emitted when the (possibly updated) Gst.Pipeline is ready to output data again, except if the state of the timeline was Gst.State.Ready or Gst.State.Null.

Note that all the pending changes will automatically be executed when the timeline goes from Gst.State.Ready to Gst.State.Paused, which usually is triggered by corresponding state changes in a containing GES.Pipeline.

You should not try to change the state of the timeline, seek it or add tracks to it during a commit operation, that is between a call to this function and after receiving the Commited signal.

See GES.Timeline.CommitSync if you don't want to bother with waiting for the signal.

Returns

true if pending changes were commited or false if nothing needed to be commited

GES.prototype.commit

function GES.prototype.commit(): {
    // javascript wrapper for 'ges_timeline_commit'
}

Commit all the pending changes of the clips contained in the timeline.

When changes happen in a timeline, they are not directly executed in the non-linear engine. Call this method once you are done with a set of changes and want it to be executed.

The commited signal will be emitted when the (possibly updated) Gst.Pipeline is ready to output data again, except if the state of the timeline was Gst.State.READY or Gst.State.NULL.

Note that all the pending changes will automatically be executed when the timeline goes from Gst.State.READY to Gst.State.PAUSED, which usually is triggered by corresponding state changes in a containing GES.Pipeline.

You should not try to change the state of the timeline, seek it or add tracks to it during a commit operation, that is between a call to this function and after receiving the commited signal.

See GES.prototype.commit_sync if you don't want to bother with waiting for the signal.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( Number ) –

true if pending changes were commited or false if nothing needed to be commited

ges_timeline_commit_sync

gboolean
ges_timeline_commit_sync (GESTimeline * timeline)

Commit all the pending changes of the GESClip contained in the timeline.

Will return once the update is complete, that is when the (possibly updated) GstPipeline is ready to output data again, or if the state of the timeline was GST_STATE_READY or GST_STATE_NULL.

This function will wait for any pending state change of the timeline by calling gst_element_get_state with a GST_CLOCK_TIME_NONE timeout, you should not try to change the state from another thread before this function has returned.

See ges_timeline_commit for more information.

Parameters:

timeline

a GESTimeline

Returns

TRUE if pending changes were commited or FALSE if nothing needed to be commited

GES.Timeline.commit_sync

def GES.Timeline.commit_sync (self):
    #python wrapper for 'ges_timeline_commit_sync'

Commit all the pending changes of the GES.Clip contained in the timeline.

Will return once the update is complete, that is when the (possibly updated) Gst.Pipeline is ready to output data again, or if the state of the timeline was Gst.State.READY or Gst.State.NULL.

This function will wait for any pending state change of the timeline by calling Gst.Element.get_state with a Gst.CLOCK_TIME_NONE timeout, you should not try to change the state from another thread before this function has returned.

See GES.Timeline.commit for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( bool ) –

True if pending changes were commited or False if nothing needed to be commited

GES.Timeline.CommitSync

bool
GES.Timeline.CommitSync ()

Commit all the pending changes of the GES.Clip contained in the timeline.

Will return once the update is complete, that is when the (possibly updated) Gst.Pipeline is ready to output data again, or if the state of the timeline was Gst.State.Ready or Gst.State.Null.

This function will wait for any pending state change of the timeline by calling Gst.Element.GetState with a Gst.Constants.CLOCK_TIME_NONE timeout, you should not try to change the state from another thread before this function has returned.

See GES.Timeline.Commit for more information.

Returns

true if pending changes were commited or false if nothing needed to be commited

GES.prototype.commit_sync

function GES.prototype.commit_sync(): {
    // javascript wrapper for 'ges_timeline_commit_sync'
}

Commit all the pending changes of the GES.Clip contained in the timeline.

Will return once the update is complete, that is when the (possibly updated) Gst.Pipeline is ready to output data again, or if the state of the timeline was Gst.State.READY or Gst.State.NULL.

This function will wait for any pending state change of the timeline by calling Gst.prototype.get_state with a Gst.CLOCK_TIME_NONE timeout, you should not try to change the state from another thread before this function has returned.

See GES.prototype.commit for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( Number ) –

true if pending changes were commited or false if nothing needed to be commited

ges_timeline_get_auto_transition

gboolean
ges_timeline_get_auto_transition (GESTimeline * timeline)

Gets whether transitions are automatically added when objects overlap or not.

Parameters:

timeline

a GESTimeline

Returns

TRUE if transitions are automatically added, else FALSE.

GES.Timeline.get_auto_transition

def GES.Timeline.get_auto_transition (self):
    #python wrapper for 'ges_timeline_get_auto_transition'

Gets whether transitions are automatically added when objects overlap or not.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( bool ) –

True if transitions are automatically added, else False.

GES.prototype.get_auto_transition

function GES.prototype.get_auto_transition(): {
    // javascript wrapper for 'ges_timeline_get_auto_transition'
}

Gets whether transitions are automatically added when objects overlap or not.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( Number ) –

true if transitions are automatically added, else false.

ges_timeline_get_duration

GstClockTime
ges_timeline_get_duration (GESTimeline * timeline)

Get the current duration of timeline

Parameters:

timeline

a GESTimeline

Returns

The current duration of timeline

GES.Timeline.get_duration

def GES.Timeline.get_duration (self):
    #python wrapper for 'ges_timeline_get_duration'

Get the current duration of timeline

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( int ) –

The current duration of timeline

GES.prototype.get_duration

function GES.prototype.get_duration(): {
    // javascript wrapper for 'ges_timeline_get_duration'
}

Get the current duration of timeline

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( Number ) –

The current duration of timeline

ges_timeline_get_element

GESTimelineElement *
ges_timeline_get_element (GESTimeline * timeline,
                          const gchar * name)

Gets a GESTimelineElement contained in the timeline

Parameters:

timeline

a GESTimeline

name
No description available
Returns ( [transfer: full] [nullable] ) –

The GESTimelineElement or NULL if not found.

GES.Timeline.get_element

def GES.Timeline.get_element (self, name):
    #python wrapper for 'ges_timeline_get_element'

Gets a GES.TimelineElement contained in the timeline

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

name ( str ) –
No description available
Returns ( GES.TimelineElement ) –

The GES.TimelineElement or None if not found.

GES.Timeline.GetElement

GES.TimelineElement
GES.Timeline.GetElement (string)

Gets a GES.TimelineElement contained in the timeline

Parameters:

name
No description available
Returns

The GES.TimelineElement or null if not found.

GES.prototype.get_element

function GES.prototype.get_element(name: String): {
    // javascript wrapper for 'ges_timeline_get_element'
}

Gets a GES.TimelineElement contained in the timeline

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

name ( String ) –
No description available
Returns ( GES.TimelineElement ) –

The GES.TimelineElement or null if not found.

ges_timeline_get_groups

GList *
ges_timeline_get_groups (GESTimeline * timeline)

Get the list of GESGroup present in the Timeline.

Parameters:

timeline

a GESTimeline

Returns ( [transfer: none] [element-type GESGroup] ) –

the list of GESGroup that contain clips present in the timeline's layers. Must not be changed.

GES.Timeline.get_groups

def GES.Timeline.get_groups (self):
    #python wrapper for 'ges_timeline_get_groups'

Get the list of GES.Group present in the Timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( [ GES.Group ] ) –

the list of GES.Group that contain clips present in the timeline's layers. Must not be changed.

GES.prototype.get_groups

function GES.prototype.get_groups(): {
    // javascript wrapper for 'ges_timeline_get_groups'
}

Get the list of GES.Group present in the Timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( [ GES.Group ] ) –

the list of GES.Group that contain clips present in the timeline's layers. Must not be changed.

ges_timeline_get_layer

GESLayer *
ges_timeline_get_layer (GESTimeline * timeline,
                        guint priority)

Retrieve the layer with priority as a priority

Parameters:

timeline

The GESTimeline to retrive a layer from

priority

The priority of the layer to find

Returns ( [transfer: full] [nullable] ) –

A GESLayer or NULL if no layer with priority was found

Since 1.6

GES.Timeline.get_layer

def GES.Timeline.get_layer (self, priority):
    #python wrapper for 'ges_timeline_get_layer'

Retrieve the layer with priority as a priority

Parameters:

timeline ( GES.Timeline ) –

The GES.Timeline to retrive a layer from

priority ( int ) –

The priority of the layer to find

Returns ( GES.Layer ) –

A GES.Layer or None if no layer with priority was found

Since 1.6

GES.Timeline.GetLayer

GES.Layer
GES.Timeline.GetLayer (uint)

Retrieve the layer with priority as a priority

Parameters:

priority

The priority of the layer to find

Returns

A GES.Layer or null if no layer with priority was found

Since 1.6

GES.prototype.get_layer

function GES.prototype.get_layer(priority: Number): {
    // javascript wrapper for 'ges_timeline_get_layer'
}

Retrieve the layer with priority as a priority

Parameters:

timeline ( GES.Timeline ) –

The GES.Timeline to retrive a layer from

priority ( Number ) –

The priority of the layer to find

Returns ( GES.Layer ) –

A GES.Layer or null if no layer with priority was found

Since 1.6

ges_timeline_get_layers

GList *
ges_timeline_get_layers (GESTimeline * timeline)

Get the list of GESLayer present in the Timeline.

Parameters:

timeline

a GESTimeline

Returns ( [transfer: full] [element-type GESLayer] ) –

the list of GESLayer present in the Timeline sorted by priority. The caller should unref each Layer once he is done with them.

GES.Timeline.get_layers

def GES.Timeline.get_layers (self):
    #python wrapper for 'ges_timeline_get_layers'

Get the list of GES.Layer present in the Timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( [ GES.Layer ] ) –

the list of GES.Layer present in the Timeline sorted by priority. The caller should unref each Layer once he is done with them.

GES.prototype.get_layers

function GES.prototype.get_layers(): {
    // javascript wrapper for 'ges_timeline_get_layers'
}

Get the list of GES.Layer present in the Timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( [ GES.Layer ] ) –

the list of GES.Layer present in the Timeline sorted by priority. The caller should unref each Layer once he is done with them.

ges_timeline_get_pad_for_track

GstPad *
ges_timeline_get_pad_for_track (GESTimeline * timeline,
                                GESTrack * track)

Search the GstPad corresponding to the given timeline's track.

Parameters:

timeline

The GESTimeline

track

The GESTrack

Returns ( [transfer: none] [nullable] ) –

The corresponding GstPad if it is found, or NULL if there is an error.

GES.Timeline.get_pad_for_track

def GES.Timeline.get_pad_for_track (self, track):
    #python wrapper for 'ges_timeline_get_pad_for_track'

Search the Gst.Pad corresponding to the given timeline's track.

Parameters:

timeline ( GES.Timeline ) –

The GES.Timeline

track ( GES.Track ) –

The GES.Track

Returns ( Gst.Pad ) –

The corresponding Gst.Pad if it is found, or None if there is an error.

GES.Timeline.GetPadForTrack

Gst.Pad
GES.Timeline.GetPadForTrack (GES.Track)

Search the Gst.Pad corresponding to the given timeline's track.

Parameters:

track

The GES.Track

Returns

The corresponding Gst.Pad if it is found, or null if there is an error.

GES.prototype.get_pad_for_track

function GES.prototype.get_pad_for_track(track: GES.Track): {
    // javascript wrapper for 'ges_timeline_get_pad_for_track'
}

Search the Gst.Pad corresponding to the given timeline's track.

Parameters:

timeline ( GES.Timeline ) –

The GES.Timeline

track ( GES.Track ) –

The GES.Track

Returns ( Gst.Pad ) –

The corresponding Gst.Pad if it is found, or null if there is an error.

ges_timeline_get_snapping_distance

GstClockTime
ges_timeline_get_snapping_distance (GESTimeline * timeline)

Gets the configured snapping distance of the timeline. See the documentation of the property snapping_distance for more information.

Parameters:

timeline

a GESTimeline

Returns

The snapping_distance property of the timeline

GES.Timeline.get_snapping_distance

def GES.Timeline.get_snapping_distance (self):
    #python wrapper for 'ges_timeline_get_snapping_distance'

Gets the configured snapping distance of the timeline. See the documentation of the property snapping_distance for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( int ) –

The snapping_distance property of the timeline

GES.prototype.get_snapping_distance

function GES.prototype.get_snapping_distance(): {
    // javascript wrapper for 'ges_timeline_get_snapping_distance'
}

Gets the configured snapping distance of the timeline. See the documentation of the property snapping_distance for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( Number ) –

The snapping_distance property of the timeline

ges_timeline_get_track_for_pad

GESTrack *
ges_timeline_get_track_for_pad (GESTimeline * timeline,
                                GstPad * pad)

Search the GESTrack corresponding to the given timeline's pad.

Parameters:

timeline

The GESTimeline

pad

The GstPad

Returns ( [transfer: none] [nullable] ) –

The corresponding GESTrack if it is found, or NULL if there is an error.

GES.Timeline.get_track_for_pad

def GES.Timeline.get_track_for_pad (self, pad):
    #python wrapper for 'ges_timeline_get_track_for_pad'

Search the GES.Track corresponding to the given timeline's pad.

Parameters:

timeline ( GES.Timeline ) –

The GES.Timeline

pad ( Gst.Pad ) –

The Gst.Pad

Returns ( GES.Track ) –

The corresponding GES.Track if it is found, or None if there is an error.

GES.Timeline.GetTrackForPad

GES.Track
GES.Timeline.GetTrackForPad (Gst.Pad)

Search the GES.Track corresponding to the given timeline's pad.

Parameters:

pad

The Gst.Pad

Returns

The corresponding GES.Track if it is found, or null if there is an error.

GES.prototype.get_track_for_pad

function GES.prototype.get_track_for_pad(pad: Gst.Pad): {
    // javascript wrapper for 'ges_timeline_get_track_for_pad'
}

Search the GES.Track corresponding to the given timeline's pad.

Parameters:

timeline ( GES.Timeline ) –

The GES.Timeline

pad ( Gst.Pad ) –

The Gst.Pad

Returns ( GES.Track ) –

The corresponding GES.Track if it is found, or null if there is an error.

ges_timeline_get_tracks

GList *
ges_timeline_get_tracks (GESTimeline * timeline)

Returns the list of GESTrack used by the Timeline.

Parameters:

timeline

a GESTimeline

Returns ( [transfer: full] [element-type GESTrack] ) –

A list of GESTrack. The caller should unref each track once he is done with them.

GES.Timeline.get_tracks

def GES.Timeline.get_tracks (self):
    #python wrapper for 'ges_timeline_get_tracks'

Returns the list of GES.Track used by the Timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( [ GES.Track ] ) –

A list of GES.Track. The caller should unref each track once he is done with them.

GES.prototype.get_tracks

function GES.prototype.get_tracks(): {
    // javascript wrapper for 'ges_timeline_get_tracks'
}

Returns the list of GES.Track used by the Timeline.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( [ GES.Track ] ) –

A list of GES.Track. The caller should unref each track once he is done with them.

ges_timeline_is_empty

gboolean
ges_timeline_is_empty (GESTimeline * timeline)

Check whether a GESTimeline is empty or not

Parameters:

timeline

a GESTimeline

Returns

TRUE if the timeline is empty FALSE otherwize

GES.Timeline.is_empty

def GES.Timeline.is_empty (self):
    #python wrapper for 'ges_timeline_is_empty'

Check whether a GES.Timeline is empty or not

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( bool ) –

True if the timeline is empty False otherwize

GES.Timeline.IsEmpty

bool
GES.Timeline.IsEmpty ()

Check whether a GES.Timeline is empty or not

Returns

true if the timeline is empty false otherwize

GES.prototype.is_empty

function GES.prototype.is_empty(): {
    // javascript wrapper for 'ges_timeline_is_empty'
}

Check whether a GES.Timeline is empty or not

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

Returns ( Number ) –

true if the timeline is empty false otherwize

ges_timeline_load_from_uri

gboolean
ges_timeline_load_from_uri (GESTimeline * timeline,
                            const gchar * uri)

Loads the contents of URI into the given timeline.

Parameters:

timeline

an empty GESTimeline into which to load the formatter

uri

The URI to load from

Returns

TRUE if the timeline was loaded successfully, or FALSE if the uri could not be loaded.

GES.Timeline.load_from_uri

@raises(GLib.GError)
def GES.Timeline.load_from_uri (self, uri):
    #python wrapper for 'ges_timeline_load_from_uri'

Loads the contents of URI into the given timeline.

Parameters:

timeline ( GES.Timeline ) –

an empty GES.Timeline into which to load the formatter

uri ( str ) –

The URI to load from

Returns ( bool ) –

True if the timeline was loaded successfully, or False if the uri could not be loaded.

GES.Timeline.LoadFromUri

bool
GES.Timeline.LoadFromUri (string)

Loads the contents of URI into the given timeline.

Parameters:

uri

The URI to load from

Returns

true if the timeline was loaded successfully, or false if the uri could not be loaded.

GES.prototype.load_from_uri

function GES.prototype.load_from_uri(uri: String): {
    // javascript wrapper for 'ges_timeline_load_from_uri'
}

Loads the contents of URI into the given timeline.

Parameters:

timeline ( GES.Timeline ) –

an empty GES.Timeline into which to load the formatter

uri ( String ) –

The URI to load from

Returns ( Number ) –

true if the timeline was loaded successfully, or false if the uri could not be loaded.

ges_timeline_remove_layer

gboolean
ges_timeline_remove_layer (GESTimeline * timeline,
                           GESLayer * layer)

Removes the layer from the timeline. The reference that the timeline holds on the layer will be dropped. If you wish to use the layer after calling this method, you need to take a reference before calling.

Parameters:

timeline

a GESTimeline

layer

the GESLayer to remove

Returns

TRUE if the layer was properly removed, else FALSE.

GES.Timeline.remove_layer

def GES.Timeline.remove_layer (self, layer):
    #python wrapper for 'ges_timeline_remove_layer'

Removes the layer from the timeline. The reference that the timeline holds on the layer will be dropped. If you wish to use the layer after calling this method, you need to take a reference before calling.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

layer ( GES.Layer ) –

the GES.Layer to remove

Returns ( bool ) –

True if the layer was properly removed, else False.

GES.Timeline.RemoveLayer

bool
GES.Timeline.RemoveLayer (GES.Layer)

Removes the layer from the timeline. The reference that the timeline holds on the layer will be dropped. If you wish to use the layer after calling this method, you need to take a reference before calling.

Parameters:

layer

the GES.Layer to remove

Returns

true if the layer was properly removed, else false.

GES.prototype.remove_layer

function GES.prototype.remove_layer(layer: GES.Layer): {
    // javascript wrapper for 'ges_timeline_remove_layer'
}

Removes the layer from the timeline. The reference that the timeline holds on the layer will be dropped. If you wish to use the layer after calling this method, you need to take a reference before calling.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

layer ( GES.Layer ) –

the GES.Layer to remove

Returns ( Number ) –

true if the layer was properly removed, else false.

ges_timeline_remove_track

gboolean
ges_timeline_remove_track (GESTimeline * timeline,
                           GESTrack * track)

Remove the track from the timeline. The reference stolen when adding the track will be removed. If you wish to use the track after calling this function you must ensure that you have a reference to it.

Parameters:

timeline

a GESTimeline

track

the GESTrack to remove

Returns

TRUE if the track was properly removed, else FALSE.

GES.Timeline.remove_track

def GES.Timeline.remove_track (self, track):
    #python wrapper for 'ges_timeline_remove_track'

Remove the track from the timeline. The reference stolen when adding the track will be removed. If you wish to use the track after calling this function you must ensure that you have a reference to it.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

track ( GES.Track ) –

the GES.Track to remove

Returns ( bool ) –

True if the track was properly removed, else False.

GES.Timeline.RemoveTrack

bool
GES.Timeline.RemoveTrack (GES.Track)

Remove the track from the timeline. The reference stolen when adding the track will be removed. If you wish to use the track after calling this function you must ensure that you have a reference to it.

Parameters:

track

the GES.Track to remove

Returns

true if the track was properly removed, else false.

GES.prototype.remove_track

function GES.prototype.remove_track(track: GES.Track): {
    // javascript wrapper for 'ges_timeline_remove_track'
}

Remove the track from the timeline. The reference stolen when adding the track will be removed. If you wish to use the track after calling this function you must ensure that you have a reference to it.

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

track ( GES.Track ) –

the GES.Track to remove

Returns ( Number ) –

true if the track was properly removed, else false.

ges_timeline_save_to_uri

gboolean
ges_timeline_save_to_uri (GESTimeline * timeline,
                          const gchar * uri,
                          GESAsset * formatter_asset,
                          gboolean overwrite)

Saves the timeline to the given location

Parameters:

timeline

a GESTimeline

uri

The location to save to

formatter_asset ( [allow-none] ) –

The formatter asset to use or NULL. If NULL, will try to save in the same format as the one from which the timeline as been loaded or default to the formatter with highest rank

overwrite

TRUE to overwrite file if it exists

Returns

TRUE if the timeline was successfully saved to the given location, else FALSE.

GES.Timeline.save_to_uri

@raises(GLib.GError)
def GES.Timeline.save_to_uri (self, uri, formatter_asset, overwrite):
    #python wrapper for 'ges_timeline_save_to_uri'

Saves the timeline to the given location

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

uri ( str ) –

The location to save to

formatter_asset ( GES.Asset ) –

The formatter asset to use or None. If None, will try to save in the same format as the one from which the timeline as been loaded or default to the formatter with highest rank

overwrite ( bool ) –

True to overwrite file if it exists

Returns ( bool ) –

True if the timeline was successfully saved to the given location, else False.

GES.Timeline.SaveToUri

bool
GES.Timeline.SaveToUri (string,
                        GES.Asset,
                        bool)

Saves the timeline to the given location

Parameters:

uri

The location to save to

formatter_asset

The formatter asset to use or null. If null, will try to save in the same format as the one from which the timeline as been loaded or default to the formatter with highest rank

overwrite

true to overwrite file if it exists

Returns

true if the timeline was successfully saved to the given location, else false.

GES.prototype.save_to_uri

function GES.prototype.save_to_uri(uri: String, formatter_asset: GES.Asset, overwrite: Number): {
    // javascript wrapper for 'ges_timeline_save_to_uri'
}

Saves the timeline to the given location

Parameters:

timeline ( GES.Timeline ) –

a GES.Timeline

uri ( String ) –

The location to save to

formatter_asset ( GES.Asset ) –

The formatter asset to use or null. If null, will try to save in the same format as the one from which the timeline as been loaded or default to the formatter with highest rank

overwrite ( Number ) –

true to overwrite file if it exists

Returns ( Number ) –

true if the timeline was successfully saved to the given location, else false.

ges_timeline_set_auto_transition

ges_timeline_set_auto_transition (GESTimeline * timeline,
                                  gboolean auto_transition)

Sets the layer to the given auto_transition. See the documentation of the property auto_transition for more information.

Parameters:

timeline

a GESLayer

auto_transition

whether the auto_transition is active

GES.Timeline.set_auto_transition

def GES.Timeline.set_auto_transition (self, auto_transition):
    #python wrapper for 'ges_timeline_set_auto_transition'

Sets the layer to the given auto_transition. See the documentation of the property auto_transition for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Layer

auto_transition ( bool ) –

whether the auto_transition is active

GES.prototype.set_auto_transition

function GES.prototype.set_auto_transition(auto_transition: Number): {
    // javascript wrapper for 'ges_timeline_set_auto_transition'
}

Sets the layer to the given auto_transition. See the documentation of the property auto_transition for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Layer

auto_transition ( Number ) –

whether the auto_transition is active

ges_timeline_set_snapping_distance

ges_timeline_set_snapping_distance (GESTimeline * timeline,
                                    GstClockTime snapping_distance)

Sets the snapping_distance of the timeline. See the documentation of the property snapping_distance for more information.

Parameters:

timeline

a GESLayer

snapping_distance

whether the snapping_distance is active

GES.Timeline.set_snapping_distance

def GES.Timeline.set_snapping_distance (self, snapping_distance):
    #python wrapper for 'ges_timeline_set_snapping_distance'

Sets the snapping_distance of the timeline. See the documentation of the property snapping_distance for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Layer

snapping_distance ( int ) –

whether the snapping_distance is active

GES.prototype.set_snapping_distance

function GES.prototype.set_snapping_distance(snapping_distance: Number): {
    // javascript wrapper for 'ges_timeline_set_snapping_distance'
}

Sets the snapping_distance of the timeline. See the documentation of the property snapping_distance for more information.

Parameters:

timeline ( GES.Timeline ) –

a GES.Layer

snapping_distance ( Number ) –

whether the snapping_distance is active

Signals

commited

commited_callback (GESTimeline * self,
                   gpointer user_data)

This signal will be emitted once the changes initiated by ges_timeline_commit have been executed in the backend. Use ges_timeline_commit_sync if you don't need to do anything in the meantime.

Parameters:

self
No description available
user_data
No description available

Flags: Run Last

commited

def commited_callback (self, user_data):
    #python callback for the 'commited' signal

This signal will be emitted once the changes initiated by GES.Timeline.commit have been executed in the backend. Use GES.Timeline.commit_sync if you don't need to do anything in the meantime.

Parameters:

self ( GES.Timeline ) –
No description available
user_data ( object ) –
No description available

Flags: Run Last

Commited

Commited_callback (GES.Timeline,
                   IntPtr)

This signal will be emitted once the changes initiated by GES.Timeline.Commit have been executed in the backend. Use GES.Timeline.CommitSync if you don't need to do anything in the meantime.

Parameters:

self
No description available
user_data
No description available

Flags: Run Last

commited

function commited_callback(self: GES.Timeline, user_data: Object): {
    // javascript callback for the 'commited' signal
}

This signal will be emitted once the changes initiated by GES.prototype.commit have been executed in the backend. Use GES.prototype.commit_sync if you don't need to do anything in the meantime.

Parameters:

self ( GES.Timeline ) –
No description available
user_data ( Object ) –
No description available

Flags: Run Last

group-added

group_added_callback (GESTimeline * self,
                      GESGroup * group,
                      gpointer user_data)

Will be emitted after a new group is added to to the timeline.

Parameters:

self
No description available
group

the GESGroup

user_data
No description available

Flags: Run First

group-added

def group_added_callback (self, group, user_data):
    #python callback for the 'group-added' signal

Will be emitted after a new group is added to to the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
group ( GES.Group ) –

the GES.Group

user_data ( object ) –
No description available

Flags: Run First

GroupAdded

GroupAdded_callback (GES.Timeline,
                     GES.Group,
                     IntPtr)

Will be emitted after a new group is added to to the timeline.

Parameters:

self
No description available
group

the GES.Group

user_data
No description available

Flags: Run First

group-added

function group_added_callback(self: GES.Timeline, group: GES.Group, user_data: Object): {
    // javascript callback for the 'group-added' signal
}

Will be emitted after a new group is added to to the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
group ( GES.Group ) –

the GES.Group

user_data ( Object ) –
No description available

Flags: Run First

group-removed

group_removed_callback (GESTimeline * self,
                        GESGroup * group,
                        GESContainer * children,
                        gpointer user_data)

Will be emitted after a group has been removed from the timeline.

Parameters:

self
No description available
group

the GESGroup

children ( [element-type GES.Container] [transfer: container] ) –

a list of GESContainer

user_data
No description available

Flags: Run First

group-removed

def group_removed_callback (self, group, children, user_data):
    #python callback for the 'group-removed' signal

Will be emitted after a group has been removed from the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
group ( GES.Group ) –

the GES.Group

children ( [ GES.Container ] ) –

a list of GES.Container

user_data ( object ) –
No description available

Flags: Run First

GroupRemoved

GroupRemoved_callback (GES.Timeline,
                       GES.Group,
                       GES.Container [],
                       IntPtr)

Will be emitted after a group has been removed from the timeline.

Parameters:

self
No description available
group

the GES.Group

children

a list of GES.Container

user_data
No description available

Flags: Run First

group-removed

function group_removed_callback(self: GES.Timeline, group: GES.Group, children: [ GES.Container ], user_data: Object): {
    // javascript callback for the 'group-removed' signal
}

Will be emitted after a group has been removed from the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
group ( GES.Group ) –

the GES.Group

children ( [ GES.Container ] ) –

a list of GES.Container

user_data ( Object ) –
No description available

Flags: Run First

layer-added

layer_added_callback (GESTimeline * self,
                      GESLayer * layer,
                      gpointer user_data)

Will be emitted after a new layer is added to the timeline.

Parameters:

self
No description available
layer

the GESLayer that was added to the timeline

user_data
No description available

Flags: Run First

layer-added

def layer_added_callback (self, layer, user_data):
    #python callback for the 'layer-added' signal

Will be emitted after a new layer is added to the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –

the GES.Layer that was added to the timeline

user_data ( object ) –
No description available

Flags: Run First

LayerAdded

LayerAdded_callback (GES.Timeline,
                     GES.Layer,
                     IntPtr)

Will be emitted after a new layer is added to the timeline.

Parameters:

self
No description available
layer

the GES.Layer that was added to the timeline

user_data
No description available

Flags: Run First

layer-added

function layer_added_callback(self: GES.Timeline, layer: GES.Layer, user_data: Object): {
    // javascript callback for the 'layer-added' signal
}

Will be emitted after a new layer is added to the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –

the GES.Layer that was added to the timeline

user_data ( Object ) –
No description available

Flags: Run First

layer-removed

layer_removed_callback (GESTimeline * self,
                        GESLayer * layer,
                        gpointer user_data)

Will be emitted after the layer was removed from the timeline.

Parameters:

self
No description available
layer

the GESLayer that was removed from the timeline

user_data
No description available

Flags: Run First

layer-removed

def layer_removed_callback (self, layer, user_data):
    #python callback for the 'layer-removed' signal

Will be emitted after the layer was removed from the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –

the GES.Layer that was removed from the timeline

user_data ( object ) –
No description available

Flags: Run First

LayerRemoved

LayerRemoved_callback (GES.Timeline,
                       GES.Layer,
                       IntPtr)

Will be emitted after the layer was removed from the timeline.

Parameters:

self
No description available
layer

the GES.Layer that was removed from the timeline

user_data
No description available

Flags: Run First

layer-removed

function layer_removed_callback(self: GES.Timeline, layer: GES.Layer, user_data: Object): {
    // javascript callback for the 'layer-removed' signal
}

Will be emitted after the layer was removed from the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –

the GES.Layer that was removed from the timeline

user_data ( Object ) –
No description available

Flags: Run First

select-tracks-for-object

GESTrack *
select_tracks_for_object_callback (GESTimeline * self,
                                   GESClip * clip,
                                   GESTrackElement * track_element,
                                   gpointer user_data)

Parameters:

self
No description available
clip

The GESClip on which track_element will land

track_element

The GESTrackElement for which to choose the tracks it should land into

user_data
No description available
Returns ( [transfer: full] [element-type GESTrack] ) –

a GPtrArray of GESTrack-s where that object should be added

Flags: Run Last

select-tracks-for-object

def select_tracks_for_object_callback (self, clip, track_element, user_data):
    #python callback for the 'select-tracks-for-object' signal

Parameters:

self ( GES.Timeline ) –
No description available
clip ( GES.Clip ) –

The GES.Clip on which track_element will land

track_element ( GES.TrackElement ) –

The GES.TrackElement for which to choose the tracks it should land into

user_data ( object ) –
No description available
Returns ( [ GES.Track ] ) –

a GLib.PtrArray of GES.Track-s where that object should be added

Flags: Run Last

SelectTracksForObject

GES.Track []
SelectTracksForObject_callback (GES.Timeline,
                                GES.Clip,
                                GES.TrackElement,
                                IntPtr)

Parameters:

self
No description available
clip

The GES.Clip on which track_element will land

track_element

The GES.TrackElement for which to choose the tracks it should land into

user_data
No description available
Returns

a GLib.PtrArray of GES.Track-s where that object should be added

Flags: Run Last

select-tracks-for-object

function select_tracks_for_object_callback(self: GES.Timeline, clip: GES.Clip, track_element: GES.TrackElement, user_data: Object): {
    // javascript callback for the 'select-tracks-for-object' signal
}

Parameters:

self ( GES.Timeline ) –
No description available
clip ( GES.Clip ) –

The GES.Clip on which track_element will land

track_element ( GES.TrackElement ) –

The GES.TrackElement for which to choose the tracks it should land into

user_data ( Object ) –
No description available
Returns ( [ GES.Track ] ) –

a GLib.PtrArray of GES.Track-s where that object should be added

Flags: Run Last

snapping-ended

snapping_ended_callback (GESTimeline * self,
                         GESTrackElement * object,
                         GESTrackElement * p0,
                         guint64 p1,
                         gpointer user_data)

Parameters:

self
No description available
object
No description available
p0
No description available
p1
No description available
user_data
No description available

Flags: Run Last

snapping-ended

def snapping_ended_callback (self, object, p0, p1, user_data):
    #python callback for the 'snapping-ended' signal

Parameters:

self ( GES.Timeline ) –
No description available
object ( GES.TrackElement ) –
No description available
p0 ( GES.TrackElement ) –
No description available
p1 ( int ) –
No description available
user_data ( object ) –
No description available

Flags: Run Last

SnappingEnded

SnappingEnded_callback (GES.Timeline,
                        GES.TrackElement,
                        GES.TrackElement,
                        long,
                        IntPtr)

Parameters:

self
No description available
object
No description available
p0
No description available
p1
No description available
user_data
No description available

Flags: Run Last

snapping-ended

function snapping_ended_callback(self: GES.Timeline, object: GES.TrackElement, p0: GES.TrackElement, p1: Number, user_data: Object): {
    // javascript callback for the 'snapping-ended' signal
}

Parameters:

self ( GES.Timeline ) –
No description available
object ( GES.TrackElement ) –
No description available
p0 ( GES.TrackElement ) –
No description available
p1 ( Number ) –
No description available
user_data ( Object ) –
No description available

Flags: Run Last

snapping-started

snapping_started_callback (GESTimeline * self,
                           GESTrackElement * object,
                           GESTrackElement * p0,
                           guint64 p1,
                           gpointer user_data)

Parameters:

self
No description available
object
No description available
p0
No description available
p1
No description available
user_data
No description available

Flags: Run Last

snapping-started

def snapping_started_callback (self, object, p0, p1, user_data):
    #python callback for the 'snapping-started' signal

Parameters:

self ( GES.Timeline ) –
No description available
object ( GES.TrackElement ) –
No description available
p0 ( GES.TrackElement ) –
No description available
p1 ( int ) –
No description available
user_data ( object ) –
No description available

Flags: Run Last

SnappingStarted

SnappingStarted_callback (GES.Timeline,
                          GES.TrackElement,
                          GES.TrackElement,
                          long,
                          IntPtr)

Parameters:

self
No description available
object
No description available
p0
No description available
p1
No description available
user_data
No description available

Flags: Run Last

snapping-started

function snapping_started_callback(self: GES.Timeline, object: GES.TrackElement, p0: GES.TrackElement, p1: Number, user_data: Object): {
    // javascript callback for the 'snapping-started' signal
}

Parameters:

self ( GES.Timeline ) –
No description available
object ( GES.TrackElement ) –
No description available
p0 ( GES.TrackElement ) –
No description available
p1 ( Number ) –
No description available
user_data ( Object ) –
No description available

Flags: Run Last

track-added

track_added_callback (GESTimeline * self,
                      GESTrack * track,
                      gpointer user_data)

Will be emitted after the track was added to the timeline.

Parameters:

self
No description available
track

the GESTrack that was added to the timeline

user_data
No description available

Flags: Run First

track-added

def track_added_callback (self, track, user_data):
    #python callback for the 'track-added' signal

Will be emitted after the track was added to the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
track ( GES.Track ) –

the GES.Track that was added to the timeline

user_data ( object ) –
No description available

Flags: Run First

TrackAdded

TrackAdded_callback (GES.Timeline,
                     GES.Track,
                     IntPtr)

Will be emitted after the track was added to the timeline.

Parameters:

self
No description available
track

the GES.Track that was added to the timeline

user_data
No description available

Flags: Run First

track-added

function track_added_callback(self: GES.Timeline, track: GES.Track, user_data: Object): {
    // javascript callback for the 'track-added' signal
}

Will be emitted after the track was added to the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
track ( GES.Track ) –

the GES.Track that was added to the timeline

user_data ( Object ) –
No description available

Flags: Run First

track-removed

track_removed_callback (GESTimeline * self,
                        GESTrack * track,
                        gpointer user_data)

Will be emitted after the track was removed from the timeline.

Parameters:

self
No description available
track

the GESTrack that was removed from the timeline

user_data
No description available

Flags: Run First

track-removed

def track_removed_callback (self, track, user_data):
    #python callback for the 'track-removed' signal

Will be emitted after the track was removed from the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
track ( GES.Track ) –

the GES.Track that was removed from the timeline

user_data ( object ) –
No description available

Flags: Run First

TrackRemoved

TrackRemoved_callback (GES.Timeline,
                       GES.Track,
                       IntPtr)

Will be emitted after the track was removed from the timeline.

Parameters:

self
No description available
track

the GES.Track that was removed from the timeline

user_data
No description available

Flags: Run First

track-removed

function track_removed_callback(self: GES.Timeline, track: GES.Track, user_data: Object): {
    // javascript callback for the 'track-removed' signal
}

Will be emitted after the track was removed from the timeline.

Parameters:

self ( GES.Timeline ) –
No description available
track ( GES.Track ) –

the GES.Track that was removed from the timeline

user_data ( Object ) –
No description available

Flags: Run First

Properties

Layers

GES.Layer [] Layers { get; set;  }

Flags : Read / Write / Read

Tracks

GES.Track [] Tracks { get; set;  }

Flags : Read / Write / Read

AutoTransition

bool AutoTransition { get; set;  }

Gets whether transitions are automatically added when objects overlap or not.

Flags : Read / Write

DurationField

Gst.ClockTime DurationField { get;  }

Get the current duration of timeline

Flags : Read

Groups

GES.Group [] Groups { get;  }

Get the list of GES.Group present in the Timeline.

Flags : Read

SnappingDistance

Gst.ClockTime SnappingDistance { get; set;  }

Gets the configured snapping distance of the timeline. See the documentation of the property snapping_distance for more information.

Flags : Read / Write

auto-transition

“auto-transition” gboolean

Sets whether transitions are added automagically when clips overlap.

Flags : Read / Write

auto-transition

“auto-transition” bool

Sets whether transitions are added automagically when clips overlap.

Flags : Read / Write

AutoTransition

bool AutoTransition { get; set;  }

Sets whether transitions are added automagically when clips overlap.

Flags : Read / Write

auto-transition

“auto-transition” Number

Sets whether transitions are added automagically when clips overlap.

Flags : Read / Write

duration

“duration” guint64

Current duration (in nanoseconds) of the GESTimeline

Flags : Read

duration

“duration” int

Current duration (in nanoseconds) of the GES.Timeline

Flags : Read

Duration

long Duration { get;  }

Current duration (in nanoseconds) of the GES.Timeline

Flags : Read

duration

“duration” Number

Current duration (in nanoseconds) of the GES.Timeline

Flags : Read

snapping-distance

“snapping-distance” guint64

Distance (in nanoseconds) from which a moving object will snap with it neighboors. 0 means no snapping.

Flags : Read / Write

snapping-distance

“snapping-distance” int

Distance (in nanoseconds) from which a moving object will snap with it neighboors. 0 means no snapping.

Flags : Read / Write

SnappingDistance

long SnappingDistance { get; set;  }

Distance (in nanoseconds) from which a moving object will snap with it neighboors. 0 means no snapping.

Flags : Read / Write

snapping-distance

“snapping-distance” Number

Distance (in nanoseconds) from which a moving object will snap with it neighboors. 0 means no snapping.

Flags : Read / Write

Virtual Methods

group_added

group_added (GESTimeline * timeline,
             GESGroup * group)

Parameters:

timeline
No description available
group
No description available

group_added

def group_added (timeline, group):
    #python implementation of the 'group_added' virtual method

Parameters:

timeline ( GES.Timeline ) –
No description available
group ( GES.Group ) –
No description available

GroupAdded

GroupAdded (GES.Group)

Parameters:

group
No description available

group_added

function group_added(timeline: GES.Timeline, group: GES.Group): {
    // javascript implementation of the 'group_added' virtual method
}

Parameters:

timeline ( GES.Timeline ) –
No description available
group ( GES.Group ) –
No description available

group_removed

group_removed (GESTimeline * timeline,
               GESGroup * group,
               GPtrArray * children)

Parameters:

timeline
No description available
group
No description available
children
No description available

layer_added

layer_added (GESTimeline * timeline,
             GESLayer * layer)

Parameters:

timeline
No description available
layer
No description available

layer_added

def layer_added (timeline, layer):
    #python implementation of the 'layer_added' virtual method

Parameters:

timeline ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –
No description available

LayerAdded

LayerAdded (GES.Layer)

Parameters:

layer
No description available

layer_added

function layer_added(timeline: GES.Timeline, layer: GES.Layer): {
    // javascript implementation of the 'layer_added' virtual method
}

Parameters:

timeline ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –
No description available

layer_removed

layer_removed (GESTimeline * timeline,
               GESLayer * layer)

Parameters:

timeline
No description available
layer
No description available

layer_removed

def layer_removed (timeline, layer):
    #python implementation of the 'layer_removed' virtual method

Parameters:

timeline ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –
No description available

LayerRemoved

LayerRemoved (GES.Layer)

Parameters:

layer
No description available

layer_removed

function layer_removed(timeline: GES.Timeline, layer: GES.Layer): {
    // javascript implementation of the 'layer_removed' virtual method
}

Parameters:

timeline ( GES.Timeline ) –
No description available
layer ( GES.Layer ) –
No description available

track_added

track_added (GESTimeline * timeline,
             GESTrack * track)

Parameters:

timeline
No description available
track
No description available

track_added

def track_added (timeline, track):
    #python implementation of the 'track_added' virtual method

Parameters:

timeline ( GES.Timeline ) –
No description available
track ( GES.Track ) –
No description available

TrackAdded

TrackAdded (GES.Track)

Parameters:

track
No description available

track_added

function track_added(timeline: GES.Timeline, track: GES.Track): {
    // javascript implementation of the 'track_added' virtual method
}

Parameters:

timeline ( GES.Timeline ) –
No description available
track ( GES.Track ) –
No description available

track_removed

track_removed (GESTimeline * timeline,
               GESTrack * track)

Parameters:

timeline
No description available
track
No description available

track_removed

def track_removed (timeline, track):
    #python implementation of the 'track_removed' virtual method

Parameters:

timeline ( GES.Timeline ) –
No description available
track ( GES.Track ) –
No description available

TrackRemoved

TrackRemoved (GES.Track)

Parameters:

track
No description available

track_removed

function track_removed(timeline: GES.Timeline, track: GES.Track): {
    // javascript implementation of the 'track_removed' virtual method
}

Parameters:

timeline ( GES.Timeline ) –
No description available
track ( GES.Track ) –
No description available

Properties

ParentClass

Gst.BinClass ParentClass { get; set;  }

Flags : Read / Write

Function Macros

GES_TIMELINE_GET_TRACKS

#define GES_TIMELINE_GET_TRACKS(obj) (GES_TIMELINE (obj)->tracks)

GES_TIMELINE_GET_LAYERS

#define GES_TIMELINE_GET_LAYERS(obj) (GES_TIMELINE (obj)->layers)

ges_timeline_get_project

#define ges_timeline_get_project(obj) (GES_PROJECT (ges_extractable_get_asset (GES_EXTRACTABLE(obj))))

Helper macro to retrieve the project from which a GESTimeline as been extracted

Parameters:

obj

The GESTimeline from which to retrieve the project

Constants

GES_TYPE_TIMELINE

#define GES_TYPE_TIMELINE ges_timeline_get_type()

The results of the search are