Initialization

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

Functions

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. This function should be called from the thread where GES.init was called.

After this call GES should not be used until another GES.init call.


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.

MT safety. GStreamer Editing Services do not guarantee MT safety. An application is required to use GES APIs (including GES.deinit) in the thread where GES.init was called.

Returns (bool)
No description available

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.is_initialized

def GES.is_initialized ():
    #python wrapper for 'ges_is_initialized'

Use this function to check if GES has been initialized with GES.init or GES.init_check.

Returns (bool)

True if initialization has been done, False otherwise.

Since : 1.16


GES.validate_register_action_types

def GES.validate_register_action_types ():
    #python wrapper for 'ges_validate_register_action_types'
Returns (bool)
No description available

GES.version

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

Gets the version number of the GStreamer Editing Services library.


The results of the search are