Module gstreamer::functions[][src]

Functions

debug_add_ring_buffer_loggerv1_14

Adds a memory ringbuffer based debug logger that stores up to max_size_per_thread bytes of logs per thread and times out threads after thread_timeout seconds of inactivity.

debug_bin_to_dot_data

To aid debugging applications one can use this method to obtain the whole network of gstreamer elements that form the pipeline into a dot file. This data can be processed with graphviz to get an image.

debug_bin_to_dot_file

To aid debugging applications one can use this method to write out the whole network of gstreamer elements that form the pipeline into a dot file. This file can be processed with graphviz to get an image.

debug_bin_to_dot_file_with_ts

This works like debug_bin_to_dot_file(), but adds the current timestamp to the filename, so that it can be used to take multiple snapshots.

debug_get_default_threshold

Returns the default threshold that is used for new categories.

debug_get_stack_tracev1_12

flags

debug_is_active

Checks if debugging output is activated.

debug_is_colored

Checks if the debugging output should be colored.

debug_print_stack_trace

If libunwind, glibc backtrace or DbgHelp are present a stack trace is printed.

debug_remove_ring_buffer_loggerv1_14

Removes any previously added ring buffer logger with debug_add_ring_buffer_logger().

debug_ring_buffer_logger_get_logsv1_14

Fetches the current logs per thread from the ring buffer logger. See debug_add_ring_buffer_logger() for details.

debug_set_active

If activated, debugging messages are sent to the debugging handlers. It makes sense to deactivate it for speed issues.

debug_set_colored

Sets or unsets the use of coloured debugging output. Same as gst_debug_set_color_mode () with the argument being being GST_DEBUG_COLOR_MODE_ON or GST_DEBUG_COLOR_MODE_OFF.

debug_set_default_threshold

Sets the default threshold to the given level and updates all categories to use this threshold.

debug_set_threshold_for_name

Sets all categories which match the given glob style pattern to the given level.

debug_set_threshold_from_string

Sets the debug logging wanted in the same form as with the GST_DEBUG environment variable. You can use wildcards such as ‘*’, but note that the order matters when you use wild cards, e.g. “foosrc:6,src:3,:2” sets everything to log level 2.

debug_unset_threshold_for_name

Resets all categories with the given name back to the default level.

main_executable_pathv1_14

This helper is mostly helpful for plugins that need to inspect the folder of the main executable to determine their set of features.

parse_bin_from_description

This is a convenience wrapper around parse_launch() to create a Bin from a gst-launch-style pipeline description. See parse_launch() and the gst-launch man page for details about the syntax. Ghost pads on the bin for unlinked source or sink pads within the bin can automatically be created (but only a maximum of one ghost pad for each direction will be created; if you expect multiple unlinked source pads or multiple unlinked sink pads and want them all ghosted, you will have to create the ghost pads yourself).

parse_launch

Create a new pipeline based on command line syntax. Please note that you might get a return value that is not None even though the error is set. In this case there was a recoverable parsing error and you can try to play the pipeline.

parse_launchv

Create a new element based on command line syntax. error will contain an error message if an erroneous pipeline is specified. An error does not mean that the pipeline could not be constructed.

type_mark_as_plugin_apiv1_18

Marks type_ as plugin API. This should be called in class_init of elements that expose new types (i.e. enums, flags or internal GObjects) via properties, signals or pad templates.

update_registry

Forces GStreamer to re-scan its plugin paths and update the default plugin registry.

util_get_timestamp

Get a timestamp as GstClockTime to be used for interval measurements. The timestamp should not be interpreted in any other way.

version

Gets the version number of the GStreamer library.

version_string

This function returns a string that is useful for describing this version of GStreamer to the outside world: user agent strings, logging, …