GESClip

A GESClip is a 'natural' object which controls one or more GESTrackElement(s) in one or more GESTrack(s).

Keeps a reference to the GESTrackElement(s) it created and sets/updates their properties.

GESClip

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESContainer
                ╰──GESClip
                    ╰──GESOperationClip
                    ╰──GESSourceClip

The GESClip base class.

Members

parent (GESContainer) –
No description available

Class structure

GESClipClass

Subclasses can override the create_track_element.


GES.ClipClass

Subclasses can override the create_track_element.


GES.ClipClass

Subclasses can override the create_track_element.


GESClip

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESContainer
                ╰──GESClip
                    ╰──GESOperationClip
                    ╰──GESSourceClip

The GESClip base class.

Members

parent (GESContainer) –
No description available

GESClip

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESContainer
                ╰──GESClip
                    ╰──GESOperationClip
                    ╰──GESSourceClip

The GESClip base class.

Members

parent (GESContainer) –
No description available

Methods

ges_clip_add_asset

GESTrackElement *
ges_clip_add_asset (GESClip * clip,
                    GESAsset * asset)

Extracts a GESTrackElement from asset and adds it to the clip. Should only be called in order to add operations to a GESClip, ni other cases TrackElement are added automatically when adding the GESClip/#GESAsset to a layer.

Takes a reference on track_element.

Parameters:

clip

a GESClip

asset

a GESAsset with GES_TYPE_TRACK_ELEMENT as extractable_type

Returns ( [transfer: none] [allow-none] ) –

Created GESTrackElement or NULL if an error happened


GES.Clip.add_asset

def GES.Clip.add_asset (self, asset):
    #python wrapper for 'ges_clip_add_asset'

Extracts a GES.TrackElement from asset and adds it to the clip. Should only be called in order to add operations to a GES.Clip, ni other cases TrackElement are added automatically when adding the GES.Clip/#GESAsset to a layer.

Takes a reference on track_element.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

asset ( GES.Asset ) –

a GES.Asset with GES_TYPE_TRACK_ELEMENT (not introspectable) as extractable_type

Returns ( GES.TrackElement ) –

Created GES.TrackElement or NULL if an error happened


GES.Clip.prototype.add_asset

function GES.Clip.prototype.add_asset(asset: GES.Asset): {
    // javascript wrapper for 'ges_clip_add_asset'
}

Extracts a GES.TrackElement from asset and adds it to the clip. Should only be called in order to add operations to a GES.Clip, ni other cases TrackElement are added automatically when adding the GES.Clip/#GESAsset to a layer.

Takes a reference on track_element.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

asset ( GES.Asset ) –

a GES.Asset with GES_TYPE_TRACK_ELEMENT (not introspectable) as extractable_type

Returns ( GES.TrackElement ) –

Created GES.TrackElement or NULL if an error happened


ges_clip_find_track_element

GESTrackElement *
ges_clip_find_track_element (GESClip * clip,
                             GESTrack * track,
                             GType type)

Finds the GESTrackElement controlled by clip that is used in track. You may optionally specify a GType to further narrow search criteria.

Note: If many objects match, then the one with the highest priority will be returned.

Parameters:

clip

a GESClip

track ( [allow-none] ) –

a GESTrack or NULL

type

a GType indicating the type of track element you are looking for or G_TYPE_NONE if you do not care about the track type.

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

The GESTrackElement used by track, else NULL. Unref after usage


GES.Clip.find_track_element

def GES.Clip.find_track_element (self, track, type):
    #python wrapper for 'ges_clip_find_track_element'

Finds the GES.TrackElement controlled by clip that is used in track. You may optionally specify a GType to further narrow search criteria.

Note: If many objects match, then the one with the highest priority will be returned.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

track ( GES.Track ) –

a GES.Track or NULL

type ( GObject.Type ) –

a GObject.Type indicating the type of track element you are looking for or G_TYPE_NONE (not introspectable) if you do not care about the track type.

Returns ( GES.TrackElement ) –

The GES.TrackElement used by track, else None. Unref after usage


GES.Clip.prototype.find_track_element

function GES.Clip.prototype.find_track_element(track: GES.Track, type: GObject.Type): {
    // javascript wrapper for 'ges_clip_find_track_element'
}

Finds the GES.TrackElement controlled by clip that is used in track. You may optionally specify a GType to further narrow search criteria.

Note: If many objects match, then the one with the highest priority will be returned.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

track ( GES.Track ) –

a GES.Track or NULL

type ( GObject.Type ) –

a GObject.Type indicating the type of track element you are looking for or G_TYPE_NONE (not introspectable) if you do not care about the track type.

Returns ( GES.TrackElement ) –

The GES.TrackElement used by track, else null. Unref after usage


ges_clip_find_track_elements

GList *
ges_clip_find_track_elements (GESClip * clip,
                              GESTrack * track,
                              GESTrackType track_type,
                              GType type)

Finds all the GESTrackElement controlled by clip that is used in track. You may optionally specify a GType to further narrow search criteria.

Parameters:

clip

a GESClip

track ( [allow-none] ) –

a GESTrack or NULL

track_type

a GESTrackType indicating the type of tracks in which elements should be searched.

type

a GType indicating the type of track element you are looking for or G_TYPE_NONE if you do not care about the track type.

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

a GList of the GESTrackElement contained in clip. The refcount of the objects will be increased. The user will have to unref each GESTrackElement and free the GList.


GES.Clip.find_track_elements

def GES.Clip.find_track_elements (self, track, track_type, type):
    #python wrapper for 'ges_clip_find_track_elements'

Finds all the GES.TrackElement controlled by clip that is used in track. You may optionally specify a GType to further narrow search criteria.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

track ( GES.Track ) –

a GES.Track or NULL

track_type ( GES.TrackType ) –

a GES.TrackType indicating the type of tracks in which elements should be searched.

type ( GObject.Type ) –

a GObject.Type indicating the type of track element you are looking for or G_TYPE_NONE (not introspectable) if you do not care about the track type.

Returns ( [ GES.TrackElement ] ) –

a GLib.List of the GES.TrackElement contained in clip. The refcount of the objects will be increased. The user will have to unref each GES.TrackElement and free the GLib.List.


GES.Clip.prototype.find_track_elements

function GES.Clip.prototype.find_track_elements(track: GES.Track, track_type: GES.TrackType, type: GObject.Type): {
    // javascript wrapper for 'ges_clip_find_track_elements'
}

Finds all the GES.TrackElement controlled by clip that is used in track. You may optionally specify a GType to further narrow search criteria.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

track ( GES.Track ) –

a GES.Track or NULL

track_type ( GES.TrackType ) –

a GES.TrackType indicating the type of tracks in which elements should be searched.

type ( GObject.Type ) –

a GObject.Type indicating the type of track element you are looking for or G_TYPE_NONE (not introspectable) if you do not care about the track type.

Returns ( [ GES.TrackElement ] ) –

a GLib.List of the GES.TrackElement contained in clip. The refcount of the objects will be increased. The user will have to unref each GES.TrackElement and free the GLib.List.


ges_clip_get_layer

GESLayer *
ges_clip_get_layer (GESClip * clip)

Get the GESLayer to which this clip belongs.

Parameters:

clip

a GESClip

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

The GESLayer where this clip is being used, or NULL if it is not used on any layer. The caller should unref it usage.


GES.Clip.get_layer

def GES.Clip.get_layer (self):
    #python wrapper for 'ges_clip_get_layer'

Get the GES.Layer to which this clip belongs.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

Returns ( GES.Layer ) –

The GES.Layer where this clip is being used, or None if it is not used on any layer. The caller should unref it usage.


GES.Clip.prototype.get_layer

function GES.Clip.prototype.get_layer(): {
    // javascript wrapper for 'ges_clip_get_layer'
}

Get the GES.Layer to which this clip belongs.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

Returns ( GES.Layer ) –

The GES.Layer where this clip is being used, or null if it is not used on any layer. The caller should unref it usage.


ges_clip_get_supported_formats

GESTrackType
ges_clip_get_supported_formats (GESClip * clip)

Get the formats supported by clip.

Parameters:

clip

the GESClip

Returns

The formats supported by clip.


GES.Clip.get_supported_formats

def GES.Clip.get_supported_formats (self):
    #python wrapper for 'ges_clip_get_supported_formats'

Get the formats supported by clip.

Parameters:

clip ( GES.Clip ) –

the GES.Clip

Returns ( GES.TrackType ) –

The formats supported by clip.


GES.Clip.prototype.get_supported_formats

function GES.Clip.prototype.get_supported_formats(): {
    // javascript wrapper for 'ges_clip_get_supported_formats'
}

Get the formats supported by clip.

Parameters:

clip ( GES.Clip ) –

the GES.Clip

Returns ( GES.TrackType ) –

The formats supported by clip.


ges_clip_get_top_effect_index

gint
ges_clip_get_top_effect_index (GESClip * clip,
                               GESBaseEffect * effect)

Gets the index position of an effect.

Parameters:

clip

The origin GESClip

effect

The GESBaseEffect we want to get the top index from

Returns

The top index of the effect, -1 if something went wrong.


GES.Clip.get_top_effect_index

def GES.Clip.get_top_effect_index (self, effect):
    #python wrapper for 'ges_clip_get_top_effect_index'

Gets the index position of an effect.

Parameters:

clip ( GES.Clip ) –

The origin GES.Clip

effect ( GES.BaseEffect ) –

The GES.BaseEffect we want to get the top index from

Returns ( int ) –

The top index of the effect, -1 if something went wrong.


GES.Clip.prototype.get_top_effect_index

function GES.Clip.prototype.get_top_effect_index(effect: GES.BaseEffect): {
    // javascript wrapper for 'ges_clip_get_top_effect_index'
}

Gets the index position of an effect.

Parameters:

clip ( GES.Clip ) –

The origin GES.Clip

effect ( GES.BaseEffect ) –

The GES.BaseEffect we want to get the top index from

Returns ( Number ) –

The top index of the effect, -1 if something went wrong.


ges_clip_get_top_effect_position

gint
ges_clip_get_top_effect_position (GESClip * clip,
                                  GESBaseEffect * effect)

Parameters:

clip
No description available
effect
No description available
Returns
No description available

GES.Clip.get_top_effect_position

def GES.Clip.get_top_effect_position (self, effect):
    #python wrapper for 'ges_clip_get_top_effect_position'

Parameters:

clip ( GES.Clip ) –
No description available
effect ( GES.BaseEffect ) –
No description available
Returns ( int ) –
No description available

GES.Clip.prototype.get_top_effect_position

function GES.Clip.prototype.get_top_effect_position(effect: GES.BaseEffect): {
    // javascript wrapper for 'ges_clip_get_top_effect_position'
}

Parameters:

clip ( GES.Clip ) –
No description available
effect ( GES.BaseEffect ) –
No description available
Returns ( Number ) –
No description available

ges_clip_get_top_effects

GList *
ges_clip_get_top_effects (GESClip * clip)

Get effects applied on clip

Parameters:

clip

The origin GESClip

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

a GList of the GESBaseEffect that are applied on clip order by ascendant priorities. The refcount of the objects will be increased. The user will have to unref each GESBaseEffect and free the GList.


GES.Clip.get_top_effects

def GES.Clip.get_top_effects (self):
    #python wrapper for 'ges_clip_get_top_effects'

Get effects applied on clip

Parameters:

clip ( GES.Clip ) –

The origin GES.Clip

Returns ( [ GES.TrackElement ] ) –

a GLib.List of the GES.BaseEffect that are applied on clip order by ascendant priorities. The refcount of the objects will be increased. The user will have to unref each GES.BaseEffect and free the GLib.List.


GES.Clip.prototype.get_top_effects

function GES.Clip.prototype.get_top_effects(): {
    // javascript wrapper for 'ges_clip_get_top_effects'
}

Get effects applied on clip

Parameters:

clip ( GES.Clip ) –

The origin GES.Clip

Returns ( [ GES.TrackElement ] ) –

a GLib.List of the GES.BaseEffect that are applied on clip order by ascendant priorities. The refcount of the objects will be increased. The user will have to unref each GES.BaseEffect and free the GLib.List.


ges_clip_move_to_layer

gboolean
ges_clip_move_to_layer (GESClip * clip,
                        GESLayer * layer)

Moves clip to layer. If clip is not in any layer, it adds it to layer, else, it removes it from its current layer, and adds it to layer.

Parameters:

clip

a GESClip

layer

the new GESLayer

Returns

TRUE if clip could be moved FALSE otherwize


GES.Clip.move_to_layer

def GES.Clip.move_to_layer (self, layer):
    #python wrapper for 'ges_clip_move_to_layer'

Moves clip to layer. If clip is not in any layer, it adds it to layer, else, it removes it from its current layer, and adds it to layer.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

layer ( GES.Layer ) –

the new GES.Layer

Returns ( bool ) –

True if clip could be moved False otherwize


GES.Clip.prototype.move_to_layer

function GES.Clip.prototype.move_to_layer(layer: GES.Layer): {
    // javascript wrapper for 'ges_clip_move_to_layer'
}

Moves clip to layer. If clip is not in any layer, it adds it to layer, else, it removes it from its current layer, and adds it to layer.

Parameters:

clip ( GES.Clip ) –

a GES.Clip

layer ( GES.Layer ) –

the new GES.Layer

Returns ( Number ) –

true if clip could be moved false otherwize


ges_clip_set_supported_formats

ges_clip_set_supported_formats (GESClip * clip,
                                GESTrackType supportedformats)

Sets the formats supported by the file.

Parameters:

clip

the GESClip to set supported formats on

supportedformats

the GESTrackType defining formats supported by clip


GES.Clip.set_supported_formats

def GES.Clip.set_supported_formats (self, supportedformats):
    #python wrapper for 'ges_clip_set_supported_formats'

Sets the formats supported by the file.

Parameters:

clip ( GES.Clip ) –

the GES.Clip to set supported formats on

supportedformats ( GES.TrackType ) –

the GES.TrackType defining formats supported by clip


GES.Clip.prototype.set_supported_formats

function GES.Clip.prototype.set_supported_formats(supportedformats: GES.TrackType): {
    // javascript wrapper for 'ges_clip_set_supported_formats'
}

Sets the formats supported by the file.

Parameters:

clip ( GES.Clip ) –

the GES.Clip to set supported formats on

supportedformats ( GES.TrackType ) –

the GES.TrackType defining formats supported by clip


ges_clip_set_top_effect_index

gboolean
ges_clip_set_top_effect_index (GESClip * clip,
                               GESBaseEffect * effect,
                               guint newindex)

This is a convenience method that lets you set the index of a top effect.

Parameters:

clip

The origin GESClip

effect

The GESBaseEffect to move

newindex

the new index at which to move the effect inside this GESClip

Returns

TRUE if effect was successfuly moved, FALSE otherwise.


GES.Clip.set_top_effect_index

def GES.Clip.set_top_effect_index (self, effect, newindex):
    #python wrapper for 'ges_clip_set_top_effect_index'

This is a convenience method that lets you set the index of a top effect.

Parameters:

clip ( GES.Clip ) –

The origin GES.Clip

effect ( GES.BaseEffect ) –

The GES.BaseEffect to move

newindex ( int ) –

the new index at which to move the effect inside this GES.Clip

Returns ( bool ) –

True if effect was successfuly moved, False otherwise.


GES.Clip.prototype.set_top_effect_index

function GES.Clip.prototype.set_top_effect_index(effect: GES.BaseEffect, newindex: Number): {
    // javascript wrapper for 'ges_clip_set_top_effect_index'
}

This is a convenience method that lets you set the index of a top effect.

Parameters:

clip ( GES.Clip ) –

The origin GES.Clip

effect ( GES.BaseEffect ) –

The GES.BaseEffect to move

newindex ( Number ) –

the new index at which to move the effect inside this GES.Clip

Returns ( Number ) –

true if effect was successfuly moved, false otherwise.


ges_clip_set_top_effect_priority

gboolean
ges_clip_set_top_effect_priority (GESClip * clip,
                                  GESBaseEffect * effect,
                                  guint newpriority)

Parameters:

clip
No description available
effect
No description available
newpriority
No description available
Returns
No description available

GES.Clip.set_top_effect_priority

def GES.Clip.set_top_effect_priority (self, effect, newpriority):
    #python wrapper for 'ges_clip_set_top_effect_priority'

Parameters:

clip ( GES.Clip ) –
No description available
effect ( GES.BaseEffect ) –
No description available
newpriority ( int ) –
No description available
Returns ( bool ) –
No description available

GES.Clip.prototype.set_top_effect_priority

function GES.Clip.prototype.set_top_effect_priority(effect: GES.BaseEffect, newpriority: Number): {
    // javascript wrapper for 'ges_clip_set_top_effect_priority'
}

Parameters:

clip ( GES.Clip ) –
No description available
effect ( GES.BaseEffect ) –
No description available
newpriority ( Number ) –
No description available
Returns ( Number ) –
No description available

ges_clip_split

GESClip *
ges_clip_split (GESClip * clip,
                guint64 position)

The function modifies clip, and creates another GESClip so we have two clips at the end, splitted at the time specified by position, as a position in the timeline (not in the clip to be split). For example, if ges_clip_split is called on a 4-second clip playing from 0:01.00 until 0:05.00, with a split position of 0:02.00, this will result in one clip of 1 second and one clip of 3 seconds, not in two clips of 2 seconds.

The newly created clip will be added to the same layer as clip is in. This implies that clip must be in a GESLayer for the operation to be possible.

This method supports clips playing at a different tempo than one second per second. For example, splitting a clip with a GESEffect 'pitch tempo=1.5' four seconds after it starts, will set the inpoint of the new clip to six seconds after that of the clip to split. For this, the rate-changing property must be registered using ges_effect_class_register_rate_property; for the 'pitch' plugin, this is already done.

Parameters:

clip

the GESClip to split

position

a GstClockTime representing the timeline position at which to split

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

The newly created GESClip resulting from the splitting or NULL if the clip can't be split.


GES.Clip.split

def GES.Clip.split (self, position):
    #python wrapper for 'ges_clip_split'

The function modifies clip, and creates another GES.Clip so we have two clips at the end, splitted at the time specified by position, as a position in the timeline (not in the clip to be split). For example, if ges_clip_split is called on a 4-second clip playing from 0:01.00 until 0:05.00, with a split position of 0:02.00, this will result in one clip of 1 second and one clip of 3 seconds, not in two clips of 2 seconds.

The newly created clip will be added to the same layer as clip is in. This implies that clip must be in a GES.Layer for the operation to be possible.

This method supports clips playing at a different tempo than one second per second. For example, splitting a clip with a GES.Effect 'pitch tempo=1.5' four seconds after it starts, will set the inpoint of the new clip to six seconds after that of the clip to split. For this, the rate-changing property must be registered using ges_effect_class_register_rate_property; for the 'pitch' plugin, this is already done.

Parameters:

clip ( GES.Clip ) –

the GES.Clip to split

position ( int ) –

a int representing the timeline position at which to split

Returns ( GES.Clip ) –

The newly created GES.Clip resulting from the splitting or None if the clip can't be split.


GES.Clip.prototype.split

function GES.Clip.prototype.split(position: Number): {
    // javascript wrapper for 'ges_clip_split'
}

The function modifies clip, and creates another GES.Clip so we have two clips at the end, splitted at the time specified by position, as a position in the timeline (not in the clip to be split). For example, if ges_clip_split is called on a 4-second clip playing from 0:01.00 until 0:05.00, with a split position of 0:02.00, this will result in one clip of 1 second and one clip of 3 seconds, not in two clips of 2 seconds.

The newly created clip will be added to the same layer as clip is in. This implies that clip must be in a GES.Layer for the operation to be possible.

This method supports clips playing at a different tempo than one second per second. For example, splitting a clip with a GES.Effect 'pitch tempo=1.5' four seconds after it starts, will set the inpoint of the new clip to six seconds after that of the clip to split. For this, the rate-changing property must be registered using ges_effect_class_register_rate_property; for the 'pitch' plugin, this is already done.

Parameters:

clip ( GES.Clip ) –

the GES.Clip to split

position ( Number ) –

a Number representing the timeline position at which to split

Returns ( GES.Clip ) –

The newly created GES.Clip resulting from the splitting or null if the clip can't be split.


Properties

layer

“layer” GESLayer *

The GESLayer where this clip is being used. If you want to connect to its notify signal you should connect to it with g_signal_connect_after as the signal emission can be stop in the first fase.

Flags : Read


layer

“self.props.layer” GES.Layer

The GESLayer where this clip is being used. If you want to connect to its notify signal you should connect to it with g_signal_connect_after as the signal emission can be stop in the first fase.

Flags : Read


layer

“layer” GES.Layer

The GESLayer where this clip is being used. If you want to connect to its notify signal you should connect to it with g_signal_connect_after as the signal emission can be stop in the first fase.

Flags : Read


supported-formats

“supported-formats” GESTrackType *

The formats supported by the clip.

Flags : Read / Write / Construct


supported_formats

“self.props.supported_formats” GES.TrackType

The formats supported by the clip.

Flags : Read / Write / Construct


supported-formats

“supported-formats” GES.TrackType

The formats supported by the clip.

Flags : Read / Write / Construct


Virtual Methods

create_track_element

GESTrackElement *
create_track_element (GESClip * clip,
                      GESTrackType type)

method to create a single GESTrackElement for a given GESTrack.

Parameters:

clip
No description available
type
No description available
Returns
No description available

create_track_elements

GList *
create_track_elements (GESClip * clip,
                       GESTrackType type)

method to create multiple GESTrackElement for a GESTrack.

Parameters:

clip
No description available
type
No description available
Returns
No description available

Constants

GES_TYPE_CLIP

#define GES_TYPE_CLIP             ges_clip_get_type()

Callbacks

GESCreateTrackElementFunc

GESTrackElement *
(*GESCreateTrackElementFunc) (GESClip * clip,
                              GESTrackType type)

Creates the 'primary' track element for this clip.

Subclasses should implement this method if they only provide a single GESTrackElement per track.

If the subclass needs to create more than one GESTrackElement for a given track, then it should implement the 'create_track_elements' method instead.

The implementer of this function shall return the proper GESTrackElement that should be controlled by clip for the given track.

The returned GESTrackElement will be automatically added to the list of objects controlled by the GESClip.

Parameters:

clip

a GESClip

type

a GESTrackType

Returns

the GESTrackElement to be used, or NULL if it can't provide one for the given track.


GESCreateTrackElementsFunc

GList *
(*GESCreateTrackElementsFunc) (GESClip * clip,
                               GESTrackType type)

Create all track elements this clip handles for this type of track.

Subclasses should implement this method if they potentially need to return more than one GESTrackElement(s) for a given GESTrack.

Parameters:

clip

a GESClip

type

a GESTrackType

Returns

TRUE on success FALSE on failure.


GESFillTrackElementFunc

gboolean
(*GESFillTrackElementFunc) (GESClip * clip,
                            GESTrackElement * track_element,
                            GstElement * nleobj)

A function that will be called when the GNonLin object of a corresponding track element needs to be filled.

The implementer of this function shall add the proper GstElement to nleobj using gst_bin_add.

Parameters:

clip

the GESClip controlling the track elements

track_element

the GESTrackElement

nleobj

the GNonLin object that needs to be filled.

Returns

TRUE if the implementer succesfully filled the nleobj, else FALSE.


GES.FillTrackElementFunc

def GES.FillTrackElementFunc (clip, track_element, nleobj):
    #python wrapper for 'GESFillTrackElementFunc'

A function that will be called when the GNonLin object of a corresponding track element needs to be filled.

The implementer of this function shall add the proper Gst.Element to nleobj using Gst.Bin.add.

Parameters:

clip ( GES.Clip ) –

the GES.Clip controlling the track elements

track_element ( GES.TrackElement ) –

the GES.TrackElement

nleobj ( Gst.Element ) –

the GNonLin object that needs to be filled.

Returns ( bool ) –

TRUE if the implementer succesfully filled the nleobj, else False.


GES.FillTrackElementFunc

function GES.FillTrackElementFunc(clip: GES.Clip, track_element: GES.TrackElement, nleobj: Gst.Element): {
    // javascript wrapper for 'GESFillTrackElementFunc'
}

A function that will be called when the GNonLin object of a corresponding track element needs to be filled.

The implementer of this function shall add the proper Gst.Element to nleobj using Gst.Bin.prototype.add.

Parameters:

clip ( GES.Clip ) –

the GES.Clip controlling the track elements

track_element ( GES.TrackElement ) –

the GES.TrackElement

nleobj ( Gst.Element ) –

the GNonLin object that needs to be filled.

Returns ( Number ) –

TRUE if the implementer succesfully filled the nleobj, else false.


Subpages:

GESUriClip – An object for manipulating media files in a GESTimeline

GESTitleClip – Render stand-alone titles in GESLayer.

GESTestClip – Render video and audio test patterns in a GESLayer

The results of the search are