GESEffect

GESEffect

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                    ╰──GESBaseEffect
                        ╰──GESEffect

Implemented interfaces: GESExtractable, GESMetaContainer

Class structure

GESEffectClass

GES.EffectClass

GES.EffectClass

GES.EffectClass

GESEffect

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                    ╰──GESBaseEffect
                        ╰──GESEffect

Implemented interfaces: GESExtractable, GESMetaContainer

GESEffect

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                    ╰──GESBaseEffect
                        ╰──GESEffect

Implemented interfaces: GESExtractable, GESMetaContainer

GESEffect

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESTrackElement
                ╰──GESOperation
                    ╰──GESBaseEffect
                        ╰──GESEffect

Implemented interfaces: GESExtractable, GESMetaContainer

Constructors

ges_effect_new

GESEffect *
ges_effect_new (const gchar * bin_description)

Creates a new GESEffect from the description of the bin. It should be possible to determine the type of the effect through the element 'klass' metadata of the GstElements that will be created. In that corner case, you should use: ges_asset_request (GES_TYPE_EFFECT, "audio your ! bin ! description", NULL); and extract that asset to be in full control.

Parameters:

bin_description

The gst-launch like bin description of the effect

Returns ( [nullable] ) –

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

GES.Effect.new

def GES.Effect.new (bin_description):
    #python wrapper for 'ges_effect_new'

Creates a new GES.Effect from the description of the bin. It should be possible to determine the type of the effect through the element 'klass' metadata of the GstElements that will be created. In that corner case, you should use: GES.Asset.request (GES_TYPE_EFFECT, "audio your ! bin ! description", NULL); and extract that asset to be in full control.

Parameters:

bin_description ( str ) –

The gst-launch like bin description of the effect

Returns ( GES.Effect ) –

a newly created GES.Effect, or None if something went wrong.

GES.Effect

GES.Effect
GES.Effect (string)

Creates a new GES.Effect from the description of the bin. It should be possible to determine the type of the effect through the element 'klass' metadata of the GstElements that will be created. In that corner case, you should use: GES.Asset.Request (GES_TYPE_EFFECT, "audio your ! bin ! description", NULL); and extract that asset to be in full control.

Parameters:

bin_description

The gst-launch like bin description of the effect

Returns

a newly created GES.Effect, or null if something went wrong.

GES.prototype.new

function GES.prototype.new(bin_description: String): {
    // javascript wrapper for 'ges_effect_new'
}

Creates a new GES.Effect from the description of the bin. It should be possible to determine the type of the effect through the element 'klass' metadata of the GstElements that will be created. In that corner case, you should use: GES.prototype.request (GES_TYPE_EFFECT, "audio your ! bin ! description", NULL); and extract that asset to be in full control.

Parameters:

bin_description ( String ) –

The gst-launch like bin description of the effect

Returns ( GES.Effect ) –

a newly created GES.Effect, or null if something went wrong.

Properties

bin-description

“bin-description” gchar *

The description of the effect bin with a gst-launch-style pipeline description.

Example: "videobalance saturation=1.5 hue=+0.5"

Flags : Read / Write / Construct Only

bin-description

“bin-description” str

The description of the effect bin with a gst-launch-style pipeline description.

Example: "videobalance saturation=1.5 hue=+0.5"

Flags : Read / Write / Construct Only

BinDescription

string BinDescription { get; set;  }

The description of the effect bin with a gst-launch-style pipeline description.

Example: "videobalance saturation=1.5 hue=+0.5"

Flags : Read / Write / Construct Only

bin-description

“bin-description” String

The description of the effect bin with a gst-launch-style pipeline description.

Example: "videobalance saturation=1.5 hue=+0.5"

Flags : Read / Write / Construct Only

Class Methods

ges_effect_class_register_rate_property

gboolean
ges_effect_class_register_rate_property (GESEffectClass * klass,
                                         const gchar * element_name,
                                         const gchar * property_name)

Register an element that can change the rate at which media is playing. The property type must be float or double, and must be a factor of the rate, i.e. a value of 2.0 must mean that the media plays twice as fast. For example, this is true for the properties 'rate' and 'tempo' of the element 'pitch', which is already registered by default. By registering the element, timeline duration can be correctly converted into media duration, allowing the right segment seeks to be sent to the sources.

A reference to the GESEffectClass can be obtained as follows: GES_EFFECT_CLASS (g_type_class_ref (GES_TYPE_EFFECT));

Parameters:

klass

Instance of the GESEffectClass

element_name

Name of the GstElement that changes the rate

property_name

Name of the property that changes the rate

Returns

whether the rate property was succesfully registered. When this method returns false, a warning is emitted with more information.

GES.Effect.RegisterRateProperty

bool
GES.Effect.RegisterRateProperty (string,
                                 string)

Register an element that can change the rate at which media is playing. The property type must be float or double, and must be a factor of the rate, i.e. a value of 2.0 must mean that the media plays twice as fast. For example, this is true for the properties 'rate' and 'tempo' of the element 'pitch', which is already registered by default. By registering the element, timeline duration can be correctly converted into media duration, allowing the right segment seeks to be sent to the sources.

A reference to the GESEffectClass can be obtained as follows: GES_EFFECT_CLASS (g_type_class_ref (GES_TYPE_EFFECT));

Parameters:

element_name

Name of the GstElement that changes the rate

property_name

Name of the property that changes the rate

Returns

whether the rate property was succesfully registered. When this method returns false, a warning is emitted with more information.

GES.prototype.register_rate_property

function GES.prototype.register_rate_property(klass: GES.EffectClass, element_name: String, property_name: String): {
    // javascript wrapper for 'ges_effect_class_register_rate_property'
}

Register an element that can change the rate at which media is playing. The property type must be float or double, and must be a factor of the rate, i.e. a value of 2.0 must mean that the media plays twice as fast. For example, this is true for the properties 'rate' and 'tempo' of the element 'pitch', which is already registered by default. By registering the element, timeline duration can be correctly converted into media duration, allowing the right segment seeks to be sent to the sources.

A reference to the GESEffectClass can be obtained as follows: GES_EFFECT_CLASS (g_type_class_ref (GES_TYPE_EFFECT));

Parameters:

klass ( GES.EffectClass ) –

Instance of the GESEffectClass

element_name ( String ) –

Name of the GstElement that changes the rate

property_name ( String ) –

Name of the property that changes the rate

Returns ( Number ) –

whether the rate property was succesfully registered. When this method returns false, a warning is emitted with more information.

Constants

GES_TYPE_EFFECT

#define GES_TYPE_EFFECT ges_effect_get_type()

The results of the search are