GESProject

The GESProject is used to control a set of GESAsset and is a GESAsset with GES_TYPE_TIMELINE as extractable_type itself. That means that you can extract GESTimeline from a project as followed:

  GESProject *project;
  GESTimeline *timeline;

  project = ges_project_new ("file:///path/to/a/valid/project/uri");

  // Here you can connect to the various signal to get more infos about
  // what is happening and recover from errors if possible
  ...

  timeline = ges_asset_extract (GES_ASSET (project));

The GESProject class offers a higher level API to handle GESAsset-s. It lets you request new asset, and it informs you about new assets through a set of signals. Also it handles problem such as missing files/missing GstElement and lets you try to recover from those.

GESProject

GObject
    ╰──GESAsset
        ╰──GESProject

Implemented interfaces: GESMetaContainer, GAsyncInitable, GInitable

Members

parent (GESAsset) –
No description available

Class structure

GESProjectClass

Fields
parent_class (GESAssetClass) –
No description available
_ges_reserved (gpointer) –
No description available

GES.ProjectClass

Attributes
ProjectClass.parent_class (GES.AssetClass) –
No description available
ProjectClass._ges_reserved ([ object ]) –
No description available

GES.ProjectClass

GES.ProjectClass

Attributes
ProjectClass.parent_class (GES.AssetClass) –
No description available
ProjectClass._ges_reserved ([ Object ]) –
No description available

GESProject

GObject
    ╰──GESAsset
        ╰──GESProject

Implemented interfaces: GESMetaContainer, GAsyncInitable, GInitable

Members

parent (GESAsset) –
No description available

GESProject

GObject
    ╰──GESAsset
        ╰──GESProject

Implemented interfaces: GESMetaContainer, GAsyncInitable, GInitable

GESProject

GObject
    ╰──GESAsset
        ╰──GESProject

Implemented interfaces: GESMetaContainer, GAsyncInitable, GInitable

Members

parent (GESAsset) –
No description available

Constructors

ges_project_new

GESProject *
ges_project_new (const gchar * uri)

Creates a new GESProject and sets its uri to uri if provided. Note that if uri is not valid or NULL, the uri of the project will then be set the first time you save the project. If you then save the project to other locations, it will never be updated again and the first valid URI is the URI it will keep refering to.

Parameters:

uri ( [allow-none] ) –

The uri to be set after creating the project.

Returns

A newly created GESProject

GES.Project.new

def GES.Project.new (uri):
    #python wrapper for 'ges_project_new'

Creates a new GES.Project and sets its uri to uri if provided. Note that if uri is not valid or None, the uri of the project will then be set the first time you save the project. If you then save the project to other locations, it will never be updated again and the first valid URI is the URI it will keep refering to.

Parameters:

uri ( str ) –

The uri to be set after creating the project.

Returns ( GES.Project ) –

A newly created GES.Project

GES.Project

GES.Project
GES.Project (string)

Creates a new GES.Project and sets its uri to uri if provided. Note that if uri is not valid or null, the uri of the project will then be set the first time you save the project. If you then save the project to other locations, it will never be updated again and the first valid URI is the URI it will keep refering to.

Parameters:

uri

The uri to be set after creating the project.

Returns

A newly created GES.Project

GES.prototype.new

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

Creates a new GES.Project and sets its uri to uri if provided. Note that if uri is not valid or null, the uri of the project will then be set the first time you save the project. If you then save the project to other locations, it will never be updated again and the first valid URI is the URI it will keep refering to.

Parameters:

uri ( String ) –

The uri to be set after creating the project.

Returns ( GES.Project ) –

A newly created GES.Project

Methods

ges_project_add_asset

gboolean
ges_project_add_asset (GESProject * project,
                       GESAsset * asset)

Adds a Asset to project, the project will keep a reference on asset.

Parameters:

project

A GESProject

asset ( [transfer: none] ) –

A GESAsset to add to project

Returns

TRUE if the asset could be added FALSE it was already in the project

GES.Project.add_asset

def GES.Project.add_asset (self, asset):
    #python wrapper for 'ges_project_add_asset'

Adds a Asset to project, the project will keep a reference on asset.

Parameters:

project ( GES.Project ) –

A GES.Project

asset ( GES.Asset ) –

A GES.Asset to add to project

Returns ( bool ) –

True if the asset could be added False it was already in the project

GES.Project.AddAsset

bool
GES.Project.AddAsset (GES.Asset)

Adds a Asset to project, the project will keep a reference on asset.

Parameters:

asset

A GES.Asset to add to project

Returns

true if the asset could be added false it was already in the project

GES.prototype.add_asset

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

Adds a Asset to project, the project will keep a reference on asset.

Parameters:

project ( GES.Project ) –

A GES.Project

asset ( GES.Asset ) –

A GES.Asset to add to project

Returns ( Number ) –

true if the asset could be added false it was already in the project

ges_project_add_encoding_profile

gboolean
ges_project_add_encoding_profile (GESProject * project,
                                  GstEncodingProfile * profile)

Adds profile to the project. It lets you save in what format the project has been renders and keep a reference to those formats. Also, those formats will be saves to the project file when possible.

Parameters:

project

A GESProject

profile

A GstEncodingProfile to add to the project. If a profile with the same name already exists, it will be replaced

Returns

TRUE if profile could be added, FALSE otherwize

GES.Project.add_encoding_profile

def GES.Project.add_encoding_profile (self, profile):
    #python wrapper for 'ges_project_add_encoding_profile'

Adds profile to the project. It lets you save in what format the project has been renders and keep a reference to those formats. Also, those formats will be saves to the project file when possible.

Parameters:

project ( GES.Project ) –

A GES.Project

profile ( GstPbutils.EncodingProfile ) –

A GstPbutils.EncodingProfile to add to the project. If a profile with the same name already exists, it will be replaced

Returns ( bool ) –

True if profile could be added, False otherwize

GES.Project.AddEncodingProfile

bool
GES.Project.AddEncodingProfile (Gst.PbUtils.EncodingProfile)

Adds profile to the project. It lets you save in what format the project has been renders and keep a reference to those formats. Also, those formats will be saves to the project file when possible.

Parameters:

profile

A Gst.PbUtils.EncodingProfile to add to the project. If a profile with the same name already exists, it will be replaced

Returns

true if profile could be added, false otherwize

GES.prototype.add_encoding_profile

function GES.prototype.add_encoding_profile(profile: GstPbutils.EncodingProfile): {
    // javascript wrapper for 'ges_project_add_encoding_profile'
}

Adds profile to the project. It lets you save in what format the project has been renders and keep a reference to those formats. Also, those formats will be saves to the project file when possible.

Parameters:

project ( GES.Project ) –

A GES.Project

profile ( GstPbutils.EncodingProfile ) –

A GstPbutils.EncodingProfile to add to the project. If a profile with the same name already exists, it will be replaced

Returns ( Number ) –

true if profile could be added, false otherwize

ges_project_create_asset

gboolean
ges_project_create_asset (GESProject * project,
                          const gchar * id,
                          GType extractable_type)

Create and add a GESAsset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

project

A GESProject

id ( [allow-none] ) –

The id of the asset to create and add to project

extractable_type

The GType of the asset to create

Returns

TRUE if the asset started to be added FALSE it was already in the project

GES.Project.create_asset

def GES.Project.create_asset (self, id, extractable_type):
    #python wrapper for 'ges_project_create_asset'

Create and add a GES.Asset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

project ( GES.Project ) –

A GES.Project

id ( str ) –

The id of the asset to create and add to project

extractable_type ( GObject.Type ) –

The GObject.Type of the asset to create

Returns ( bool ) –

True if the asset started to be added False it was already in the project

GES.Project.CreateAsset

bool
GES.Project.CreateAsset (string,
                         GType)

Create and add a GES.Asset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

id

The id of the asset to create and add to project

extractable_type

The GLib.Type of the asset to create

Returns

true if the asset started to be added false it was already in the project

GES.prototype.create_asset

function GES.prototype.create_asset(id: String, extractable_type: GObject.Type): {
    // javascript wrapper for 'ges_project_create_asset'
}

Create and add a GES.Asset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

project ( GES.Project ) –

A GES.Project

id ( String ) –

The id of the asset to create and add to project

extractable_type ( GObject.Type ) –

The GObject.Type of the asset to create

Returns ( Number ) –

true if the asset started to be added false it was already in the project

ges_project_create_asset_sync

GESAsset *
ges_project_create_asset_sync (GESProject * project,
                               const gchar * id,
                               GType extractable_type)

Create and add a GESAsset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

project

A GESProject

id ( [allow-none] ) –

The id of the asset to create and add to project

extractable_type

The GType of the asset to create

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

The newly created GESAsset or NULL.

GES.Project.create_asset_sync

@raises(GLib.GError)
def GES.Project.create_asset_sync (self, id, extractable_type):
    #python wrapper for 'ges_project_create_asset_sync'

Create and add a GES.Asset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

project ( GES.Project ) –

A GES.Project

id ( str ) –

The id of the asset to create and add to project

extractable_type ( GObject.Type ) –

The GObject.Type of the asset to create

Returns ( GES.Asset ) –

The newly created GES.Asset or None.

GES.Project.CreateAssetSync

GES.Asset
GES.Project.CreateAssetSync (string,
                             GType)

Create and add a GES.Asset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

id

The id of the asset to create and add to project

extractable_type

The GLib.Type of the asset to create

Returns

The newly created GES.Asset or null.

GES.prototype.create_asset_sync

function GES.prototype.create_asset_sync(id: String, extractable_type: GObject.Type): {
    // javascript wrapper for 'ges_project_create_asset_sync'
}

Create and add a GES.Asset to project. You should connect to the "asset-added" signal to get the asset when it finally gets added to project

Parameters:

project ( GES.Project ) –

A GES.Project

id ( String ) –

The id of the asset to create and add to project

extractable_type ( GObject.Type ) –

The GObject.Type of the asset to create

Returns ( GES.Asset ) –

The newly created GES.Asset or null.

ges_project_get_asset

GESAsset *
ges_project_get_asset (GESProject * project,
                       const gchar * id,
                       GType extractable_type)

Parameters:

project

A GESProject

id

The id of the asset to retrieve

extractable_type

The extractable_type of the asset to retrieve from object

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

The GESAsset with id or NULL if no asset with id as an ID

GES.Project.get_asset

def GES.Project.get_asset (self, id, extractable_type):
    #python wrapper for 'ges_project_get_asset'

Parameters:

project ( GES.Project ) –

A GES.Project

id ( str ) –

The id of the asset to retrieve

extractable_type ( GObject.Type ) –

The extractable_type of the asset to retrieve from object

Returns ( GES.Asset ) –

The GES.Asset with id or None if no asset with id as an ID

GES.Project.GetAsset

GES.Asset
GES.Project.GetAsset (string,
                      GType)

Parameters:

id

The id of the asset to retrieve

extractable_type

The extractable_type of the asset to retrieve from object

Returns

The GES.Asset with id or null if no asset with id as an ID

GES.prototype.get_asset

function GES.prototype.get_asset(id: String, extractable_type: GObject.Type): {
    // javascript wrapper for 'ges_project_get_asset'
}

Parameters:

project ( GES.Project ) –

A GES.Project

id ( String ) –

The id of the asset to retrieve

extractable_type ( GObject.Type ) –

The extractable_type of the asset to retrieve from object

Returns ( GES.Asset ) –

The GES.Asset with id or null if no asset with id as an ID

ges_project_get_loading_assets

GList *
ges_project_get_loading_assets (GESProject * project)

Get the assets that are being loaded

Parameters:

project

A GESProject

Returns ( [transfer: full] [element-type GES.Asset] ) –

A set of loading asset that will be added to project. Note that those Asset are not loaded yet, and thus can not be used

GES.Project.get_loading_assets

def GES.Project.get_loading_assets (self):
    #python wrapper for 'ges_project_get_loading_assets'

Get the assets that are being loaded

Parameters:

project ( GES.Project ) –

A GES.Project

Returns ( [ GES.Asset ] ) –

A set of loading asset that will be added to project. Note that those Asset are not loaded yet, and thus can not be used

GES.prototype.get_loading_assets

function GES.prototype.get_loading_assets(): {
    // javascript wrapper for 'ges_project_get_loading_assets'
}

Get the assets that are being loaded

Parameters:

project ( GES.Project ) –

A GES.Project

Returns ( [ GES.Asset ] ) –

A set of loading asset that will be added to project. Note that those Asset are not loaded yet, and thus can not be used

ges_project_get_uri

gchar *
ges_project_get_uri (GESProject * project)

Retrieve the uri that is currently set on project

Parameters:

project

A GESProject

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

a newly allocated string representing uri.

GES.Project.get_uri

def GES.Project.get_uri (self):
    #python wrapper for 'ges_project_get_uri'

Retrieve the uri that is currently set on project

Parameters:

project ( GES.Project ) –

A GES.Project

Returns ( str ) –

a newly allocated string representing uri.

GES.prototype.get_uri

function GES.prototype.get_uri(): {
    // javascript wrapper for 'ges_project_get_uri'
}

Retrieve the uri that is currently set on project

Parameters:

project ( GES.Project ) –

A GES.Project

Returns ( String ) –

a newly allocated string representing uri.

ges_project_list_assets

GList *
ges_project_list_assets (GESProject * project,
                         GType filter)

List all asset contained in project filtering per extractable_type as defined by filter. It copies the asset and thus will not be updated in time.

Parameters:

project

A GESProject

filter

Type of assets to list, GES_TYPE_EXTRACTABLE will list all assets

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

The list of GESAsset the object contains

GES.Project.list_assets

def GES.Project.list_assets (self, filter):
    #python wrapper for 'ges_project_list_assets'

List all asset contained in project filtering per extractable_type as defined by filter. It copies the asset and thus will not be updated in time.

Parameters:

project ( GES.Project ) –

A GES.Project

filter ( GObject.Type ) –

Type of assets to list, GES_TYPE_EXTRACTABLE (not introspectable) will list all assets

Returns ( [ GES.Asset ] ) –

The list of GES.Asset the object contains

GES.Project.ListAssets

GES.Asset []
GES.Project.ListAssets (GType)

List all asset contained in project filtering per extractable_type as defined by filter. It copies the asset and thus will not be updated in time.

Parameters:

filter

Type of assets to list, GES_TYPE_EXTRACTABLE (not introspectable) will list all assets

Returns

The list of GES.Asset the object contains

GES.prototype.list_assets

function GES.prototype.list_assets(filter: GObject.Type): {
    // javascript wrapper for 'ges_project_list_assets'
}

List all asset contained in project filtering per extractable_type as defined by filter. It copies the asset and thus will not be updated in time.

Parameters:

project ( GES.Project ) –

A GES.Project

filter ( GObject.Type ) –

Type of assets to list, GES_TYPE_EXTRACTABLE (not introspectable) will list all assets

Returns ( [ GES.Asset ] ) –

The list of GES.Asset the object contains

ges_project_list_encoding_profiles

const GList *
ges_project_list_encoding_profiles (GESProject * project)

Lists the encoding profile that have been set to project. The first one is the latest added.

Parameters:

project

A GESProject

Returns ( [transfer: none] [element-type GstPbutils.EncodingProfile] [allow-none] ) –

The list of GstEncodingProfile used in project

GES.Project.list_encoding_profiles

def GES.Project.list_encoding_profiles (self):
    #python wrapper for 'ges_project_list_encoding_profiles'

Lists the encoding profile that have been set to project. The first one is the latest added.

Parameters:

project ( GES.Project ) –

A GES.Project

Returns ( [ GstPbutils.EncodingProfile ] ) –

The list of GstPbutils.EncodingProfile used in project

GES.Project.ListEncodingProfiles

Gst.PbUtils.EncodingProfile []
GES.Project.ListEncodingProfiles ()

Lists the encoding profile that have been set to project. The first one is the latest added.

Returns

The list of Gst.PbUtils.EncodingProfile used in project

GES.prototype.list_encoding_profiles

function GES.prototype.list_encoding_profiles(): {
    // javascript wrapper for 'ges_project_list_encoding_profiles'
}

Lists the encoding profile that have been set to project. The first one is the latest added.

Parameters:

project ( GES.Project ) –

A GES.Project

Returns ( [ GstPbutils.EncodingProfile ] ) –

The list of GstPbutils.EncodingProfile used in project

ges_project_load

gboolean
ges_project_load (GESProject * project,
                  GESTimeline * timeline)

Loads project into timeline

Parameters:

project

A GESProject that has an uri set already

timeline

A blank timeline to load project into

Returns

TRUE if the project could be loaded FALSE otherwize.

GES.Project.load

@raises(GLib.GError)
def GES.Project.load (self, timeline):
    #python wrapper for 'ges_project_load'

Loads project into timeline

Parameters:

project ( GES.Project ) –

A GES.Project that has an uri set already

timeline ( GES.Timeline ) –

A blank timeline to load project into

Returns ( bool ) –

True if the project could be loaded False otherwize.

GES.Project.Load

bool
GES.Project.Load (GES.Timeline)

Loads project into timeline

Parameters:

timeline

A blank timeline to load project into

Returns

true if the project could be loaded false otherwize.

GES.prototype.load

function GES.prototype.load(timeline: GES.Timeline): {
    // javascript wrapper for 'ges_project_load'
}

Loads project into timeline

Parameters:

project ( GES.Project ) –

A GES.Project that has an uri set already

timeline ( GES.Timeline ) –

A blank timeline to load project into

Returns ( Number ) –

true if the project could be loaded false otherwize.

ges_project_remove_asset

gboolean
ges_project_remove_asset (GESProject * project,
                          GESAsset * asset)

remove a asset to from project.

Parameters:

project

A GESProject

asset ( [transfer: none] ) –

A GESAsset to remove from project

Returns

TRUE if the asset could be removed FALSE otherwise

GES.Project.remove_asset

def GES.Project.remove_asset (self, asset):
    #python wrapper for 'ges_project_remove_asset'

remove a asset to from project.

Parameters:

project ( GES.Project ) –

A GES.Project

asset ( GES.Asset ) –

A GES.Asset to remove from project

Returns ( bool ) –

True if the asset could be removed False otherwise

GES.Project.RemoveAsset

bool
GES.Project.RemoveAsset (GES.Asset)

remove a asset to from project.

Parameters:

asset

A GES.Asset to remove from project

Returns

true if the asset could be removed false otherwise

GES.prototype.remove_asset

function GES.prototype.remove_asset(asset: GES.Asset): {
    // javascript wrapper for 'ges_project_remove_asset'
}

remove a asset to from project.

Parameters:

project ( GES.Project ) –

A GES.Project

asset ( GES.Asset ) –

A GES.Asset to remove from project

Returns ( Number ) –

true if the asset could be removed false otherwise

ges_project_save

gboolean
ges_project_save (GESProject * project,
                  GESTimeline * timeline,
                  const gchar * uri,
                  GESAsset * formatter_asset,
                  gboolean overwrite)

Save the timeline of project to uri. You should make sure that timeline is one of the timelines that have been extracted from project (using ges_asset_extract (@project);)

Parameters:

project

A GESProject to save

timeline

The GESTimeline to save, it must have been extracted from project

uri

The uri where to save project and timeline

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 project could be save, FALSE otherwize

GES.Project.save

@raises(GLib.GError)
def GES.Project.save (self, timeline, uri, formatter_asset, overwrite):
    #python wrapper for 'ges_project_save'

Save the timeline of project to uri. You should make sure that timeline is one of the timelines that have been extracted from project (using ges_asset_extract (@project);)

Parameters:

project ( GES.Project ) –

A GES.Project to save

timeline ( GES.Timeline ) –

The GES.Timeline to save, it must have been extracted from project

uri ( str ) –

The uri where to save project and timeline

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 project could be save, False otherwize

GES.Project.Save

bool
GES.Project.Save (GES.Timeline,
                  string,
                  GES.Asset,
                  bool)

Save the timeline of project to uri. You should make sure that timeline is one of the timelines that have been extracted from project (using ges_asset_extract (@project);)

Parameters:

timeline

The GES.Timeline to save, it must have been extracted from project

uri

The uri where to save project and timeline

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 project could be save, false otherwize

GES.prototype.save

function GES.prototype.save(timeline: GES.Timeline, uri: String, formatter_asset: GES.Asset, overwrite: Number): {
    // javascript wrapper for 'ges_project_save'
}

Save the timeline of project to uri. You should make sure that timeline is one of the timelines that have been extracted from project (using ges_asset_extract (@project);)

Parameters:

project ( GES.Project ) –

A GES.Project to save

timeline ( GES.Timeline ) –

The GES.Timeline to save, it must have been extracted from project

uri ( String ) –

The uri where to save project and timeline

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 project could be save, false otherwize

Signals

asset-added

asset_added_callback (GESProject * self,
                      GESAsset * asset,
                      gpointer user_data)

Parameters:

self
No description available
asset

The GESAsset that has been added to project

user_data
No description available

Flags: Run Last

asset-added

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

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –

The GES.Asset that has been added to project

user_data ( object ) –
No description available

Flags: Run Last

AssetAdded

AssetAdded_callback (GES.Project,
                     GES.Asset,
                     IntPtr)

Parameters:

self
No description available
asset

The GES.Asset that has been added to project

user_data
No description available

Flags: Run Last

asset-added

function asset_added_callback(self: GES.Project, asset: GES.Asset, user_data: Object): {
    // javascript callback for the 'asset-added' signal
}

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –

The GES.Asset that has been added to project

user_data ( Object ) –
No description available

Flags: Run Last

asset-loading

asset_loading_callback (GESProject * self,
                        GESAsset * asset,
                        gpointer user_data)

Parameters:

self
No description available
asset

The GESAsset that started loading

user_data
No description available

Flags: Run Last

Since : 1.8

asset-loading

def asset_loading_callback (self, asset, user_data):
    #python callback for the 'asset-loading' signal

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –

The GES.Asset that started loading

user_data ( object ) –
No description available

Flags: Run Last

Since : 1.8

AssetLoading

AssetLoading_callback (GES.Project,
                       GES.Asset,
                       IntPtr)

Parameters:

self
No description available
asset

The GES.Asset that started loading

user_data
No description available

Flags: Run Last

Since : 1.8

asset-loading

function asset_loading_callback(self: GES.Project, asset: GES.Asset, user_data: Object): {
    // javascript callback for the 'asset-loading' signal
}

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –

The GES.Asset that started loading

user_data ( Object ) –
No description available

Flags: Run Last

Since : 1.8

asset-removed

asset_removed_callback (GESProject * self,
                        GESAsset * asset,
                        gpointer user_data)

Parameters:

self
No description available
asset

The GESAsset that has been removed from project

user_data
No description available

Flags: Run Last

asset-removed

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

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –

The GES.Asset that has been removed from project

user_data ( object ) –
No description available

Flags: Run Last

AssetRemoved

AssetRemoved_callback (GES.Project,
                       GES.Asset,
                       IntPtr)

Parameters:

self
No description available
asset

The GES.Asset that has been removed from project

user_data
No description available

Flags: Run Last

asset-removed

function asset_removed_callback(self: GES.Project, asset: GES.Asset, user_data: Object): {
    // javascript callback for the 'asset-removed' signal
}

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –

The GES.Asset that has been removed from project

user_data ( Object ) –
No description available

Flags: Run Last

error-loading-asset

error_loading_asset_callback (GESProject * self,
                              GError * error,
                              gchar * id,
                              GType extractable_type,
                              gpointer user_data)

Informs you that a GESAsset could not be created. In case of missing GStreamer plugins, the error will be set to GST_CORE_ERROR GST_CORE_ERROR_MISSING_PLUGIN

Parameters:

self
No description available
error

The GError defining the error that accured, might be NULL

id

The id of the asset that failed loading

extractable_type

The extractable_type of the asset that failed loading

user_data
No description available

Flags: Run Last

error-loading-asset

def error_loading_asset_callback (self, error, id, extractable_type, user_data):
    #python callback for the 'error-loading-asset' signal

Informs you that a GES.Asset could not be created. In case of missing GStreamer plugins, the error will be set to GST_CORE_ERROR (not introspectable) Gst.CoreError.MISSING_PLUGIN

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –

The GLib.Error defining the error that accured, might be None

id ( str ) –

The id of the asset that failed loading

extractable_type ( GObject.Type ) –

The extractable_type of the asset that failed loading

user_data ( object ) –
No description available

Flags: Run Last

ErrorLoadingAsset

ErrorLoadingAsset_callback (GES.Project,
                            GLib.Error,
                            string,
                            GType,
                            IntPtr)

Informs you that a GES.Asset could not be created. In case of missing GStreamer plugins, the error will be set to GST_CORE_ERROR (not introspectable) Gst.CoreError.MissingPlugin

Parameters:

self
No description available
error

The GLib.Error defining the error that accured, might be null

id

The id of the asset that failed loading

extractable_type

The extractable_type of the asset that failed loading

user_data
No description available

Flags: Run Last

error-loading-asset

function error_loading_asset_callback(self: GES.Project, error: GLib.Error, id: String, extractable_type: GObject.Type, user_data: Object): {
    // javascript callback for the 'error-loading-asset' signal
}

Informs you that a GES.Asset could not be created. In case of missing GStreamer plugins, the error will be set to GST_CORE_ERROR (not introspectable) Gst.CoreError.MISSING_PLUGIN

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –

The GLib.Error defining the error that accured, might be null

id ( String ) –

The id of the asset that failed loading

extractable_type ( GObject.Type ) –

The extractable_type of the asset that failed loading

user_data ( Object ) –
No description available

Flags: Run Last

loaded

loaded_callback (GESProject * self,
                 GESTimeline * timeline,
                 gpointer user_data)

Parameters:

self
No description available
timeline

The GESTimeline that complete loading

user_data
No description available

Flags: Run First

loaded

def loaded_callback (self, timeline, user_data):
    #python callback for the 'loaded' signal

Parameters:

self ( GES.Project ) –
No description available
timeline ( GES.Timeline ) –

The GES.Timeline that complete loading

user_data ( object ) –
No description available

Flags: Run First

Loaded

Loaded_callback (GES.Project,
                 GES.Timeline,
                 IntPtr)

Parameters:

self
No description available
timeline

The GES.Timeline that complete loading

user_data
No description available

Flags: Run First

loaded

function loaded_callback(self: GES.Project, timeline: GES.Timeline, user_data: Object): {
    // javascript callback for the 'loaded' signal
}

Parameters:

self ( GES.Project ) –
No description available
timeline ( GES.Timeline ) –

The GES.Timeline that complete loading

user_data ( Object ) –
No description available

Flags: Run First

missing-uri

gchar *
missing_uri_callback (GESProject * self,
                      GError * error,
                      GESAsset * wrong_asset,
                      gpointer user_data)

static gchar source_moved_cb (GESProject *project, GError *error, GESAsset *asset_with_error) { return g_strdup ("file:///the/new/uri.ogg"); }

static int main (int argc, gchar ** argv) { GESTimeline *timeline; GESProject *project = ges_project_new ("file:///some/uri.xges");

g_signal_connect (project, "missing-uri", source_moved_cb, NULL); timeline = ges_asset_extract (GES_ASSET (project)); } ]|

Parameters:

self
No description available
error

The error that happened

wrong_asset

The asset with the wrong ID, you should us it and its content only to find out what the new location is.

user_data
No description available
Returns ( [transfer: full] [allow-none] ) –

The new URI of wrong_asset

Flags: Run Last

missing-uri

def missing_uri_callback (self, error, wrong_asset, user_data):
    #python callback for the 'missing-uri' signal

static gchar source_moved_cb (GESProject *project, GError *error, GESAsset *asset_with_error) { return g_strdup ("file:///the/new/uri.ogg"); }

static int main (int argc, gchar ** argv) { GESTimeline *timeline; GESProject *project = ges_project_new ("file:///some/uri.xges");

g_signal_connect (project, "missing-uri", source_moved_cb, NULL); timeline = ges_asset_extract (GES_ASSET (project)); } ]|

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –

The error that happened

wrong_asset ( GES.Asset ) –

The asset with the wrong ID, you should us it and its content only to find out what the new location is.

user_data ( object ) –
No description available
Returns ( str ) –

The new URI of wrong_asset

Flags: Run Last

MissingUri

string
MissingUri_callback (GES.Project,
                     GLib.Error,
                     GES.Asset,
                     IntPtr)

static gchar source_moved_cb (GESProject *project, GError *error, GESAsset *asset_with_error) { return g_strdup ("file:///the/new/uri.ogg"); }

static int main (int argc, gchar ** argv) { GESTimeline *timeline; GESProject *project = ges_project_new ("file:///some/uri.xges");

g_signal_connect (project, "missing-uri", source_moved_cb, NULL); timeline = ges_asset_extract (GES_ASSET (project)); } ]|

Parameters:

self
No description available
error

The error that happened

wrong_asset

The asset with the wrong ID, you should us it and its content only to find out what the new location is.

user_data
No description available
Returns

The new URI of wrong_asset

Flags: Run Last

missing-uri

function missing_uri_callback(self: GES.Project, error: GLib.Error, wrong_asset: GES.Asset, user_data: Object): {
    // javascript callback for the 'missing-uri' signal
}

static gchar source_moved_cb (GESProject *project, GError *error, GESAsset *asset_with_error) { return g_strdup ("file:///the/new/uri.ogg"); }

static int main (int argc, gchar ** argv) { GESTimeline *timeline; GESProject *project = ges_project_new ("file:///some/uri.xges");

g_signal_connect (project, "missing-uri", source_moved_cb, NULL); timeline = ges_asset_extract (GES_ASSET (project)); } ]|

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –

The error that happened

wrong_asset ( GES.Asset ) –

The asset with the wrong ID, you should us it and its content only to find out what the new location is.

user_data ( Object ) –
No description available
Returns ( String ) –

The new URI of wrong_asset

Flags: Run Last

Properties

LoadingAssets

GES.Asset [] LoadingAssets { get;  }

Get the assets that are being loaded

Flags : Read

UriField

string UriField { get;  }

Retrieve the uri that is currently set on project

Flags : Read

uri

“uri” gchar *

Flags : Read / Write / Construct Only

uri

“uri” str

Flags : Read / Write / Construct Only

Uri

string Uri { get; set;  }

Flags : Read / Write / Construct Only

uri

“uri” String

Flags : Read / Write / Construct Only

Virtual Methods

asset_added

asset_added (GESProject * self,
             GESAsset * asset)

Parameters:

self
No description available
asset
No description available

asset_added

def asset_added (self, asset):
    #python implementation of the 'asset_added' virtual method

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –
No description available

AssetAdded

AssetAdded (GES.Asset)

Parameters:

asset
No description available

asset_added

function asset_added(self: GES.Project, asset: GES.Asset): {
    // javascript implementation of the 'asset_added' virtual method
}

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –
No description available

asset_loading

asset_loading (GESProject * self,
               GESAsset * asset)

Parameters:

self
No description available
asset
No description available

asset_loading

def asset_loading (self, asset):
    #python implementation of the 'asset_loading' virtual method

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –
No description available

AssetLoading

AssetLoading (GES.Asset)

Parameters:

asset
No description available

asset_loading

function asset_loading(self: GES.Project, asset: GES.Asset): {
    // javascript implementation of the 'asset_loading' virtual method
}

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –
No description available

asset_removed

asset_removed (GESProject * self,
               GESAsset * asset)

Parameters:

self
No description available
asset
No description available

asset_removed

def asset_removed (self, asset):
    #python implementation of the 'asset_removed' virtual method

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –
No description available

AssetRemoved

AssetRemoved (GES.Asset)

Parameters:

asset
No description available

asset_removed

function asset_removed(self: GES.Project, asset: GES.Asset): {
    // javascript implementation of the 'asset_removed' virtual method
}

Parameters:

self ( GES.Project ) –
No description available
asset ( GES.Asset ) –
No description available

loaded

gboolean
loaded (GESProject * self,
        GESTimeline * timeline)

Parameters:

self
No description available
timeline
No description available
Returns
No description available

loaded

def loaded (self, timeline):
    #python implementation of the 'loaded' virtual method

Parameters:

self ( GES.Project ) –
No description available
timeline ( GES.Timeline ) –
No description available
Returns ( bool ) –
No description available

Loaded

bool
Loaded (GES.Timeline)

Parameters:

timeline
No description available
Returns
No description available

loaded

function loaded(self: GES.Project, timeline: GES.Timeline): {
    // javascript implementation of the 'loaded' virtual method
}

Parameters:

self ( GES.Project ) –
No description available
timeline ( GES.Timeline ) –
No description available
Returns ( Number ) –
No description available

loading_error

gboolean
loading_error (GESProject * self,
               GError * error,
               gchar * id,
               GType extractable_type)

Parameters:

self
No description available
error
No description available
id
No description available
extractable_type
No description available
Returns
No description available

loading_error

def loading_error (self, error, id, extractable_type):
    #python implementation of the 'loading_error' virtual method

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –
No description available
id ( str ) –
No description available
extractable_type ( GObject.Type ) –
No description available
Returns ( bool ) –
No description available

LoadingError

bool
LoadingError (GLib.Error,
              string,
              GType)

Parameters:

error
No description available
id
No description available
extractable_type
No description available
Returns
No description available

loading_error

function loading_error(self: GES.Project, error: GLib.Error, id: String, extractable_type: GObject.Type): {
    // javascript implementation of the 'loading_error' virtual method
}

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –
No description available
id ( String ) –
No description available
extractable_type ( GObject.Type ) –
No description available
Returns ( Number ) –
No description available

missing_uri

gchar *
missing_uri (GESProject * self,
             GError * error,
             GESAsset * wrong_asset)

Parameters:

self
No description available
error
No description available
wrong_asset
No description available
Returns
No description available

missing_uri

def missing_uri (self, error, wrong_asset):
    #python implementation of the 'missing_uri' virtual method

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –
No description available
wrong_asset ( GES.Asset ) –
No description available
Returns ( str ) –
No description available

MissingUri

string
MissingUri (GLib.Error,
            GES.Asset)

Parameters:

error
No description available
wrong_asset
No description available
Returns
No description available

missing_uri

function missing_uri(self: GES.Project, error: GLib.Error, wrong_asset: GES.Asset): {
    // javascript implementation of the 'missing_uri' virtual method
}

Parameters:

self ( GES.Project ) –
No description available
error ( GLib.Error ) –
No description available
wrong_asset ( GES.Asset ) –
No description available
Returns ( String ) –
No description available

Properties

ParentClass

GES.AssetClass ParentClass { get; set;  }

Flags : Read / Write

GesReserved

IntPtr [] GesReserved { get; set;  }

Flags : Read / Write

Constants

GES_TYPE_PROJECT

#define GES_TYPE_PROJECT            ges_project_get_type()

The results of the search are