Initialization
GES needs to be initialized after GStreamer itself. This section
contains the various functions to do so.
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.
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.prototype.deinit
function GES.prototype.deinit(): {
}
Clean up any resources created by GES in GES.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.
This function should be called from the thread where GES.prototype.init was called.
After this call GES should not be used until another GES.prototype.init call.
GES.deinit
def 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
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.
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
–
No description available
GES.prototype.init
function GES.prototype.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.prototype.deinit)
in the thread where GES.prototype.init was called.
GES.init
def 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.
ges_init_check
gboolean
ges_init_check (int* argc,
char*** argv,
GError ** error)
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][arraylength=argc][allow-none])
–
pointer to application's argv
error
–
No description available
Returns
–
TRUE if GES could be initialized.
GES.prototype.init_check
function GES.prototype.init_check(argc: Number, argv: [ 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:
pointer to application's argc
pointer to application's argv
Returns a tuple made of:
true if GES could be initialized.
true if GES could be initialized.
true if GES could be initialized.
GES.init_check
@raises(GLib.GError)
def GES.init_check (argc, 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:
pointer to application's argc
pointer to application's argv
Returns a tuple made of:
True if GES could be initialized.
True if GES could be initialized.
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_is_initialized
gboolean
ges_is_initialized ()
Use this function to check if GES has been initialized with ges_init
or ges_init_check.
Returns
–
TRUE if initialization has been done, FALSE otherwise.
Since : 1.16
GES.is_initialized
def GES.is_initialized ():
Use this function to check if GES has been initialized with GES.init
or GES.init_check.
True if initialization has been done, False otherwise.
Since : 1.16
ges_version
ges_version (guint * major,
guint * minor,
guint * micro,
guint * nano)
Gets the version number of the GStreamer Editing Services library.
Parameters:
pointer to a guint to store the major version number
pointer to a guint to store the minor version number
pointer to a guint to store the micro version number
pointer to a guint to store the nano version number
GES.prototype.version
function GES.prototype.version(): {
}
Gets the version number of the GStreamer Editing Services library.
GES.version
def GES.version ():
Gets the version number of the GStreamer Editing Services library.