Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GStreamer |
Namespace : | Gst |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gst.BUFFER_COPY_ALL : 0
|
|
Number Gst.BUFFER_OFFSET_NONE : -1
|
|
String Gst.BUFFER_TRACE_NAME : GstBuffer
|
|
Number Gst.CAN_INLINE : 1
|
|
String Gst.CLOCK_ENTRY_TRACE_NAME : GstClockEntry
|
|
Number Gst.CLOCK_TIME_NONE : -1
|
|
Number Gst.DEBUG_BG_MASK : 240
|
|
Number Gst.DEBUG_FG_MASK : 15
|
|
Number Gst.DEBUG_FORMAT_MASK : 65280
|
|
String Gst.ERROR_SYSTEM : system error: %s
|
|
String Gst.EVENT_TRACE_NAME : GstEvent
|
|
Number Gst.EVENT_TYPE_BOTH : 0
|
|
Number Gst.EVENT_TYPE_SHIFT : 4
|
|
String Gst.FOURCC_FORMAT : c%c%c%c
|
|
Number Gst.INDEX_ID_INVALID : -1
|
|
String Gst.LICENSE_UNKNOWN : unknown
|
|
String Gst.MESSAGE_TRACE_NAME : GstMessage
|
|
Number Gst.MSECOND : 0
|
|
Number Gst.M_PI : 1413754602
|
|
Number Gst.NSECOND : 0
|
|
Number Gst.PARAM_CONTROLLABLE : 2
|
|
Number Gst.PARAM_MUTABLE_PAUSED : 8
|
|
Number Gst.PARAM_MUTABLE_PLAYING : 16
|
|
Number Gst.PARAM_MUTABLE_READY : 4
|
|
Number Gst.PARAM_USER_SHIFT : 256
|
|
Number Gst.SECOND : 0
|
|
String Gst.TAG_ALBUM : album
|
|
String Gst.TAG_ALBUM_ARTIST : album-artist
|
|
String Gst.TAG_ALBUM_ARTIST_SORTNAME : album-artist-sortname
|
|
String Gst.TAG_ALBUM_GAIN : replaygain-album-gain
|
|
String Gst.TAG_ALBUM_PEAK : replaygain-album-peak
|
|
String Gst.TAG_ALBUM_SORTNAME : album-sortname
|
|
String Gst.TAG_ALBUM_VOLUME_COUNT : album-disc-count
|
|
String Gst.TAG_ALBUM_VOLUME_NUMBER : album-disc-number
|
|
String Gst.TAG_ARTIST : artist
|
|
String Gst.TAG_ARTIST_SORTNAME : musicbrainz-sortname
|
|
String Gst.TAG_ATTACHMENT : attachment
|
|
String Gst.TAG_AUDIO_CODEC : audio-codec
|
|
String Gst.TAG_BEATS_PER_MINUTE : beats-per-minute
|
|
String Gst.TAG_BITRATE : bitrate
|
|
String Gst.TAG_CODEC : codec
|
|
String Gst.TAG_COMMENT : comment
|
|
String Gst.TAG_COMPOSER : composer
|
|
String Gst.TAG_COMPOSER_SORTNAME : composer-sortname
|
|
String Gst.TAG_CONTACT : contact
|
|
String Gst.TAG_CONTAINER_FORMAT : container-format
|
|
String Gst.TAG_COPYRIGHT : copyright
|
|
String Gst.TAG_COPYRIGHT_URI : copyright-uri
|
|
String Gst.TAG_DATE : date
|
|
String Gst.TAG_DESCRIPTION : description
|
|
String Gst.TAG_DURATION : duration
|
|
String Gst.TAG_ENCODER : encoder
|
|
String Gst.TAG_ENCODER_VERSION : encoder-version
|
|
String Gst.TAG_EXTENDED_COMMENT : extended-comment
|
|
String Gst.TAG_GENRE : genre
|
|
String Gst.TAG_GEO_LOCATION_CITY : geo-location-city
|
|
String Gst.TAG_GEO_LOCATION_COUNTRY : geo-location-country
|
|
String Gst.TAG_GEO_LOCATION_ELEVATION : geo-location-elevation
|
|
String Gst.TAG_GEO_LOCATION_LATITUDE : geo-location-latitude
|
|
String Gst.TAG_GEO_LOCATION_LONGITUDE : geo-location-longitude
|
|
String Gst.TAG_GEO_LOCATION_NAME : geo-location-name
|
|
String Gst.TAG_GEO_LOCATION_SUBLOCATION : geo-location-sublocation
|
|
String Gst.TAG_GROUPING : grouping
|
|
String Gst.TAG_HOMEPAGE : homepage
|
|
String Gst.TAG_IMAGE : image
|
|
String Gst.TAG_ISRC : isrc
|
|
String Gst.TAG_KEYWORDS : keywords
|
|
String Gst.TAG_LANGUAGE_CODE : language-code
|
|
String Gst.TAG_LICENSE : license
|
|
String Gst.TAG_LICENSE_URI : license-uri
|
|
String Gst.TAG_LOCATION : location
|
|
String Gst.TAG_LYRICS : lyrics
|
|
String Gst.TAG_MAXIMUM_BITRATE : maximum-bitrate
|
|
String Gst.TAG_MINIMUM_BITRATE : minimum-bitrate
|
|
String Gst.TAG_NOMINAL_BITRATE : nominal-bitrate
|
|
String Gst.TAG_ORGANIZATION : organization
|
|
String Gst.TAG_PERFORMER : performer
|
|
String Gst.TAG_PREVIEW_IMAGE : preview-image
|
|
String Gst.TAG_REFERENCE_LEVEL : replaygain-reference-level
|
|
String Gst.TAG_SERIAL : serial
|
|
String Gst.TAG_SHOW_EPISODE_NUMBER : show-episode-number
|
|
String Gst.TAG_SHOW_NAME : show-name
|
|
String Gst.TAG_SHOW_SEASON_NUMBER : show-season-number
|
|
String Gst.TAG_SHOW_SORTNAME : show-sortname
|
|
String Gst.TAG_SUBTITLE_CODEC : subtitle-codec
|
|
String Gst.TAG_TITLE : title
|
|
String Gst.TAG_TITLE_SORTNAME : title-sortname
|
|
String Gst.TAG_TRACK_COUNT : track-count
|
|
String Gst.TAG_TRACK_GAIN : replaygain-track-gain
|
|
String Gst.TAG_TRACK_NUMBER : track-number
|
|
String Gst.TAG_TRACK_PEAK : replaygain-track-peak
|
|
String Gst.TAG_USER_RATING : user-rating
|
|
String Gst.TAG_VERSION : version
|
|
String Gst.TAG_VIDEO_CODEC : video-codec
|
|
String Gst.TIME_FORMAT : u:%02u:%02u.%09u
|
|
Number Gst.USECOND : 0
|
|
Number Gst.VALUE_EQUAL : 0
|
|
Number Gst.VALUE_GREATER_THAN : 1
|
|
Number Gst.VALUE_LESS_THAN : -1
|
|
Number Gst.VALUE_UNORDERED : 2
|
None |
Method / Constructor | Defined By | |
---|---|---|
Gst.alloc_trace_available
()
:
Boolean
Check if alloc tracing was compiled into the core tracing enabled.
Check if alloc tracing was compiled into the core tracing enabled.
|
Gst | |
Get the named alloc trace object.
Get the named alloc trace object. no alloc tracer was registered with that name.
|
Gst | |
Gst.alloc_trace_list
()
:
Array
Get a list of all registered alloc trace objects.
Get a list of all registered alloc trace objects.
|
Gst | |
Gst.alloc_trace_live_all
()
:
Number
Get the total number of live registered alloc trace objects.
Get the total number of live registered alloc trace objects.
|
Gst | |
Gst.alloc_trace_print_all
()
:
none
Print the status of all registered alloc trace objects.
Print the status of all registered alloc trace objects.
|
Gst | |
Gst.alloc_trace_print_live
()
:
none
Print the status of all registered alloc trace objects, ignoring those without live objects.
Print the status of all registered alloc trace objects, ignoring those without live objects.
|
Gst | |
Gst.alloc_trace_set_flags_all
(AllocTraceFlags flags)
:
none
Enable the specified options on all registered alloc trace objects.
Enable the specified options on all registered alloc trace objects.
|
Gst | |
Gst | ||
Tries to create a newly allocated buffer with data of the given size.
Tries to create a newly allocated buffer with data of the given size. If the requested amount of memory can't be allocated, NULL will be returned. The buffer memory is not cleared. Note that when size == 0, the buffer data pointer will be NULL. MT safe.
|
Gst | |
Gst | ||
Creates a GstCaps from its XML serialization.
Creates a GstCaps from its XML serialization.
|
Gst | |
Emits the "child-added" signal.
Emits the "child-added" signal.
|
Gst | |
Emits the "child-removed" signal.
Emits the "child-removed" signal.
|
Gst | |
Gets a single property using the GstChildProxy mechanism.
Gets a single property using the GstChildProxy mechanism. You are responsible for for freeing it by calling g_value_unset()
|
Gst | |
Looks up which object and GParamSpec would be effected by the given name.
Looks up which object and GParamSpec would be effected by the given name. case the values for pspec and target are not modified. Unref target after usage. MT safe.
|
Gst | |
Sets a single property using the GstChildProxy mechanism.
Sets a single property using the GstChildProxy mechanism.
|
Gst | |
|
Gst | |
emits the named class signal.
emits the named class signal.
|
Gst | |
Adds the logging function to the list of logging functions.
Adds the logging function to the list of logging functions. Be sure to use G_GNUC_NO_INSTRUMENT on that function, it is needed.
|
Gst | |
Gst | ||
Constructs an integer that can be used for getting the desired color in windows' terminals (cmd.exe).
|
Gst | |
Gst.debug_get_all_categories
()
:
Array
Returns a snapshot of a all categories that are currently in use .
Returns a snapshot of a all categories that are currently in use . This list may change anytime. The caller has to free the list after use.
|
Gst | |
Gst.debug_get_default_threshold
()
:
Gst.DebugLevel
Returns the default threshold that is used for new categories.
Returns the default threshold that is used for new categories.
|
Gst | |
Gst.debug_is_active
()
:
Boolean
Checks if debugging output is activated.
Checks if debugging output is activated.
|
Gst | |
Gst.debug_is_colored
()
:
Boolean
Checks if the debugging output should be colored.
Checks if the debugging output should be colored.
|
Gst | |
Get the string representation of a debugging level
Get the string representation of a debugging level
|
Gst | |
Gst.debug_log_default
(DebugCategory category, DebugLevel level, String file, String function, Number line, Object object, DebugMessage message, void* unused)
:
none
The default logging handler used by GStreamer.
The default logging handler used by GStreamer. Logging functions get called whenever a macro like GST_DEBUG or similar is used. This function outputs the message and additional info using the glib error handler. You can add other handlers by using gst_debug_add_log_function(). And you can remove this handler by calling gst_debug_remove_log_function(gst_debug_log_default);
|
Gst | |
Gst.debug_print_stack_trace
()
:
none
If GST_ENABLE_FUNC_INSTRUMENTATION is defined a stacktrace is available for gstreamer code, which can be printed with this function.
If GST_ENABLE_FUNC_INSTRUMENTATION is defined a stacktrace is available for gstreamer code, which can be printed with this function.
|
Gst | |
Removes all registered instances of the given logging functions.
Removes all registered instances of the given logging functions.
|
Gst | |
Gst | ||
Gst.debug_set_active
(Boolean active)
:
none
If activated, debugging messages are sent to the debugging handlers.
If activated, debugging messages are sent to the debugging handlers. It makes sense to deactivate it for speed issues.
|
Gst | |
Gst.debug_set_colored
(Boolean colored)
:
none
Sets or unsets the use of coloured debugging output.
Sets or unsets the use of coloured debugging output.
|
Gst | |
Gst.debug_set_default_threshold
(DebugLevel level)
:
none
Sets the default threshold to the given level and updates all categories to use this threshold.
Sets the default threshold to the given level and updates all categories to use this threshold.
|
Gst | |
Sets all categories which match the given glob style pattern to the given level.
Sets all categories which match the given glob style pattern to the given level.
|
Gst | |
Gst.debug_unset_threshold_for_name
(String name)
:
none
Resets all categories with the given name back to the default level.
Resets all categories with the given name back to the default level.
|
Gst | |
Gst.default_registry_check_feature_version
(String feature_name, Number min_major, Number min_minor, Number min_micro)
:
Boolean
Checks whether a plugin feature by the given name exists in the default registry and whether its version is at least the version required.
Checks whether a plugin feature by the given name exists in the default registry and whether its version is at least the version required. the same as the required version or newer, and FALSE otherwise.
|
Gst | |
Gst.deinit
()
:
none
Clean up any resources created by GStreamer in gst_init().
Clean up any resources created by GStreamer in gst_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 GStreamer (including this method) should not be used anymore.
|
Gst | |
Gst | ||
Gets the GstEventTypeFlags associated with type.
Gets the GstEventTypeFlags associated with type.
|
Gst | |
Get a printable name for the given event type.
Get a printable name for the given event type. Do not modify or free.
|
Gst | |
Get the unique quark for the given event type.
Get the unique quark for the given event type.
|
Gst | |
Iterates over the elements in list, calling func with the list item data for each item.
Iterates over the elements in list, calling func with the list item data for each item. If func returns TRUE, data is prepended to the list of results returned. If first is true, the search is halted after the first result is found. Since gst_filter_run() knows nothing about the type of data, no reference will be taken (if data refers to an object) and no copy of results. (the data contained in the list is a flat copy and does need to be unreferenced or freed).
|
Gst | |
Gets a string representing the given flow return.
Gets a string representing the given flow return.
|
Gst | |
Get the unique quark for the given GstFlowReturn.
Get the unique quark for the given GstFlowReturn. invalid return was specified.
|
Gst | |
Return the format registered with the given nick.
Return the format registered with the given nick. if the format was not registered.
|
Gst | |
Get details about the given format.
Get details about the given format. MT safe.
|
Gst | |
Get a printable name for the given format.
Get a printable name for the given format. Do not modify or free. the format is unknown.
|
Gst | |
Gst.format_iterate_definitions
()
:
Gst.Iterator
Iterate all the registered formats.
Iterate all the registered formats. The format definition is read only.
|
Gst | |
Create a new GstFormat based on the nick or return an already registered format with that nick.
Create a new GstFormat based on the nick or return an already registered format with that nick. with the same nick. MT safe.
|
Gst | |
Get the unique quark for the given format.
Get the unique quark for the given format. is unknown.
|
Gst | |
See if the given format is inside the format array.
See if the given format is inside the format array.
|
Gst | |
cast a given object to an interface type, and check whether this interface is supported for this specific instance.
|
Gst | |
check a given object for an interface implementation, and check whether this interface is supported for this specific instance.
|
Gst | |
Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.
Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins. Unless the plugin registry is disabled at compile time, the registry will be loaded. By default this will also check if the registry cache needs to be updated and rescan all plugins if needed. See gst_update_registry() for details and section Running GStreamer Applications for how to disable automatic registry updates. This function should be called before calling any other GLib functions. If this is not an option, your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called.
|
Gst | |
Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.
Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins. This function will return FALSE if GStreamer could not be initialized for some reason. If you want your program to fail fatally, use gst_init() instead. This function should be called before calling any other GLib functions. If this is not an option, your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called.
|
Gst | |
Gst.init_get_option_group
()
:
GLib.OptionGroup
Returns a GOptionGroup with GStreamer's argument specifications.
Returns a GOptionGroup with GStreamer'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 GStreamer with other libraries that use GOption (see g_option_context_add_group() ). If you use this function, you should make sure you initialise the GLib threading system as one of the very first things in your program (see the example at the beginning of this section).
|
Gst | |
Gst | ||
Get a printable name for the given message type.
Get a printable name for the given message type. Do not modify or free.
|
Gst | |
Get the unique quark for the given message type.
Get the unique quark for the given message type.
|
Gst | |
Gst.param_spec_fraction
(String name, String nick, String blurb, Number min_num, Number min_denom, Number max_num, Number max_denom, Number default_num, Number default_denom, ParamFlags flags)
:
GObject.ParamSpec
This function creates a fraction GParamSpec for use by objects/elements that want to expose properties of fraction type.
This function creates a fraction GParamSpec for use by objects/elements that want to expose properties of fraction type. This function is typically used in connection with g_object_class_install_property() in a GObjects's instance_init function.
|
Gst | |
Gst.param_spec_mini_object
(String name, String nick, String blurb, Number object_type, ParamFlags flags)
:
GObject.ParamSpec
Creates a new GParamSpec instance that hold GstMiniObject references.
Creates a new GParamSpec instance that hold GstMiniObject references.
|
Gst | |
This is a convenience wrapper around gst_parse_launch() to create a GstBin from a gst-launch-style pipeline description.
This is a convenience wrapper around gst_parse_launch() to create a GstBin from a gst-launch-style pipeline description. See gst_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).
|
Gst | |
Gst.parse_bin_from_description_full
(String bin_description, Boolean ghost_unlinked_pads, ParseContext context, ParseFlags flags)
:
Gst.Element
This is a convenience wrapper around gst_parse_launch() to create a GstBin from a gst-launch-style pipeline description.
This is a convenience wrapper around gst_parse_launch() to create a GstBin from a gst-launch-style pipeline description. See gst_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).
|
Gst | |
Create a new pipeline based on command line syntax.
Create a new pipeline based on command line syntax. Please note that you might get a return value that is not NULL even though the error is set. In this case there was a recoverable parsing error and you can try to play the pipeline. element is specified by the pipeline_description, all elements are put into a GstPipeline, which than is returned.
|
Gst | |
Gst.parse_launch_full
(String pipeline_description, ParseContext context, ParseFlags flags)
:
Gst.Element
Create a new pipeline based on command line syntax.
Create a new pipeline based on command line syntax. Please note that you might get a return value that is not NULL even though the error is set. In this case there was a recoverable parsing error and you can try to play the pipeline. element is specified by the pipeline_description, all elements are put into a GstPipeline, which then is returned.
|
Gst | |
Create a new element based on command line syntax.
Create a new element based on command line syntax. An error does not mean that the pipeline could not be constructed.
|
Gst | |
Create a new element based on command line syntax.
Create a new element based on command line syntax. An error does not mean that the pipeline could not be constructed. partially-constructed bin or element will be returned and error will be set (unless you passed GST_PARSE_FLAG_FATAL_ERRORS in flags, then NULL will always be returned on failure)
|
Gst | |
Print the element argument in a human readable format in the given GString.
Print the element argument in a human readable format in the given GString.
|
Gst | |
Write the pad capabilities in a human readable format into the given GString.
Write the pad capabilities in a human readable format into the given GString.
|
Gst | |
Get the query type registered with nick.
Get the query type registered with nick. if the query was not registered.
|
Gst | |
Get details about the given GstQueryType.
Get details about the given GstQueryType.
|
Gst | |
Get a printable name for the given query type.
Get a printable name for the given query type. Do not modify or free.
|
Gst | |
Gst.query_type_iterate_definitions
()
:
Gst.Iterator
Get a GstIterator of all the registered query types.
Get a GstIterator of all the registered query types. The definitions iterated over are read only.
|
Gst | |
Create a new GstQueryType based on the nick or return an already registered query with that nick with the same nick.
Create a new GstQueryType based on the nick or return an already registered query with that nick with the same nick.
|
Gst | |
Get the unique quark for the given query type.
Get the unique quark for the given query type.
|
Gst | |
See if the given GstQueryType is inside the types query types array.
See if the given GstQueryType is inside the types query types array.
|
Gst | |
Gst.segtrap_is_enabled
()
:
Boolean
Some functions in the GStreamer core might install a custom SIGSEGV handler to better catch and report errors to the application.
Some functions in the GStreamer core might install a custom SIGSEGV handler to better catch and report errors to the application. Currently this feature is enabled by default when loading plugins. Applications might want to disable this behaviour with the gst_segtrap_set_enabled() function. This is typically done if the application wants to install its own handler without GStreamer interfering.
|
Gst | |
Gst.segtrap_set_enabled
(Boolean enabled)
:
none
Applications might want to disable/enable the SIGSEGV handling of the GStreamer core.
Applications might want to disable/enable the SIGSEGV handling of the GStreamer core. See gst_segtrap_is_enabled() for more information.
|
Gst | |
Creates a new, empty GstStructure with the given name.
Creates a new, empty GstStructure with the given name. See gst_structure_set_name() for constraints on the name parameter.
|
Gst | |
Creates a GstStructure from a string representation.
Creates a GstStructure from a string representation. If end is not NULL, a pointer to the place inside the given string where parsing ended will be returned. be parsed. Free with gst_structure_free() after use.
|
Gst | |
Creates a new, empty GstStructure with the given name as a GQuark.
Creates a new, empty GstStructure with the given name as a GQuark.
|
Gst | |
Gst | ||
Gst | ||
Gets the flag of tag.
Gets the flag of tag.
|
Gst | |
Gst | ||
Gst | ||
Gst | ||
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag.
Copies the contents for the given tag into the value, merging multiple values into one if multiple values are associated with the tag. You must g_value_unset() the value after use.
|
Gst | |
This is a convenience function for the func argument of gst_tag_register().
This is a convenience function for the func argument of gst_tag_register(). It concatenates all given strings using a comma. The tag must be registered as a G_TYPE_STRING or this function will fail.
|
Gst | |
This is a convenience function for the func argument of gst_tag_register().
This is a convenience function for the func argument of gst_tag_register(). It creates a copy of the first value from the list.
|
Gst | |
Gst.tag_register
(String name, TagFlag flag, Number type, String nick, String blurb, Function func)
:
none
Registers a new tag type for the use with GStreamer's type system.
Registers a new tag type for the use with GStreamer's type system. If a type with that name is already registered, that one is used. The old registration may have used a different type however. So don't rely on your supplied values. that there can only be one single value for this tag in a tag list and any additional values will silenty be discarded when being added (unless GST_TAG_MERGE_REPLACE, GST_TAG_MERGE_REPLACE_ALL, or GST_TAG_MERGE_PREPEND is used as merge mode, in which case the new value will replace the old one in the list). The merge function will be called from gst_tag_list_copy_value() when it is required that one or more values for a tag be condensed into one single value. This may happen from gst_tag_list_get_string(), gst_tag_list_get_int(), gst_tag_list_get_double() etc. What will happen exactly in that case depends on how the tag was registered and if a merge function was supplied and if so which one. gst_tag_merge_strings_with_comma().
|
Gst | |
Gst.trace_read_tsc
()
:
Number
Read a platform independent timer value that can be used in benchmarks.
Read a platform independent timer value that can be used in benchmarks.
|
Gst | |
Gst.type_find_register
(Plugin plugin, String name, Number rank, Function func, Array extensions, Caps possible_caps, void* data, Function data_notify)
:
Boolean
Registers a new typefind function to be used for typefinding.
Registers a new typefind function to be used for typefinding. After registering this function will be available for typefinding. This function is typically called during an element's plugin initialization.
|
Gst | |
Gst.type_register_static_full
(Number parent_type, String type_name, Number class_size, Function base_init, Function base_finalize, Function class_init, Function class_finalize, void* class_data, Number instance_size, Number n_preallocs, Function instance_init, TypeValueTable value_table, TypeFlags flags)
:
Number
Helper function which constructs a GTypeInfo structure and registers a GType, but which generates less linker overhead than a static const GTypeInfo structure.
Helper function which constructs a GTypeInfo structure and registers a GType, but which generates less linker overhead than a static const GTypeInfo structure. For further details of the parameters, please see GTypeInfo in the GLib documentation. Registers type_name as the name of a new static type derived from parent_type. The value of flags determines the nature (e.g. abstract or not) of the type. It works by filling a GTypeInfo struct and calling g_type_register_static().
|
Gst | |
Gst.update_registry
()
:
Boolean
Forces GStreamer to re-scan its plugin paths and update the default plugin registry.
Forces GStreamer to re-scan its plugin paths and update the default plugin registry. Applications will almost never need to call this function, it is only useful if the application knows new plugins have been installed (or old ones removed) since the start of the application (or, to be precise, the first call to gst_init()) and the application wants to make use of any newly-installed plugins without restarting the application. Applications should assume that the registry update is neither atomic nor thread-safe and should therefore not have any dynamic pipelines running (including the playbin and decodebin elements) and should also not create any elements or access the GStreamer registry while the update is in progress. Note that this function may block for a significant amount of time.
|
Gst | |
Gst | ||
Extracts the location out of a given valid URI, ie.
Extracts the location out of a given valid URI, ie. the protocol and "://" are stripped from the URI, which means that the location returned includes the hostname if one is specified. The returned string must be freed using g_free(). the URI does not contain a location, an empty string is returned.
|
Gst | |
Gst | ||
Gst | ||
Gst | ||
Checks if an element exists that supports the given URI protocol.
Checks if an element exists that supports the given URI protocol. Note that a positive return value does not imply that a subsequent call to gst_element_make_from_uri() is guaranteed to work.
|
Gst | |
Tests if the given string is a valid protocol identifier.
|
Gst | |
Gst.util_array_binary_search
(void* array, Number num_elements, Number element_size, Function search_func, SearchMode mode, void* search_data, void* user_data)
:
void*
Searches inside array for search_data by using the comparison function As search_data is always passed as second argument to search_func it's not required that search_data has the same type as the array elements.
Searches inside array for search_data by using the comparison function As search_data is always passed as second argument to search_func it's not required that search_data has the same type as the array elements. The complexity of this search function is O(log (num_elements)).
|
Gst | |
Gst | ||
Gst | ||
Adds the fractions a_n/a_d and b_n/b_d and stores the result in res_n and res_d.
|
Gst | |
Gst.util_fraction_multiply
(Number a_n, Number a_d, Number b_n, Number b_d, Object out_values)
:
Boolean
Multiplies the fractions a_n/a_d and b_n/b_d and stores the result in res_n and res_d.
|
Gst | |
Gst | ||
Gst | ||
Gst.util_get_timestamp
()
:
Number
Get a timestamp as GstClockTime to be used for interval meassurements.
Get a timestamp as GstClockTime to be used for interval meassurements. The timestamp should not be interpreted in any other way.
|
Gst | |
Gst | ||
Gst | ||
Gst | ||
Gst.util_seqnum_next
()
:
Number
Return a constantly incrementing sequence number.
Return a constantly incrementing sequence number. This function is used internally to GStreamer to be able to determine which events and messages are "the same". For example, elements may set the seqnum on a segment-done message to be the same as that of the last seek event, to indicate that event and the message correspond to the same segment. overflow back to 0 at some point. Use gst_util_seqnum_compare() to make sure you handle wraparound correctly.
|
Gst | |
Convertes the string value to the type of the objects argument and sets the argument with it.
Convertes the string value to the type of the objects argument and sets the argument with it. Note that this function silently returns if object has no property named
|
Gst | |
Converts the string to the type of the value and sets the value with it.
Converts the string to the type of the value and sets the value with it. Note that this function is dangerous as it does not return any indication if the conversion worked or not.
|
Gst | |
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision.
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision. This function can potentially be very slow if val and num are both greater than G_MAXUINT32. function returns G_MAXUINT64. If the result is not exactly representable as an integer it is truncated. See also gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil(), gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil().
|
Gst | |
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision.
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision. This function can potentially be very slow if val and num are both greater than G_MAXUINT32. function returns G_MAXUINT64. If the result is not exactly representable as an integer, it is rounded up. See also gst_util_uint64_scale(), gst_util_uint64_scale_round(), gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil().
|
Gst | |
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision.
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision. num must be non-negative and function returns G_MAXUINT64. If the result is not exactly representable as an integer, it is truncated. See also gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil(), gst_util_uint64_scale(), gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil().
|
Gst | |
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision.
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision. num must be non-negative and function returns G_MAXUINT64. If the result is not exactly representable as an integer, it is rounded up. See also gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(), gst_util_uint64_scale(), gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil().
|
Gst | |
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision.
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision. num must be non-negative and function returns G_MAXUINT64. If the result is not exactly representable as an integer, it is rounded to the nearest integer (half-way cases are rounded up). See also gst_util_uint64_scale_int(), gst_util_uint64_scale_int_ceil(), gst_util_uint64_scale(), gst_util_uint64_scale_round(), gst_util_uint64_scale_ceil().
|
Gst | |
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision.
Scale val by the rational number num / denom, avoiding overflows and underflows and without loss of precision. This function can potentially be very slow if val and num are both greater than G_MAXUINT32. function returns G_MAXUINT64. If the result is not exactly representable as an integer, it is rounded to the nearest integer (half-way cases are rounded up). See also gst_util_uint64_scale(), gst_util_uint64_scale_ceil(), gst_util_uint64_scale_int(), gst_util_uint64_scale_int_round(), gst_util_uint64_scale_int_ceil().
|
Gst | |
Appends append_value to the GstValueArray in value.
Appends append_value to the GstValueArray in value.
|
Gst | |
Gets the number of values contained in value.
Gets the number of values contained in value.
|
Gst | |
Gets the value that is a member of the array contained in value and has the index index.
Gets the value that is a member of the array contained in value and has the index index.
|
Gst | |
Prepends prepend_value to the GstValueArray in value.
Prepends prepend_value to the GstValueArray in value.
|
Gst | |
Determines if value1 and value2 can be compared.
Determines if value1 and value2 can be compared.
|
Gst | |
Determines if intersecting two values will produce a valid result.
Determines if intersecting two values will produce a valid result. Two values will produce a valid intersection if they have the same type, or if there is a method (registered by gst_value_register_intersect_func()) to calculate the intersection.
|
Gst | |
Checks if it's possible to subtract subtrahend from minuend.
Checks if it's possible to subtract subtrahend from minuend.
|
Gst | |
Determines if value1 and value2 can be non-trivially unioned.
Determines if value1 and value2 can be non-trivially unioned. Any two values can be trivially unioned by adding both of them to a GstValueList. However, certain types have the possibility to be unioned in a simpler way. For example, an integer range and an integer can be unioned if the integer is a subset of the integer range. If there is the possibility that two values can be unioned, this function returns TRUE. be unioned.
|
Gst | |
Compares value1 and value2.
Compares value1 and value2. If value1 and value2 cannot be compared, the function returns GST_VALUE_UNORDERED. Otherwise, if value1 is greater than value2, GST_VALUE_GREATER_THAN is returned. If value1 is less than value2, GST_VALUE_LESS_THAN is returned. If the values are equal, GST_VALUE_EQUAL is returned.
|
Gst | |
Tries to deserialize a string into the type specified by the given GValue.
Tries to deserialize a string into the type specified by the given GValue. If the operation succeeds, TRUE is returned, FALSE otherwise.
|
Gst | |
Get the contents of a GST_TYPE_MINI_OBJECT derived GValue, increasing its reference count.
Get the contents of a GST_TYPE_MINI_OBJECT derived GValue, increasing its reference count.
|
Gst | |
Multiplies the two GValue items containing a GST_TYPE_FRACTION and sets
Multiplies the two GValue items containing a GST_TYPE_FRACTION and sets
|
Gst | |
Subtracts the subtrahend from the minuend and sets dest to the result.
Subtracts the subtrahend from the minuend and sets dest to the result.
|
Gst | |
Gets the contents of value.
Gets the contents of value.
|
Gst | |
Gets the contents of value.
Gets the contents of value.
|
Gst | |
Gets the maximum of the range specified by value.
Gets the maximum of the range specified by value.
|
Gst | |
Gets the minimum of the range specified by value.
Gets the minimum of the range specified by value.
|
Gst | |
Gets the guint32 fourcc contained in value.
Gets the guint32 fourcc contained in value.
|
Gst | |
Gets the denominator of the fraction specified by value.
Gets the denominator of the fraction specified by value.
|
Gst | |
Gets the numerator of the fraction specified by value.
Gets the numerator of the fraction specified by value.
|
Gst | |
Gets the maximum of the range specified by value.
Gets the maximum of the range specified by value.
|
Gst | |
Gets the minimum of the range specified by value.
Gets the minimum of the range specified by value.
|
Gst | |
Gets the maximum of the range specified by value.
Gets the maximum of the range specified by value.
|
Gst | |
Gets the minimum of the range specified by value.
Gets the minimum of the range specified by value.
|
Gst | |
Get the contents of a GST_TYPE_MINI_OBJECT derived GValue.
Get the contents of a GST_TYPE_MINI_OBJECT derived GValue. Does not increase the refcount of the returned object.
|
Gst | |
Gets the contents of value.
Gets the contents of value.
|
Gst | |
Initialises the target value to be of the same type as source and then copies the contents from source to target.
Initialises the target value to be of the same type as source and then copies the contents from source to target.
|
Gst | |
intersection value Calculates the intersection of two values.
intersection value Calculates the intersection of two values. If the values have a non-empty intersection, the value representing the intersection is placed in dest. If the intersection is non-empty, dest is not modified.
|
Gst | |
Tests if the given GValue, if available in a GstStructure (or any other ranges) value.
Tests if the given GValue, if available in a GstStructure (or any other ranges) value.
|
Gst | |
Appends append_value to the GstValueList in value.
Appends append_value to the GstValueList in value.
|
Gst | |
Concatenates copies of value1 and value2 into a list.
Concatenates copies of value1 and value2 into a list. Values that are not of type GST_TYPE_LIST are treated as if they were lists of length 1.
|
Gst | |
Gets the number of values contained in value.
Gets the number of values contained in value.
|
Gst | |
Gets the value that is a member of the list contained in value and has the index index.
Gets the value that is a member of the list contained in value and has the index index.
|
Gst | |
Prepends prepend_value to the GstValueList in value.
Prepends prepend_value to the GstValueList in value.
|
Gst | |
Gst.value_register
(ValueTable table)
:
none
Registers functions to perform calculations on GValue items of a given type.
Registers functions to perform calculations on GValue items of a given type. Each type can only be added once.
|
Gst | |
Registers a function that is called to calculate the intersection of the values having the types type1 and type2.
Registers a function that is called to calculate the intersection of the values having the types type1 and type2. Intersect functions should be registered at startup before any pipelines are started, as gst_value_register_intersect_func() is not thread-safe and cannot be used at the same time as gst_value_intersect() or gst_value_can_intersect().
|
Gst | |
Gst.value_register_subtract_func
(Number minuend_type, Number subtrahend_type, Function func)
:
none
Registers func as a function capable of subtracting the values of Subtract functions should be registered at startup before any pipelines are started, as gst_value_register_subtract_func() is not thread-safe and cannot be used at the same time as gst_value_subtract().
Registers func as a function capable of subtracting the values of Subtract functions should be registered at startup before any pipelines are started, as gst_value_register_subtract_func() is not thread-safe and cannot be used at the same time as gst_value_subtract().
|
Gst | |
Registers a union function that can create a union between GValue items of the type type1 and type2.
Registers a union function that can create a union between GValue items of the type type1 and type2. Union functions should be registered at startup before any pipelines are started, as gst_value_register_union_func() is not thread-safe and cannot be used at the same time as gst_value_union() or gst_value_can_union().
|
Gst | |
tries to transform the given value into a string representation that allows getting back this string later on using gst_value_deserialize().
tries to transform the given value into a string representation that allows getting back this string later on using gst_value_deserialize().
|
Gst | |
Sets the contents of value to caps.
Sets the contents of value to caps. The actual GstCaps structure is copied before it is used.
|
Gst | |
Sets the contents of value to coorespond to date.
Sets the contents of value to coorespond to date. The actual GDate structure is copied before it is used.
|
Gst | |
Sets value to the range specified by start and end.
Sets value to the range specified by start and end.
|
Gst | |
Sets value to fourcc.
Sets value to fourcc.
|
Gst | |
Sets value to the fraction specified by numerator over denominator.
Sets value to the fraction specified by numerator over denominator. The fraction gets reduced to the smallest numerator and denominator, and if necessary the sign is moved to the numerator.
|
Gst | |
Sets value to the range specified by start and end.
Sets value to the range specified by start and end.
|
Gst | |
Gst.value_set_fraction_range_full
(Value value, Number numerator_start, Number denominator_start, Number numerator_end, Number denominator_end)
:
none
Sets value to the range specified by numerator_start/denominator_start and numerator_end/denominator_end.
Sets value to the range specified by numerator_start/denominator_start and numerator_end/denominator_end.
|
Gst | |
Sets value to the range specified by start and end.
Sets value to the range specified by start and end.
|
Gst | |
Set the contents of a GST_TYPE_MINI_OBJECT derived GValue to The caller retains ownership of the reference.
Set the contents of a GST_TYPE_MINI_OBJECT derived GValue to The caller retains ownership of the reference.
|
Gst | |
Sets the contents of value to structure.
Sets the contents of value to structure. The actual
|
Gst | |
Subtracts subtrahend from minuend and stores the result in dest.
Subtracts subtrahend from minuend and stores the result in dest. Note that this means subtraction as in sets, not as in mathematics.
|
Gst | |
Set the contents of a GST_TYPE_MINI_OBJECT derived GValue to Takes over the ownership of the caller's reference to mini_object; the caller doesn't have to unref it any more.
Set the contents of a GST_TYPE_MINI_OBJECT derived GValue to Takes over the ownership of the caller's reference to mini_object; the caller doesn't have to unref it any more.
|
Gst | |
Creates a GValue corresponding to the union of value1 and value2.
Creates a GValue corresponding to the union of value1 and value2.
|
Gst | |
Gst.version
()
:
Object
|
Gst | |
Gst.version_string
()
:
String
This function returns a string that is useful for describing this version
This function returns a string that is useful for describing this version
|
Gst |
None |