gstpbutils.c.types
C types for gstpbutils1 library
Types 36
Different types of supported background shading functions.
Result values for the discovery process.
You can use these flags to control what is serialized by [gstpbutils.discoverer_info.DiscovererInfo.toVariant]
Result codes returned by [gstpbutils.global.installPluginsAsync] and [gstpbutils.global.installPluginsSync], and also the result code passed to the #GstInstallPluginsResultFunc specified with [gstpbutils.global.installPluginsAsync].
These codes indicate success or failure of starting an external installer program and to what extent the requested plugins could be installed.
Flags that are returned by [gstpbutils.global.pbUtilsGetCapsDescriptionFlags] and describe the format of the caps.
A baseclass for scopes (visualizers). It takes care of re-fitting the audio-rate to video-rate and handles renegotiation (downstream video size changes).
It also provides several background shading effects. These effects are applied to a previous picture before the render() implementation can draw a new frame.
GstElement parentuint reqSpfGstVideoInfo vinfoGstAudioInfo ainfoGstAudioVisualizerPrivate * privGstElementClass parentClassgboolean function(GstAudioVisualizer * scope_) setupgboolean function(GstAudioVisualizer * scope_, GstBuffer * audio, GstVideoFrame * video) rendergboolean function(GstAudioVisualizer * scope_, GstQuery * query) decideAllocationThe #GstDiscoverer is a utility object which allows to get as much information as possible from one or many URIs.
It provides two APIs, allowing usage in blocking or non-blocking mode.
The blocking mode just requires calling [gstpbutils.discoverer.Discoverer.discoverUri] with the URI one wishes to discover.
The non-blocking mode requires a running #GMainLoop iterating a #GMainContext, where one connects to the various signals, appends the URIs to be processed (through [gstpbutils.discoverer.Discoverer.discoverUriAsync]) and then asks for the discovery to begin (through [gstpbutils.discoverer.Discoverer.start]). By default this will use the GLib default main context unless you have set a custom context using [glib.main_context.MainContext.pushThreadDefault].
All the information is returned in a #GstDiscovererInfo structure.
#GstDiscovererStreamInfo specific to audio streams.
GObjectClass parentclassvoid function(GstDiscoverer * discoverer) finishedvoid function(GstDiscoverer * discoverer) startingvoid function(GstDiscoverer * discoverer, GstDiscovererInfo * info, const(GError) * err) discoveredvoid function(GstDiscoverer * discoverer, GstElement * source) sourceSetupGstDiscovererInfo * function(GstDiscoverer * dc, char * uri) loadSerializeInfovoid *[3] Reserved#GstDiscovererStreamInfo specific to container streams.
Structure containing the information of a URI analyzed by #GstDiscoverer.
Base structure for information concerning a media stream. Depending on the stream type, one can find more media-specific information in #GstDiscovererAudioInfo, #GstDiscovererVideoInfo, and #GstDiscovererContainerInfo.
The #GstDiscovererStreamInfo represents the topology of the stream. Siblings can be iterated over with [gstpbutils.discoverer_stream_info.DiscovererStreamInfo.getNext] and [gstpbutils.discoverer_stream_info.DiscovererStreamInfo.getPrevious]. Children (sub-streams) of a stream can be accessed using the #GstDiscovererContainerInfo API.
As a simple example, if you run #GstDiscoverer on an AVI file with one audio and one video stream, you will get a #GstDiscovererContainerInfo corresponding to the AVI container, which in turn will have a #GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream for the audio and video streams respectively.
#GstDiscovererStreamInfo specific to subtitle streams (this includes text and image based ones).
#GstDiscovererStreamInfo specific to video streams (this includes images).
Variant of #GstEncodingProfile for audio streams.
Encoding profiles for containers. Keeps track of a list of #GstEncodingProfile
The opaque base class object for all encoding profiles. This contains generic information like name, description, format and preset.
Collection of #GstEncodingProfile for a specific target or use-case.
When being stored/loaded, targets come from a specific category, like #GST_ENCODING_CATEGORY_DEVICE.
Variant of #GstEncodingProfile for video streams, allows specifying the @pass.
Opaque context structure for the plugin installation. Use the provided API to set details on it.