Initialization

GES needs to be initialized after GStreamer itself. This section contains the various functions to do so.

Functions

ges_deinit

ges_deinit ()

Clean up any resources created by GES in ges_init.

It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.

After this call GES (including this method) should not be used anymore.

GES.deinit

def GES.deinit ():
    #python wrapper for 'ges_deinit'

Clean up any resources created by GES in GES.init.

It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.

After this call GES (including this method) should not be used anymore.

GES.Global.Deinit

GES.Global.Deinit ()

Clean up any resources created by GES in GES.Global.Init.

It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.

After this call GES (including this method) should not be used anymore.

prototype.deinit

function prototype.deinit(): {
    // javascript wrapper for 'ges_deinit'
}

Clean up any resources created by GES in prototype.init.

It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.

After this call GES (including this method) should not be used anymore.

ges_init

gboolean
ges_init ()

Initialize the GStreamer Editing Service. Call this before any usage of GES. You should take care of initilizing GStreamer before calling this function.

Returns
No description available

GES.init

def GES.init ():
    #python wrapper for 'ges_init'

Initialize the GStreamer Editing Service. Call this before any usage of GES. You should take care of initilizing GStreamer before calling this function.

Returns ( bool ) –
No description available

GES.Global.Init

bool
GES.Global.Init ()

Initialize the GStreamer Editing Service. Call this before any usage of GES. You should take care of initilizing GStreamer before calling this function.

Returns
No description available

prototype.init

function prototype.init(): {
    // javascript wrapper for 'ges_init'
}

Initialize the GStreamer Editing Service. Call this before any usage of GES. You should take care of initilizing GStreamer before calling this function.

Returns ( Number ) –
No description available

ges_init_check

gboolean
ges_init_check (int* argc,
                char** argv)

Initializes the GStreamer Editing Services library, setting up internal path lists, and loading evrything needed.

This function will return FALSE if GES could not be initialized for some reason.

Parameters:

argc ( [inout] [allow-none] ) –

pointer to application's argc

argv ( [inout] [array length=argc] [allow-none] ) –

pointer to application's argv

Returns

TRUE if GES could be initialized.

GES.init_check

@raises(GLib.GError)
def GES.init_check (argc, argv):
    #python wrapper for 'ges_init_check'

Initializes the GStreamer Editing Services library, setting up internal path lists, and loading evrything needed.

This function will return False if GES could not be initialized for some reason.

Parameters:

argc ( int ) –

pointer to application's argc

argv ( [ str ] ) –

pointer to application's argv

Returns a tuple made of:

( bool ) –

True if GES could be initialized.

argc ( int ) –

True if GES could be initialized.

argv ( [ str ] ) –

True if GES could be initialized.

GES.Global.InitCheck

bool
GES.Global.InitCheck (int,
                      string [])

Initializes the GStreamer Editing Services library, setting up internal path lists, and loading evrything needed.

This function will return false if GES could not be initialized for some reason.

Parameters:

argc

pointer to application's argc

argv

pointer to application's argv

Returns

true if GES could be initialized.

prototype.init_check

function prototype.init_check(argc: Number, argv: [ String ]): {
    // javascript wrapper for 'ges_init_check'
}

Initializes the GStreamer Editing Services library, setting up internal path lists, and loading evrything needed.

This function will return false if GES could not be initialized for some reason.

Parameters:

argc ( Number ) –

pointer to application's argc

argv ( [ String ] ) –

pointer to application's argv

Returns a tuple made of:

( Number ) –

true if GES could be initialized.

argc ( Number ) –

true if GES could be initialized.

argv ( [ String ] ) –

true if GES could be initialized.

ges_init_get_option_group

GOptionGroup *
ges_init_get_option_group ()

Returns a GOptionGroup with GES's argument specifications. The group is set up to use standard GOption callbacks, so when using this group in combination with GOption parsing methods, all argument parsing and initialization is automated.

This function is useful if you want to integrate GES with other libraries that use GOption (see g_option_context_add_group ).

If you use this function, you should make sure you initialise the GStreamer as one of the very first things in your program. That means you need to use gst_init_get_option_group and add it to the option context before using the ges_init_get_option_group result.

Returns ( [transfer: full] ) –

a pointer to GES's option group.

ges_version

ges_version (guint * major,
             guint * minor,
             guint * micro,
             guint * nano)

Gets the version number of the GStreamer Editing Services library.

Parameters:

major ( [out] ) –

pointer to a guint to store the major version number

minor ( [out] ) –

pointer to a guint to store the minor version number

micro ( [out] ) –

pointer to a guint to store the micro version number

nano ( [out] ) –

pointer to a guint to store the nano version number

GES.version

def GES.version ():
    #python wrapper for 'ges_version'

Gets the version number of the GStreamer Editing Services library.

GES.Global.Version

GES.Global.Version (out  uint,
                    out  uint,
                    out  uint,
                    out  uint)

Gets the version number of the GStreamer Editing Services library.

Parameters:

major

pointer to a guint to store the major version number

minor

pointer to a guint to store the minor version number

micro

pointer to a guint to store the micro version number

nano

pointer to a guint to store the nano version number

prototype.version

function prototype.version(): {
    // javascript wrapper for 'ges_version'
}

Gets the version number of the GStreamer Editing Services library.

The results of the search are