GESTrackElement

GESTrackElement is the Base Class for any object that can be contained in a GESTrack.

It contains the basic information as to the location of the object within its container, like the start position, the inpoint, the duration and the priority.

GESTrackElement

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                ╰──GESSource

Implemented interfaces: GESExtractable, GESMetaContainer

The GESTrackElement base class.

Members

parent (GESTimelineElement) –
No description available

Class structure

GESTrackElementClass

Fields
nleobject_factorytype (const gchar *) –
No description available

GES.TrackElementClass

Attributes
TrackElementClass.nleobject_factorytype (str) –
No description available

GES.TrackElementClass

GES.TrackElementClass

Attributes
TrackElementClass.nleobject_factorytype (String) –
No description available

GESTrackElement

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                ╰──GESSource

Implemented interfaces: GESExtractable, GESMetaContainer

The GESTrackElement base class.

Members

parent (GESTimelineElement) –
No description available

GESTrackElement

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                ╰──GESSource

Implemented interfaces: GESExtractable, GESMetaContainer

The GESTrackElement base class.

GESTrackElement

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                ╰──GESSource

Implemented interfaces: GESExtractable, GESMetaContainer

The GESTrackElement base class.

Members

parent (GESTimelineElement) –
No description available

Methods

ges_track_element_add_children_props

ges_track_element_add_children_props (GESTrackElement * self,
                                      GstElement * element,
                                      gchar ** wanted_categories,
                                      gchar ** blacklist,
                                      gchar ** whitelist)

Looks for the properties defines with the various parametters and add them to the hashtable of children properties.

To be used by subclasses only

Parameters:

self

The GESTrackElement to set chidlren props on

element

The GstElement to retrieve properties from

wanted_categories

(array zero-terminated=1) (transfer none) (allow-none): An array of categories of GstElement to take into account (as defined in the factory meta "klass" field)

blacklist ( [array zero-terminated=1] [transfer: none] [allow-none] ) –

A blacklist of elements factory names to not take into account

whitelist ( [array zero-terminated=1] [transfer: none] [allow-none] ) –

A list of propery names to add as children properties

GES.TrackElement.add_children_props

def GES.TrackElement.add_children_props (self, element, wanted_categories, blacklist, whitelist):
    #python wrapper for 'ges_track_element_add_children_props'

Looks for the properties defines with the various parametters and add them to the hashtable of children properties.

To be used by subclasses only

Parameters:

self ( GES.TrackElement ) –

The GES.TrackElement to set chidlren props on

element ( Gst.Element ) –

The GstElement to retrieve properties from

wanted_categories ( [ str ] ) –

(array zero-terminated=1) (transfer none) (allow-none): An array of categories of GstElement to take into account (as defined in the factory meta "klass" field)

blacklist ( [ str ] ) –

A blacklist of elements factory names to not take into account

whitelist ( [ str ] ) –

A list of propery names to add as children properties

GES.TrackElement.AddChildrenProps

GES.TrackElement.AddChildrenProps (Gst.Element,
                                   string [],
                                   string [],
                                   string [])

Looks for the properties defines with the various parametters and add them to the hashtable of children properties.

To be used by subclasses only

Parameters:

element

The GstElement to retrieve properties from

wanted_categories

(array zero-terminated=1) (transfer none) (allow-none): An array of categories of GstElement to take into account (as defined in the factory meta "klass" field)

blacklist

A blacklist of elements factory names to not take into account

whitelist

A list of propery names to add as children properties

GES.prototype.add_children_props

function GES.prototype.add_children_props(element: Gst.Element, wanted_categories: [ String ], blacklist: [ String ], whitelist: [ String ]): {
    // javascript wrapper for 'ges_track_element_add_children_props'
}

Looks for the properties defines with the various parametters and add them to the hashtable of children properties.

To be used by subclasses only

Parameters:

self ( GES.TrackElement ) –

The GES.TrackElement to set chidlren props on

element ( Gst.Element ) –

The GstElement to retrieve properties from

wanted_categories ( [ String ] ) –

(array zero-terminated=1) (transfer none) (allow-none): An array of categories of GstElement to take into account (as defined in the factory meta "klass" field)

blacklist ( [ String ] ) –

A blacklist of elements factory names to not take into account

whitelist ( [ String ] ) –

A list of propery names to add as children properties

ges_track_element_edit

gboolean
ges_track_element_edit (GESTrackElement * object,
                        GList * layers,
                        GESEditMode mode,
                        GESEdge edge,
                        guint64 position)

Edit object in the different exisiting GESEditMode modes. In the case of slide, and roll, you need to specify a GESEdge

Parameters:

object

the GESTrackElement to edit

layers ( [element-type GESLayer] ) –

The layers you want the edit to happen in, NULL means that the edition is done in all the GESLayer contained in the current timeline. FIXME: This is not implemented yet.

mode

The GESEditMode in which the edition will happen.

edge

The GESEdge the edit should happen on.

position

The position at which to edit object (in nanosecond)

Returns

TRUE if the object as been edited properly, FALSE if an error occured

GES.TrackElement.edit

def GES.TrackElement.edit (self, layers, mode, edge, position):
    #python wrapper for 'ges_track_element_edit'

Edit object in the different exisiting GES.EditMode modes. In the case of slide, and roll, you need to specify a GES.Edge

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement to edit

layers ( [ GES.Layer ] ) –

The layers you want the edit to happen in, None means that the edition is done in all the GES.Layer contained in the current timeline. FIXME: This is not implemented yet.

mode ( GES.EditMode ) –

The GES.EditMode in which the edition will happen.

edge ( GES.Edge ) –

The GES.Edge the edit should happen on.

position ( int ) –

The position at which to edit object (in nanosecond)

Returns ( bool ) –

True if the object as been edited properly, False if an error occured

GES.TrackElement.Edit

bool
GES.TrackElement.Edit (GES.Layer [],
                       GES.EditMode,
                       GES.Edge,
                       long)

Edit object in the different exisiting GES.EditMode modes. In the case of slide, and roll, you need to specify a GES.Edge

Parameters:

layers

The layers you want the edit to happen in, null means that the edition is done in all the GES.Layer contained in the current timeline. FIXME: This is not implemented yet.

mode

The GES.EditMode in which the edition will happen.

edge

The GES.Edge the edit should happen on.

position

The position at which to edit object (in nanosecond)

Returns

true if the object as been edited properly, false if an error occured

GES.prototype.edit

function GES.prototype.edit(layers: [ GES.Layer ], mode: GES.EditMode, edge: GES.Edge, position: Number): {
    // javascript wrapper for 'ges_track_element_edit'
}

Edit object in the different exisiting GES.EditMode modes. In the case of slide, and roll, you need to specify a GES.Edge

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement to edit

layers ( [ GES.Layer ] ) –

The layers you want the edit to happen in, null means that the edition is done in all the GES.Layer contained in the current timeline. FIXME: This is not implemented yet.

mode ( GES.EditMode ) –

The GES.EditMode in which the edition will happen.

edge ( GES.Edge ) –

The GES.Edge the edit should happen on.

position ( Number ) –

The position at which to edit object (in nanosecond)

Returns ( Number ) –

true if the object as been edited properly, false if an error occured

ges_track_element_get_all_control_bindings

GHashTable *
ges_track_element_get_all_control_bindings (GESTrackElement * trackelement)

Parameters:

trackelement

The TrackElement from which to get all set bindings

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

A GHashTable containing all property_name: GstControlBinding

GES.TrackElement.get_all_control_bindings

def GES.TrackElement.get_all_control_bindings (self):
    #python wrapper for 'ges_track_element_get_all_control_bindings'

Parameters:

trackelement ( GES.TrackElement ) –

The TrackElement from which to get all set bindings

Returns ( GLib.HashTable ) –

A GLib.HashTable containing all property_name: GstControlBinding

GES.prototype.get_all_control_bindings

function GES.prototype.get_all_control_bindings(): {
    // javascript wrapper for 'ges_track_element_get_all_control_bindings'
}

Parameters:

trackelement ( GES.TrackElement ) –

The TrackElement from which to get all set bindings

Returns ( GLib.HashTable ) –

A GLib.HashTable containing all property_name: GstControlBinding

ges_track_element_get_child_properties

ges_track_element_get_child_properties (GESTrackElement * object,
                                        const gchar * first_property_name,
                                        ... ...)

Gets properties of a child of object.

Parameters:

object

The origin GESTrackElement

first_property_name

The name of the first property to get

...

return location for the first property, followed optionally by more name/return location pairs, followed by NULL

deprecated : Use #ges_timeline_element_get_child_properties

ges_track_element_get_child_property

gboolean
ges_track_element_get_child_property (GESTrackElement * object,
                                      const gchar * property_name,
                                      GValue * value)

In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling g_value_unset.

Gets a property of a GstElement contained in object.

Note that ges_track_element_get_child_property is really intended for language bindings, ges_track_element_get_child_properties is much more convenient for C programming.

Parameters:

object

The origin GESTrackElement

property_name

The name of the property

value ( [out] ) –

return location for the property value, it will be initialized if it is initialized with 0

Returns

TRUE if the property was found, FALSE otherwize

deprecated : Use #ges_timeline_element_get_child_property

ges_track_element_get_child_property_by_pspec

ges_track_element_get_child_property_by_pspec (GESTrackElement * object,
                                               GParamSpec * pspec,
                                               GValue * value)

Gets a property of a child of object.

Parameters:

object

a GESTrackElement

pspec

The GParamSpec that specifies the property you want to get

value ( [out] ) –

return location for the value

deprecated : Use #ges_timeline_element_get_child_property_by_pspec

ges_track_element_get_child_property_valist

ges_track_element_get_child_property_valist (GESTrackElement * object,
                                             const gchar * first_property_name,
                                             va_list var_args)

Gets a property of a child of object. If there are various child elements that have the same property name, you can distinguish them using the following syntax: 'ClasseName::property_name' as property name. If you don't, the corresponding property of the first element found will be set.

Parameters:

object

The GESTrackElement parent object

first_property_name

The name of the first property to get

var_args

value for the first property, followed optionally by more name/return location pairs, followed by NULL

deprecated : Use #ges_timeline_element_get_child_property_valist

ges_track_element_get_control_binding

GstControlBinding *
ges_track_element_get_control_binding (GESTrackElement * object,
                                       const gchar * property_name)

Looks up the various controlled properties for that GESTrackElement, and returns the GstControlBinding which controls property_name.

Parameters:

object

the GESTrackElement in which to lookup the bindings.

property_name

The property_name to which the binding is associated.

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

the GstControlBinding associated with property_name, or NULL if that property is not controlled.

GES.TrackElement.get_control_binding

def GES.TrackElement.get_control_binding (self, property_name):
    #python wrapper for 'ges_track_element_get_control_binding'

Looks up the various controlled properties for that GES.TrackElement, and returns the Gst.ControlBinding which controls property_name.

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement in which to lookup the bindings.

property_name ( str ) –

The property_name to which the binding is associated.

Returns ( Gst.ControlBinding ) –

the Gst.ControlBinding associated with property_name, or None if that property is not controlled.

GES.TrackElement.GetControlBinding

Gst.ControlBinding
GES.TrackElement.GetControlBinding (string)

Looks up the various controlled properties for that GES.TrackElement, and returns the Gst.ControlBinding which controls property_name.

Parameters:

property_name

The property_name to which the binding is associated.

Returns

the Gst.ControlBinding associated with property_name, or null if that property is not controlled.

GES.prototype.get_control_binding

function GES.prototype.get_control_binding(property_name: String): {
    // javascript wrapper for 'ges_track_element_get_control_binding'
}

Looks up the various controlled properties for that GES.TrackElement, and returns the Gst.ControlBinding which controls property_name.

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement in which to lookup the bindings.

property_name ( String ) –

The property_name to which the binding is associated.

Returns ( Gst.ControlBinding ) –

the Gst.ControlBinding associated with property_name, or null if that property is not controlled.

ges_track_element_get_element

GstElement *
ges_track_element_get_element (GESTrackElement * object)

Get the GstElement this track element is controlling within GNonLin.

Parameters:

object

a GESTrackElement

Returns ( [transfer: none] ) –

the GstElement this track element is controlling within GNonLin.

GES.TrackElement.get_element

def GES.TrackElement.get_element (self):
    #python wrapper for 'ges_track_element_get_element'

Get the Gst.Element this track element is controlling within GNonLin.

Parameters:

Returns ( Gst.Element ) –

the Gst.Element this track element is controlling within GNonLin.

GES.prototype.get_element

function GES.prototype.get_element(): {
    // javascript wrapper for 'ges_track_element_get_element'
}

Get the Gst.Element this track element is controlling within GNonLin.

Parameters:

Returns ( Gst.Element ) –

the Gst.Element this track element is controlling within GNonLin.

ges_track_element_get_gnlobject

GstElement *
ges_track_element_get_gnlobject (GESTrackElement * object)

Get the NleObject object this object is controlling.

Parameters:

object

a GESTrackElement

Returns ( [transfer: none] ) –

the NleObject object this object is controlling.

deprecated : use #ges_track_element_get_nleobject instead.

GES.TrackElement.get_gnlobject

def GES.TrackElement.get_gnlobject (self):
    #python wrapper for 'ges_track_element_get_gnlobject'

Get the NleObject object this object is controlling.

Parameters:

Returns ( Gst.Element ) –

the NleObject object this object is controlling.

deprecated : use #ges_track_element_get_nleobject instead.

GES.prototype.get_gnlobject

function GES.prototype.get_gnlobject(): {
    // javascript wrapper for 'ges_track_element_get_gnlobject'
}

Get the NleObject object this object is controlling.

Parameters:

Returns ( Gst.Element ) –

the NleObject object this object is controlling.

deprecated : use #ges_track_element_get_nleobject instead.

ges_track_element_get_nleobject

GstElement *
ges_track_element_get_nleobject (GESTrackElement * object)

Get the GNonLin object this object is controlling.

Parameters:

object

a GESTrackElement

Returns ( [transfer: none] ) –

the GNonLin object this object is controlling.

Since : 1.6

GES.TrackElement.get_nleobject

def GES.TrackElement.get_nleobject (self):
    #python wrapper for 'ges_track_element_get_nleobject'

Get the GNonLin object this object is controlling.

Parameters:

Returns ( Gst.Element ) –

the GNonLin object this object is controlling.

Since : 1.6

GES.prototype.get_nleobject

function GES.prototype.get_nleobject(): {
    // javascript wrapper for 'ges_track_element_get_nleobject'
}

Get the GNonLin object this object is controlling.

Parameters:

Returns ( Gst.Element ) –

the GNonLin object this object is controlling.

Since : 1.6

ges_track_element_get_track

GESTrack *
ges_track_element_get_track (GESTrackElement * object)

Get the GESTrack to which this object belongs.

Parameters:

object

a GESTrackElement

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

The GESTrack to which this object belongs. Can be NULL if it is not in any track

GES.TrackElement.get_track

def GES.TrackElement.get_track (self):
    #python wrapper for 'ges_track_element_get_track'

Get the GES.Track to which this object belongs.

Parameters:

Returns ( GES.Track ) –

The GES.Track to which this object belongs. Can be None if it is not in any track

GES.prototype.get_track

function GES.prototype.get_track(): {
    // javascript wrapper for 'ges_track_element_get_track'
}

Get the GES.Track to which this object belongs.

Parameters:

Returns ( GES.Track ) –

The GES.Track to which this object belongs. Can be null if it is not in any track

ges_track_element_get_track_type

GESTrackType
ges_track_element_get_track_type (GESTrackElement * object)

Parameters:

object
No description available
Returns
No description available

GES.TrackElement.get_track_type

def GES.TrackElement.get_track_type (self):
    #python wrapper for 'ges_track_element_get_track_type'

Parameters:

object ( GES.TrackElement ) –
No description available
Returns ( GES.TrackType ) –
No description available

GES.prototype.get_track_type

function GES.prototype.get_track_type(): {
    // javascript wrapper for 'ges_track_element_get_track_type'
}

Parameters:

object ( GES.TrackElement ) –
No description available
Returns ( GES.TrackType ) –
No description available

ges_track_element_is_active

gboolean
ges_track_element_is_active (GESTrackElement * object)

Lets you know if object will be used for playback and rendering, or not.

Parameters:

object

a GESTrackElement

Returns

TRUE if object is active, FALSE otherwize

GES.TrackElement.is_active

def GES.TrackElement.is_active (self):
    #python wrapper for 'ges_track_element_is_active'

Lets you know if object will be used for playback and rendering, or not.

Parameters:

Returns ( bool ) –

True if object is active, False otherwize

GES.TrackElement.IsActive

bool
GES.TrackElement.IsActive ()

Lets you know if object will be used for playback and rendering, or not.

Returns

true if object is active, false otherwize

GES.prototype.is_active

function GES.prototype.is_active(): {
    // javascript wrapper for 'ges_track_element_is_active'
}

Lets you know if object will be used for playback and rendering, or not.

Parameters:

Returns ( Number ) –

true if object is active, false otherwize

ges_track_element_list_children_properties

GParamSpec **
ges_track_element_list_children_properties (GESTrackElement * object,
                                            guint * n_properties)

Gets an array of GParamSpec* for all configurable properties of the children of object.

Parameters:

object

The GESTrackElement to get the list of children properties from

n_properties ( [out] ) –

return location for the length of the returned array

Returns ( [transfer: full] [array length=n_properties] ) –

an array of GParamSpec* which should be freed after use or NULL if something went wrong

deprecated : Use #ges_timeline_element_list_children_properties

GES.TrackElement.list_children_properties

def GES.TrackElement.list_children_properties (self):
    #python wrapper for 'ges_track_element_list_children_properties'

Gets an array of GObject.ParamSpec* for all configurable properties of the children of object.

Parameters:

object ( GES.TrackElement ) –

The GES.TrackElement to get the list of children properties from

Returns a tuple made of:

( [ GObject.ParamSpec ] ) –

an array of GObject.ParamSpec* which should be freed after use or None if something went wrong

n_properties ( int ) –

an array of GObject.ParamSpec* which should be freed after use or None if something went wrong

deprecated : Use #ges_timeline_element_list_children_properties

GES.TrackElement.ListChildrenProperties

GObject.ParamSpec []
GES.TrackElement.ListChildrenProperties (out  uint)

Gets an array of GObject.ParamSpec* for all configurable properties of the children of object.

Parameters:

n_properties

return location for the length of the returned array

Returns

an array of GObject.ParamSpec* which should be freed after use or null if something went wrong

deprecated : Use #ges_timeline_element_list_children_properties

GES.prototype.list_children_properties

function GES.prototype.list_children_properties(): {
    // javascript wrapper for 'ges_track_element_list_children_properties'
}

Gets an array of GObject.ParamSpec* for all configurable properties of the children of object.

Parameters:

object ( GES.TrackElement ) –

The GES.TrackElement to get the list of children properties from

Returns a tuple made of:

( [ GObject.ParamSpec ] ) –

an array of GObject.ParamSpec* which should be freed after use or null if something went wrong

n_properties ( Number ) –

an array of GObject.ParamSpec* which should be freed after use or null if something went wrong

deprecated : Use #ges_timeline_element_list_children_properties

ges_track_element_lookup_child

gboolean
ges_track_element_lookup_child (GESTrackElement * object,
                                const gchar * prop_name,
                                GstElement ** element,
                                GParamSpec ** pspec)

Looks up which element and pspec would be effected by the given name. If various contained elements have this property name you will get the first one, unless you specify the class name in name.

Parameters:

object

object to lookup the property in

prop_name

name of the property to look up. You can specify the name of the class as such: "ClassName::property-name", to guarantee that you get the proper GParamSpec in case various GstElement-s contain the same property name. If you don't do so, you will get the first element found, having this property and the and the corresponding GParamSpec.

element ( [out] [allow-none] [transfer: full] ) –

pointer to a GstElement that takes the real object to set property on

pspec ( [out] [allow-none] [transfer: full] ) –

pointer to take the GParamSpec describing the property

Returns

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

deprecated : Use #ges_timeline_element_lookup_child

GES.TrackElement.lookup_child

def GES.TrackElement.lookup_child (self, prop_name):
    #python wrapper for 'ges_track_element_lookup_child'

Looks up which element and pspec would be effected by the given name. If various contained elements have this property name you will get the first one, unless you specify the class name in name.

Parameters:

object ( GES.TrackElement ) –

object to lookup the property in

prop_name ( str ) –

name of the property to look up. You can specify the name of the class as such: "ClassName::property-name", to guarantee that you get the proper GParamSpec in case various GstElement-s contain the same property name. If you don't do so, you will get the first element found, having this property and the and the corresponding GParamSpec.

Returns a tuple made of:

( bool ) –

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

element ( Gst.Element ) –

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

pspec ( GObject.ParamSpec ) –

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

deprecated : Use #ges_timeline_element_lookup_child

GES.TrackElement.LookupChild

bool
GES.TrackElement.LookupChild (string,
                              out  Gst.Element,
                              out  GObject.ParamSpec)

Looks up which element and pspec would be effected by the given name. If various contained elements have this property name you will get the first one, unless you specify the class name in name.

Parameters:

prop_name

name of the property to look up. You can specify the name of the class as such: "ClassName::property-name", to guarantee that you get the proper GParamSpec in case various GstElement-s contain the same property name. If you don't do so, you will get the first element found, having this property and the and the corresponding GParamSpec.

element

pointer to a Gst.Element that takes the real object to set property on

pspec

pointer to take the GObject.ParamSpec describing the property

Returns

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

deprecated : Use #ges_timeline_element_lookup_child

GES.prototype.lookup_child

function GES.prototype.lookup_child(prop_name: String): {
    // javascript wrapper for 'ges_track_element_lookup_child'
}

Looks up which element and pspec would be effected by the given name. If various contained elements have this property name you will get the first one, unless you specify the class name in name.

Parameters:

object ( GES.TrackElement ) –

object to lookup the property in

prop_name ( String ) –

name of the property to look up. You can specify the name of the class as such: "ClassName::property-name", to guarantee that you get the proper GParamSpec in case various GstElement-s contain the same property name. If you don't do so, you will get the first element found, having this property and the and the corresponding GParamSpec.

Returns a tuple made of:

( Number ) –

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

element ( Gst.Element ) –

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

pspec ( GObject.ParamSpec ) –

TRUE if element and pspec could be found. FALSE otherwise. In that case the values for pspec and element are not modified. Unref element after usage.

deprecated : Use #ges_timeline_element_lookup_child

ges_track_element_remove_control_binding

gboolean
ges_track_element_remove_control_binding (GESTrackElement * object,
                                          const gchar * property_name)

Removes a GstControlBinding from object.

Parameters:

object

the GESTrackElement on which to set a control binding

property_name

The name of the property to control.

Returns

TRUE if the binding could be removed, FALSE if an error occured

GES.TrackElement.remove_control_binding

def GES.TrackElement.remove_control_binding (self, property_name):
    #python wrapper for 'ges_track_element_remove_control_binding'

Removes a Gst.ControlBinding from object.

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement on which to set a control binding

property_name ( str ) –

The name of the property to control.

Returns ( bool ) –

True if the binding could be removed, False if an error occured

GES.TrackElement.RemoveControlBinding

bool
GES.TrackElement.RemoveControlBinding (string)

Removes a Gst.ControlBinding from object.

Parameters:

property_name

The name of the property to control.

Returns

true if the binding could be removed, false if an error occured

GES.prototype.remove_control_binding

function GES.prototype.remove_control_binding(property_name: String): {
    // javascript wrapper for 'ges_track_element_remove_control_binding'
}

Removes a Gst.ControlBinding from object.

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement on which to set a control binding

property_name ( String ) –

The name of the property to control.

Returns ( Number ) –

true if the binding could be removed, false if an error occured

ges_track_element_set_active

gboolean
ges_track_element_set_active (GESTrackElement * object,
                              gboolean active)

Sets the usage of the object. If active is TRUE, the object will be used for playback and rendering, else it will be ignored.

Parameters:

object

a GESTrackElement

active

visibility

Returns

TRUE if the property was toggled, else FALSE

GES.TrackElement.set_active

def GES.TrackElement.set_active (self, active):
    #python wrapper for 'ges_track_element_set_active'

Sets the usage of the object. If active is True, the object will be used for playback and rendering, else it will be ignored.

Parameters:

active ( bool ) –

visibility

Returns ( bool ) –

True if the property was toggled, else False

GES.TrackElement.SetActive

bool
GES.TrackElement.SetActive (bool)

Sets the usage of the object. If active is true, the object will be used for playback and rendering, else it will be ignored.

Parameters:

active

visibility

Returns

true if the property was toggled, else false

GES.prototype.set_active

function GES.prototype.set_active(active: Number): {
    // javascript wrapper for 'ges_track_element_set_active'
}

Sets the usage of the object. If active is true, the object will be used for playback and rendering, else it will be ignored.

Parameters:

active ( Number ) –

visibility

Returns ( Number ) –

true if the property was toggled, else false

ges_track_element_set_child_properties

ges_track_element_set_child_properties (GESTrackElement * object,
                                        const gchar * first_property_name,
                                        ... ...)

Sets a property of a child of object. If there are various child elements that have the same property name, you can distinguish them using the following syntax: 'ClasseName::property_name' as property name. If you don't, the corresponding property of the first element found will be set.

Parameters:

object

The GESTrackElement parent object

first_property_name

The name of the first property to set

...

value for the first property, followed optionally by more name/return location pairs, followed by NULL

deprecated : Use #ges_timeline_element_set_child_properties

ges_track_element_set_child_property

gboolean
ges_track_element_set_child_property (GESTrackElement * object,
                                      const gchar * property_name,
                                      GValue * value)

Sets a property of a GstElement contained in object.

Note that ges_track_element_set_child_property is really intended for language bindings, ges_track_element_set_child_properties is much more convenient for C programming.

Parameters:

object

The origin GESTrackElement

property_name

The name of the property

value

the value

Returns

TRUE if the property was set, FALSE otherwize

deprecated : use #ges_timeline_element_set_child_property instead

ges_track_element_set_child_property_by_pspec

ges_track_element_set_child_property_by_pspec (GESTrackElement * object,
                                               GParamSpec * pspec,
                                               GValue * value)

Sets a property of a child of object.

Parameters:

object

a GESTrackElement

pspec

The GParamSpec that specifies the property you want to set

value

the value

deprecated : Use #ges_timeline_element_set_child_property_by_spec

ges_track_element_set_child_property_valist

ges_track_element_set_child_property_valist (GESTrackElement * object,
                                             const gchar * first_property_name,
                                             va_list var_args)

Sets a property of a child of object. If there are various child elements that have the same property name, you can distinguish them using the following syntax: 'ClasseName::property_name' as property name. If you don't, the corresponding property of the first element found will be set.

Parameters:

object

The GESTrackElement parent object

first_property_name

The name of the first property to set

var_args

value for the first property, followed optionally by more name/return location pairs, followed by NULL

deprecated : Use #ges_timeline_element_set_child_property_valist

ges_track_element_set_control_source

gboolean
ges_track_element_set_control_source (GESTrackElement * object,
                                      GstControlSource * source,
                                      const gchar * property_name,
                                      const gchar * binding_type)

Creates a GstControlBinding and adds it to the GstElement concerned by the property. Use the same syntax as ges_track_element_lookup_child for the property name.

Parameters:

object

the GESTrackElement on which to set a control binding

source

the GstControlSource to set on the binding.

property_name

The name of the property to control.

binding_type

The type of binding to create. Only "direct" is available for now.

Returns

TRUE if the binding could be created and added, FALSE if an error occured

GES.TrackElement.set_control_source

def GES.TrackElement.set_control_source (self, source, property_name, binding_type):
    #python wrapper for 'ges_track_element_set_control_source'

Creates a Gst.ControlBinding and adds it to the Gst.Element concerned by the property. Use the same syntax as GES.TrackElement.lookup_child for the property name.

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement on which to set a control binding

source ( Gst.ControlSource ) –

the Gst.ControlSource to set on the binding.

property_name ( str ) –

The name of the property to control.

binding_type ( str ) –

The type of binding to create. Only "direct" is available for now.

Returns ( bool ) –

True if the binding could be created and added, False if an error occured

GES.TrackElement.SetControlSource

bool
GES.TrackElement.SetControlSource (Gst.ControlSource,
                                   string,
                                   string)

Creates a Gst.ControlBinding and adds it to the Gst.Element concerned by the property. Use the same syntax as GES.TrackElement.LookupChild for the property name.

Parameters:

source

the Gst.ControlSource to set on the binding.

property_name

The name of the property to control.

binding_type

The type of binding to create. Only "direct" is available for now.

Returns

true if the binding could be created and added, false if an error occured

GES.prototype.set_control_source

function GES.prototype.set_control_source(source: Gst.ControlSource, property_name: String, binding_type: String): {
    // javascript wrapper for 'ges_track_element_set_control_source'
}

Creates a Gst.ControlBinding and adds it to the Gst.Element concerned by the property. Use the same syntax as GES.prototype.lookup_child for the property name.

Parameters:

object ( GES.TrackElement ) –

the GES.TrackElement on which to set a control binding

source ( Gst.ControlSource ) –

the Gst.ControlSource to set on the binding.

property_name ( String ) –

The name of the property to control.

binding_type ( String ) –

The type of binding to create. Only "direct" is available for now.

Returns ( Number ) –

true if the binding could be created and added, false if an error occured

ges_track_element_set_track_type

ges_track_element_set_track_type (GESTrackElement * object,
                                  GESTrackType type)

Parameters:

object
No description available
type
No description available

GES.TrackElement.set_track_type

def GES.TrackElement.set_track_type (self, type):
    #python wrapper for 'ges_track_element_set_track_type'

Parameters:

object ( GES.TrackElement ) –
No description available
type ( GES.TrackType ) –
No description available

GES.prototype.set_track_type

function GES.prototype.set_track_type(type: GES.TrackType): {
    // javascript wrapper for 'ges_track_element_set_track_type'
}

Parameters:

object ( GES.TrackElement ) –
No description available
type ( GES.TrackType ) –
No description available

Signals

control-binding-added

control_binding_added_callback (GESTrackElement * self,
                                GstControlBinding * control_binding,
                                gpointer user_data)

The control-binding-added signal is emitted each time a control binding is added for a child property of track_element

Parameters:

self
No description available
control_binding

the GstControlBinding that has been added

user_data
No description available

Flags: Run First

control-binding-added

def control_binding_added_callback (self, control_binding, user_data):
    #python callback for the 'control-binding-added' signal

The control-binding-added signal is emitted each time a control binding is added for a child property of track_element

Parameters:

self ( GES.TrackElement ) –
No description available
control_binding ( Gst.ControlBinding ) –

the Gst.ControlBinding that has been added

user_data ( object ) –
No description available

Flags: Run First

ControlBindingAdded

ControlBindingAdded_callback (GES.TrackElement,
                              Gst.ControlBinding,
                              IntPtr)

The control-binding-added signal is emitted each time a control binding is added for a child property of track_element

Parameters:

self
No description available
control_binding

the Gst.ControlBinding that has been added

user_data
No description available

Flags: Run First

control-binding-added

function control_binding_added_callback(self: GES.TrackElement, control_binding: Gst.ControlBinding, user_data: Object): {
    // javascript callback for the 'control-binding-added' signal
}

The control-binding-added signal is emitted each time a control binding is added for a child property of track_element

Parameters:

self ( GES.TrackElement ) –
No description available
control_binding ( Gst.ControlBinding ) –

the Gst.ControlBinding that has been added

user_data ( Object ) –
No description available

Flags: Run First

control-binding-removed

control_binding_removed_callback (GESTrackElement * self,
                                  GstControlBinding * control_binding,
                                  gpointer user_data)

The control-binding-removed signal is emitted each time a control binding is removed for a child property of track_element

Parameters:

self
No description available
control_binding

the GstControlBinding that has been removed

user_data
No description available

Flags: Run First

control-binding-removed

def control_binding_removed_callback (self, control_binding, user_data):
    #python callback for the 'control-binding-removed' signal

The control-binding-removed signal is emitted each time a control binding is removed for a child property of track_element

Parameters:

self ( GES.TrackElement ) –
No description available
control_binding ( Gst.ControlBinding ) –

the Gst.ControlBinding that has been removed

user_data ( object ) –
No description available

Flags: Run First

ControlBindingRemoved

ControlBindingRemoved_callback (GES.TrackElement,
                                Gst.ControlBinding,
                                IntPtr)

The control-binding-removed signal is emitted each time a control binding is removed for a child property of track_element

Parameters:

self
No description available
control_binding

the Gst.ControlBinding that has been removed

user_data
No description available

Flags: Run First

control-binding-removed

function control_binding_removed_callback(self: GES.TrackElement, control_binding: Gst.ControlBinding, user_data: Object): {
    // javascript callback for the 'control-binding-removed' signal
}

The control-binding-removed signal is emitted each time a control binding is removed for a child property of track_element

Parameters:

self ( GES.TrackElement ) –
No description available
control_binding ( Gst.ControlBinding ) –

the Gst.ControlBinding that has been removed

user_data ( Object ) –
No description available

Flags: Run First

Properties

AllControlBindings

GLib.HashTable AllControlBindings { get;  }

Flags : Read

Element

Gst.Element Element { get;  }

Get the Gst.Element this track element is controlling within GNonLin.

Flags : Read

Gnlobject

Gst.Element Gnlobject { get;  }

Get the NleObject object this object is controlling.

Flags : Read

Nleobject

Gst.Element Nleobject { get;  }

Get the GNonLin object this object is controlling.

Flags : Read

TrackField

GES.Track TrackField { get;  }

Get the GES.Track to which this object belongs.

Flags : Read

TrackType

GES.TrackType TrackType { get; set;  }

Flags : Read / Write

active

“active” gboolean

Whether the object should be taken into account in the GESTrack output. If FALSE, then its contents will not be used in the resulting track.

Flags : Read / Write

active

“active” bool

Whether the object should be taken into account in the GES.Track output. If False, then its contents will not be used in the resulting track.

Flags : Read / Write

Active

bool Active { get; set;  }

Whether the object should be taken into account in the GES.Track output. If false, then its contents will not be used in the resulting track.

Flags : Read / Write

active

“active” Number

Whether the object should be taken into account in the GES.Track output. If false, then its contents will not be used in the resulting track.

Flags : Read / Write

track

“track” GESTrack *

Flags : Read

track

“track” GES.Track

Flags : Read

Track

GES.Track Track { get;  }

Flags : Read

track

“track” GES.Track

Flags : Read

track-type

“track-type” GESTrackType *

Flags : Read / Write / Construct

track-type

“track-type” GES.TrackType

Flags : Read / Write / Construct

TrackType

GES.TrackType TrackType { get; set;  }

Flags : Read / Write / Construct

track-type

“track-type” GES.TrackType

Flags : Read / Write / Construct

Virtual Methods

active_changed

active_changed (GESTrackElement * object,
                gboolean active)

active property of nleobject has changed

Parameters:

object
No description available
active
No description available

active_changed

def active_changed (object, active):
    #python implementation of the 'active_changed' virtual method

active property of nleobject has changed

Parameters:

object ( GES.TrackElement ) –
No description available
active ( bool ) –
No description available

ActiveChanged

ActiveChanged (bool)

active property of nleobject has changed

Parameters:

active
No description available

active_changed

function active_changed(object: GES.TrackElement, active: Number): {
    // javascript implementation of the 'active_changed' virtual method
}

active property of nleobject has changed

Parameters:

object ( GES.TrackElement ) –
No description available
active ( Number ) –
No description available

changed

changed (GESTrackElement * object)

Parameters:

object
No description available

changed

def changed (object):
    #python implementation of the 'changed' virtual method

Parameters:

object ( GES.TrackElement ) –
No description available

Changed

Changed ()

changed

function changed(object: GES.TrackElement): {
    // javascript implementation of the 'changed' virtual method
}

Parameters:

object ( GES.TrackElement ) –
No description available

create_element

GstElement *
create_element (GESTrackElement * object)

method to return the GstElement to put in the nleobject.

Parameters:

object
No description available
Returns
No description available

create_gnl_object

GstElement *
create_gnl_object (GESTrackElement * object)

method to create the GNonLin container object.

Parameters:

object
No description available
Returns
No description available

list_children_properties

GParamSpec **
list_children_properties (GESTrackElement * object,
                          guint * n_properties)

method to get children properties that user could like to configure. The default implementation will create an object of type nleobject_factorytype and call create_element. DeprecatedUse: GESTimelineElement.list_children_properties instead

Parameters:

object
No description available
n_properties
No description available
Returns
No description available

lookup_child

gboolean
lookup_child (GESTrackElement * object,
              const gchar * prop_name,
              GstElement ** element,
              GParamSpec ** pspec)

method letting subclasses look for a child, overriding the simple standard behaviour. This vmethod can be used for example in the case where you want the name of a child property to be 'overriden'. A good example of where it is usefull is the GESTitleSource where we have a videotestsrc which has a 'foreground-color' property that is used in the TitleSource to set the background color of the title, in that case, this method has been overriden so that we tweak the name passed has parametter to rename "background" to "foreground-backend" making our API understandable. Deprecated: use GESTimelineElement.lookup_child instead

Parameters:

object
No description available
prop_name
No description available
element
No description available
pspec
No description available
Returns
No description available

lookup_child

def lookup_child (object, prop_name):
    #python implementation of the 'lookup_child' virtual method

method letting subclasses look for a child, overriding the simple standard behaviour. This vmethod can be used for example in the case where you want the name of a child property to be 'overriden'. A good example of where it is usefull is the GESTitleSource where we have a videotestsrc which has a 'foreground-color' property that is used in the TitleSource to set the background color of the title, in that case, this method has been overriden so that we tweak the name passed has parametter to rename "background" to "foreground-backend" making our API understandable. Deprecated: use GESTimelineElement.lookup_child instead

Parameters:

object ( GES.TrackElement ) –
No description available
prop_name ( str ) –
No description available

Returns a tuple made of:

( bool ) –
No description available
element ( Gst.Element ) –
No description available
pspec ( GObject.ParamSpec ) –
No description available

LookupChild

bool
LookupChild (string,
             out  Gst.Element,
             out  GObject.ParamSpec)

method letting subclasses look for a child, overriding the simple standard behaviour. This vmethod can be used for example in the case where you want the name of a child property to be 'overriden'. A good example of where it is usefull is the GESTitleSource where we have a videotestsrc which has a 'foreground-color' property that is used in the TitleSource to set the background color of the title, in that case, this method has been overriden so that we tweak the name passed has parametter to rename "background" to "foreground-backend" making our API understandable. Deprecated: use GESTimelineElement.lookup_child instead

Parameters:

prop_name
No description available
element
No description available
pspec
No description available
Returns
No description available

lookup_child

function lookup_child(object: GES.TrackElement, prop_name: String): {
    // javascript implementation of the 'lookup_child' virtual method
}

method letting subclasses look for a child, overriding the simple standard behaviour. This vmethod can be used for example in the case where you want the name of a child property to be 'overriden'. A good example of where it is usefull is the GESTitleSource where we have a videotestsrc which has a 'foreground-color' property that is used in the TitleSource to set the background color of the title, in that case, this method has been overriden so that we tweak the name passed has parametter to rename "background" to "foreground-backend" making our API understandable. Deprecated: use GESTimelineElement.lookup_child instead

Parameters:

object ( GES.TrackElement ) –
No description available
prop_name ( String ) –
No description available

Returns a tuple made of:

( Number ) –
No description available
element ( Gst.Element ) –
No description available
pspec ( GObject.ParamSpec ) –
No description available

Properties

NleobjectFactorytype

string NleobjectFactorytype { get; set;  }

Flags : Read / Write

Constants

GES_TYPE_TRACK_ELEMENT

#define GES_TYPE_TRACK_ELEMENT ges_track_element_get_type()

Subpages:

GESVideoSource – Base Class for video sources

GESAudioSource – Base Class for audio sources

The results of the search are