Functions

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.

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.

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.

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.

Returns the default threshold that is used for new categories.

Checks if debugging output is activated.

Checks if the debugging output should be colored.

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

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

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

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

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.

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

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

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.

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

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

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

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.

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.

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

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

Gets the version number of the GStreamer library.

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