gst.types
D types for gst1 library
Types 166
A function that will be called from [gst.buffer.Buffer.foreachMeta]. The meta field will point to a the reference of the meta.
buffer should not be modified from this callback.
When this function returns true, the next meta will be returned. When false is returned, [gst.buffer.Buffer.foreachMeta] will return.
When meta is set to null, the item will be removed from the buffer.
Parameters
buffer | a #GstBuffer |
meta | a pointer to a #GstMeta |
Returns
A function that will be called from [gst.buffer_list.BufferList.foreach_]. The buffer field will point to a the reference of the buffer at idx.
When this function returns true, the next buffer will be returned. When false is returned, [gst.buffer_list.BufferList.foreach_] will return.
When buffer is set to null, the item will be removed from the bufferlist. When buffer has been made writable, the new buffer reference can be assigned to buffer. This function is responsible for unreffing the old buffer when removing or modifying.
Parameters
buffer | pointer to the buffer |
idx | the index of buffer |
Returns
Specifies the type of function passed to [gst.bus.Bus.addWatch] or [gst.bus.Bus.addWatchFull], which is called from the mainloop when a message is available on the bus.
The message passed to the function will be unreffed after execution of this function so it should not be freed in the function.
Note that this function is used as a #GSourceFunc which means that returning false will remove the #GSource from the mainloop.
Parameters
bus | the #GstBus that sent the message |
message | the #GstMessage |
Returns
Handler will be invoked synchronously, when a new message has been injected into the bus. This function is mostly used internally. Only one sync handler can be attached to a given bus.
If the handler returns [gst.types.BusSyncReply.Drop], it should unref the message, else the message should not be unreffed by the sync handler.
Parameters
bus | the #GstBus that sent the message |
message | the #GstMessage |
Returns
A function that will be called in [gst.caps.Caps.filterAndMapInPlace]. The function may modify features and structure, and both will be removed from the caps if false is returned.
Parameters
features | the #GstCapsFeatures |
structure | the #GstStructure |
Returns
false if it should be removed.
A function that will be called in [gst.caps.Caps.foreach_]. The function may not modify features or structure.
Parameters
features | the #GstCapsFeatures |
structure | the #GstStructure |
Returns
the foreach operation should stop with false.
A function that will be called in [gst.caps.Caps.mapInPlace]. The function may modify features and structure.
Parameters
features | the #GstCapsFeatures |
structure | the #GstStructure |
Returns
the map operation should stop with false.
The function prototype of the callback.
Parameters
clock | The clock that triggered the callback |
time | The time it was triggered |
id | The #GstClockID that expired |
Returns
FIXME(2.0): remove, this is unused
Parameters
binding | |
srcValue | |
destValue |
Function for returning a value for a given timestamp.
Parameters
self | the #GstControlSource instance |
timestamp | timestamp for which a value should be calculated |
value | a value which will be set to the result. |
Returns
Function for returning an array of values starting at a given timestamp.
Parameters
self | the #GstControlSource instance |
timestamp | timestamp for which a value should be calculated |
interval | the time spacing between subsequent values |
values | array to put control-values in |
Returns
Function called for each meta in buffer as a result of performing a transformation that yields transbuf. Additional type specific transform data is passed to the function as data.
Implementations should check the type of the transform and parse additional type specific fields in data that should be used to update the metadata on transbuf.
Parameters
transbuf | a #GstBuffer |
meta | a #GstCustomMeta |
buffer | a #GstBuffer |
type | the transform type |
data | transform specific data. |
Returns
we define this to avoid a compiler warning regarding a cast from a function pointer to a void pointer (see https://bugzilla.gnome.org/show_bug.cgi?id=309253)
Callback prototype used in #gst_element_call_async
Parameters
element | The #GstElement this function has been called against |
Function called for each pad when using [gst.element.Element.foreachSinkPad], [gst.element.Element.foreachSrcPad], or [gst.element.Element.foreachPad].
Parameters
element | the #GstElement |
pad | a #GstPad |
Returns
This function will be called when creating a copy of it and should create a copy of all custom iterator fields or increase their reference counts.
Parameters
it | The original iterator |
copy | The copied iterator |
A function to be passed to [gst.iterator.Iterator.fold].
Parameters
item | the item to fold |
ret | a #GValue collecting the result |
Returns
A function that is called by [gst.iterator.Iterator.foreach_] for every element.
Parameters
item | The item |
This function will be called when the iterator is freed.
Implementors of a #GstIterator should implement this function and pass it to the constructor of the custom iterator. The function will be called with the iterator lock held.
Parameters
it | the iterator |
The function that will be called after the next item of the iterator has been retrieved. This function can be used to skip items or stop the iterator.
The function will be called with the iterator lock held.
Parameters
it | the iterator |
item | the item being retrieved. |
Returns
The function that will be called when the next element of the iterator should be retrieved.
Implementors of a #GstIterator should implement this function and pass it to the constructor of the custom iterator. The function will be called with the iterator lock held.
Parameters
it | the iterator |
result | a pointer to hold the next item |
Returns
This function will be called whenever a concurrent update happened to the iterated datastructure. The implementor of the iterator should restart the iterator from the beginning and clean up any state it might have.
Implementors of a #GstIterator should implement this function and pass it to the constructor of the custom iterator. The function will be called with the iterator lock held.
Parameters
it | the iterator |
Function prototype for a logging function that can be registered with [gst.global.debugAddLogFunction]. Use G_GNUC_NO_INSTRUMENT on that function.
Parameters
category | a #GstDebugCategory |
level | a #GstDebugLevel |
file | file name |
function_ | function name |
line | line number |
object | a #GObject |
message | the message |
Copy size bytes from mem starting at offset and return them wrapped in a new GstMemory object. If size is set to -1, all bytes starting at offset are copied.
Parameters
mem | a #GstMemory |
offset | an offset |
size | a size or -1 |
Returns
mem.
Check if mem1 and mem2 occupy contiguous memory and return the offset of mem1 in the parent buffer in offset.
Parameters
mem1 | a #GstMemory |
mem2 | a #GstMemory |
offset | a result offset |
Returns
Get the memory of mem that can be accessed according to the mode specified in info's flags. The function should return a pointer that contains at least maxsize bytes.
Parameters
mem | a #GstMemory |
info | the #GstMapInfo to map with |
maxsize | size to map |
Returns
accessed according to the access pattern in info's flags.
Get the memory of mem that can be accessed according to the mode specified in flags. The function should return a pointer that contains at least maxsize bytes.
Parameters
mem | a #GstMemory |
maxsize | size to map |
flags | access mode for the memory |
Returns
accessed according to the access pattern in flags.
Share size bytes from mem starting at offset and return them wrapped in a new GstMemory object. If size is set to -1, all bytes starting at offset are shared. This function does not make a copy of the bytes in mem.
Parameters
mem | a #GstMemory |
offset | an offset |
size | a size or -1 |
Returns
Release the pointer previously retrieved with [gst.memory.Memory.map] with info.
Parameters
mem | a #GstMemory |
info | a #GstMapInfo |
Release the pointer previously retrieved with [gst.memory.Memory.map].
Parameters
mem | a #GstMemory |
Clears the content of the meta. This will be called by the GstBufferPool when a pooled buffer is returned.
Parameters
buffer | a #GstBuffer |
meta | a #GstMeta |
Recreate a #GstMeta from serialized data returned by #GstMetaSerializeFunction and add it to buffer.
Parameters
info | #GstMetaInfo of the meta |
buffer | a #GstBuffer |
data | data obtained from #GstMetaSerializeFunction |
version_ |
Returns
Function called when meta is freed in buffer.
Parameters
meta | a #GstMeta |
buffer | a #GstBuffer |
Function called when meta is initialized in buffer.
Parameters
meta | a #GstMeta |
params | parameters passed to the init function |
buffer | a #GstBuffer |
Returns
Function called for each meta in buffer as a result of performing a transformation on transbuf. Additional type specific transform data is passed to the function as data.
Implementations should check the type of the transform and parse additional type specific fields in data that should be used to update the metadata on transbuf.
Parameters
transbuf | a #GstBuffer |
meta | a #GstMeta |
buffer | a #GstBuffer |
type | the transform type |
Returns
Function prototype for methods to create copies of instances.
Parameters
obj | MiniObject to copy |
Returns
Function prototype for when a miniobject has lost its last refcount. Implementation of the mini object are allowed to revive the passed object by doing a [gst.mini_object.MiniObject.ref_]. If the object is not revived after the dispose function, the function should return true and the memory associated with the object is freed.
Parameters
obj | MiniObject to dispose |
Returns
Virtual function prototype for methods to free resources used by mini-objects.
Parameters
obj | MiniObject to free |
A #GstMiniObjectNotify function can be added to a mini object as a callback that gets triggered when [gst.mini_object.MiniObject.unref] drops the last ref and obj is about to be freed.
Parameters
obj | the mini object |
This function is called when the pad is activated during the element READY to PAUSED state change. By default this function will call the activate function that puts the pad in push mode but elements can override this function to activate the pad in pull mode if they wish.
Parameters
pad | a #GstPad |
parent | the parent of pad |
Returns
The prototype of the push and pull activate functions.
Parameters
pad | a #GstPad |
parent | the parent of pad |
mode | the requested activation mode of pad |
active | activate or deactivate the pad. |
Returns
A function that will be called on sinkpads when chaining buffers. The function typically processes the data contained in the buffer and either consumes the data or passes it on to the internally linked pad(s).
The implementer of this function receives a refcount to buffer and should gst_buffer_unref() when the buffer is no longer needed.
When a chain function detects an error in the data stream, it must post an error on the bus and return an appropriate #GstFlowReturn value.
Parameters
pad | the sink #GstPad that performed the chain. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
buffer | the #GstBuffer that is chained, not null. |
Returns
A function that will be called on sinkpads when chaining buffer lists. The function typically processes the data contained in the buffer list and either consumes the data or passes it on to the internally linked pad(s).
The implementer of this function receives a refcount to list and should gst_buffer_list_unref() when the list is no longer needed.
When a chainlist function detects an error in the data stream, it must post an error on the bus and return an appropriate #GstFlowReturn value.
Parameters
pad | the sink #GstPad that performed the chain. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
list | the #GstBufferList that is chained, not null. |
Returns
Function signature to handle an event for the pad.
This variant is for specific elements that will take into account the last downstream flow return (from a pad push), in which case they can return it.
Parameters
pad | the #GstPad to handle the event. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
event | the #GstEvent to handle. |
Returns
#GstFlowReturn dependent on downstream state.
Function signature to handle an event for the pad.
Parameters
pad | the #GstPad to handle the event. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
event | the #GstEvent to handle. |
Returns
A forward function is called for all internally linked pads, see [gst.pad.Pad.forward].
Parameters
pad | the #GstPad that is forwarded. |
Returns
This function will be called on source pads when a peer element request a buffer at the specified offset and length. If this function returns #GST_FLOW_OK, the result buffer will be stored in buffer. The contents of buffer is invalid for any other return value.
This function is installed on a source pad with gst_pad_set_getrange_function() and can only be called on source pads after they are successfully activated with [gst.pad.Pad.activateMode] with the #GST_PAD_MODE_PULL.
offset and length are always given in byte units. offset must normally be a value between 0 and the length in bytes of the data available on pad. The length (duration in bytes) can be retrieved with a #GST_QUERY_DURATION or with a #GST_QUERY_SEEKING.
Any offset larger or equal than the length will make the function return #GST_FLOW_EOS, which corresponds to EOS. In this case buffer does not contain a valid buffer.
The buffer size of buffer will only be smaller than length when offset is near the end of the stream. In all other cases, the size of buffer must be exactly the requested size.
It is allowed to call this function with a 0 length and valid offset, in which case buffer will contain a 0-sized buffer and the function returns #GST_FLOW_OK.
When this function is called with a -1 offset, the sequentially next buffer of length length in the stream is returned.
When this function is called with a -1 length, a buffer with a default optimal length is returned in buffer. The length might depend on the value of offset.
Parameters
pad | the src #GstPad to perform the getrange on. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
offset | the offset of the range |
length | the length of the range |
buffer | a memory location to hold the result buffer, cannot be null. |
Returns
return value leaves buffer undefined.
The signature of the internal pad link iterator function.
Parameters
pad | The #GstPad to query. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
Returns
linked to the given pad on the inside of the parent element.
the caller must call [gst.iterator.Iterator.free] after usage.
Function signature to handle a new link on the pad.
Parameters
pad | the #GstPad that is linked. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
peer | the peer #GstPad of the link |
Returns
Callback used by [gst.pad.Pad.addProbe]. Gets called to notify about the current blocking type.
The callback is allowed to modify the data pointer in info.
Parameters
pad | the #GstPad that is blocked |
info | #GstPadProbeInfo |
Returns
The signature of the query function.
Parameters
pad | the #GstPad to query. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
query | the #GstQuery object to execute |
Returns
Callback used by [gst.pad.Pad.stickyEventsForeach].
When this function returns true, the next event will be returned. When false is returned, [gst.pad.Pad.stickyEventsForeach] will return.
When event is set to null, the item will be removed from the list of sticky events. event can be replaced by assigning a new reference to it. This function is responsible for unreffing the old event when removing or modifying.
Parameters
pad | the #GstPad. |
event | a sticky #GstEvent. |
Returns
Function signature to handle a unlinking the pad prom its peer.
The pad's lock is already held when the unlink function is called, so most pad functions cannot be called from within the callback.
Parameters
pad | the #GstPad that is linked. |
parent | the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-null and remain valid during the execution of this function. |
A function that can be used with e.g. [gst.registry.Registry.featureFilter] to get a list of pluginfeature that match certain criteria.
Parameters
feature | the pluginfeature to check |
Returns
A function that can be used with e.g. [gst.registry.Registry.pluginFilter] to get a list of plugins that match certain criteria.
Parameters
plugin | the plugin to check |
Returns
A plugin should provide a pointer to a function of either #GstPluginInitFunc or this type in the plugin_desc struct. The function will be called by the loader at startup. One would then register each #GstPluginFeature. This version allows user data to be passed to init function (useful for bindings).
Parameters
plugin | The plugin object |
Returns
A plugin should provide a pointer to a function of this type in the plugin_desc struct. This function will be called by the loader at startup. One would then register each #GstPluginFeature.
Parameters
plugin | The plugin object |
Returns
A function that will be called in [gst.structure.Structure.filterAndMapInPlace]. The function may modify value, and the value will be removed from the structure if false is returned.
Parameters
fieldId | the #GQuark of the field name |
value | the #GValue of the field |
Returns
should be removed.
A function that will be called in [gst.structure.Structure.foreach_]. The function may not modify value.
Parameters
fieldId | the #GQuark of the field name |
value | the #GValue of the field |
Returns
the foreach operation should stop with false.
A function that will be called in [gst.structure.Structure.mapInPlace]. The function may modify value.
Parameters
fieldId | the #GQuark of the field name |
value | the #GValue of the field |
Returns
the map operation should stop with false.
A function that will be called in [gst.tag_list.TagList.foreach_]. The function may not modify the tag list.
Parameters
list | the #GstTagList |
tag | a name of a tag in list |
A function for merging multiple values of a tag used when registering tags.
Parameters
dest | the destination #GValue |
src | the source #GValue |
A function that will repeatedly be called in the thread created by a #GstTask.
Task function, see [gst.task_pool.TaskPool.push].
Custom GstTask thread callback functions that can be installed.
Parameters
task | The #GstTask |
thread | The #GThread |
A function that will be called by typefinding.
Parameters
find | A #GstTypeFind structure |
Used together with [gst.global.valueCompare] to compare #GValue items.
Parameters
value1 | first value for comparison |
value2 | second value for comparison |
Returns
or GST_VALUE_UNORDERED
Used by [gst.global.valueDeserialize] to parse a non-binary form into the #GValue.
Parameters
dest | a #GValue |
s | a string |
Returns
Used by [gst.global.valueDeserializeWithPspec] to parse a non-binary form into the #GValue.
Parameters
dest | a #GValue |
s | a string |
pspec | a #GParamSpec describing the expected value |
Returns
Used by [gst.global.valueSerialize] to obtain a non-binary form of the #GValue.
Free-function: g_free
Parameters
value1 | a #GValue |
Returns
Variables 192
ALLOCATOR_SYSMEM = "SystemMemory"The allocator name for the default system memory allocator
BUFFER_COPY_ALL = 15Combination of all possible fields that can be copied with [gst.buffer.Buffer.copyInto].
BUFFER_COPY_METADATA = 7Combination of all possible metadata fields that can be copied with [gst.buffer.Buffer.copyInto].
BUFFER_OFFSET_NONE = 18446744073709551615Constant for no-offset return results.
CAN_INLINE = 1CAPS_FEATURE_MEMORY_SYSTEM_MEMORY = "memory:SystemMemory"CLOCK_TIME_NONE = 18446744073709551615Constant to define an undefined clock time.
DEBUG_BG_MASK = 240DEBUG_FG_MASK = 15DEBUG_FORMAT_MASK = 65280ELEMENT_FACTORY_KLASS_DECODER = "Decoder"ELEMENT_FACTORY_KLASS_DECRYPTOR = "Decryptor"ELEMENT_FACTORY_KLASS_DEMUXER = "Demuxer"ELEMENT_FACTORY_KLASS_DEPAYLOADER = "Depayloader"ELEMENT_FACTORY_KLASS_ENCODER = "Encoder"ELEMENT_FACTORY_KLASS_ENCRYPTOR = "Encryptor"ELEMENT_FACTORY_KLASS_FORMATTER = "Formatter"ELEMENT_FACTORY_KLASS_HARDWARE = "Hardware"Elements interacting with hardware devices should specify this classifier in their metadata. You may need to put the element in "READY" state to test if the hardware is present in the system.
ELEMENT_FACTORY_KLASS_MEDIA_AUDIO = "Audio"ELEMENT_FACTORY_KLASS_MEDIA_IMAGE = "Image"ELEMENT_FACTORY_KLASS_MEDIA_METADATA = "Metadata"ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE = "Subtitle"ELEMENT_FACTORY_KLASS_MEDIA_VIDEO = "Video"ELEMENT_FACTORY_KLASS_MUXER = "Muxer"ELEMENT_FACTORY_KLASS_PARSER = "Parser"ELEMENT_FACTORY_KLASS_PAYLOADER = "Payloader"ELEMENT_FACTORY_KLASS_SINK = "Sink"ELEMENT_FACTORY_KLASS_SRC = "Source"ELEMENT_FACTORY_TYPE_ANY = 562949953421311Elements of any of the defined GST_ELEMENT_FACTORY_LIST types
ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS = 3940649673949188All sinks handling audio, video or image media types
ELEMENT_FACTORY_TYPE_AUDIO_ENCODER = 1125899906842626All encoders handling audio media types
ELEMENT_FACTORY_TYPE_DECODABLE = 1377All elements used to 'decode' streams (decoders, demuxers, parsers, depayloaders)
ELEMENT_FACTORY_TYPE_DECODER = 1ELEMENT_FACTORY_TYPE_DECRYPTOR = 1024ELEMENT_FACTORY_TYPE_DEMUXER = 32ELEMENT_FACTORY_TYPE_DEPAYLOADER = 256ELEMENT_FACTORY_TYPE_ENCODER = 2ELEMENT_FACTORY_TYPE_ENCRYPTOR = 2048ELEMENT_FACTORY_TYPE_FORMATTER = 512ELEMENT_FACTORY_TYPE_HARDWARE = 4096ELEMENT_FACTORY_TYPE_MAX_ELEMENTS = 281474976710656ELEMENT_FACTORY_TYPE_MEDIA_ANY = 18446462598732840960Elements matching any of the defined GST_ELEMENT_FACTORY_TYPE_MEDIA types
Note
media types. If you wish to do this, simply don't specify any GST_ELEMENT_FACTORY_TYPE_MEDIA flag.
ELEMENT_FACTORY_TYPE_MEDIA_AUDIO = 1125899906842624ELEMENT_FACTORY_TYPE_MEDIA_IMAGE = 2251799813685248ELEMENT_FACTORY_TYPE_MEDIA_METADATA = 9007199254740992ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE = 4503599627370496ELEMENT_FACTORY_TYPE_MEDIA_VIDEO = 562949953421312ELEMENT_FACTORY_TYPE_MUXER = 16ELEMENT_FACTORY_TYPE_PARSER = 64ELEMENT_FACTORY_TYPE_PAYLOADER = 128ELEMENT_FACTORY_TYPE_SINK = 4ELEMENT_FACTORY_TYPE_SRC = 8ELEMENT_FACTORY_TYPE_TIMESTAMPER = 8192Timestamp correcting elements
ELEMENT_FACTORY_TYPE_VIDEO_ENCODER = 2814749767106562All encoders handling video or image media types
ELEMENT_METADATA_AUTHOR = "author"Name and contact details of the author(s). Use \n to separate multiple author details. E.g: "Joe Bloggs <joe.blogs at foo.com>"
ELEMENT_METADATA_DESCRIPTION = "description"Sentence describing the purpose of the element. E.g: "Write stream to a file"
ELEMENT_METADATA_DOC_URI = "doc-uri"Set uri pointing to user documentation. Applications can use this to show help for e.g. effects to users.
ELEMENT_METADATA_ICON_NAME = "icon-name"Elements that bridge to certain other products can include an icon of that used product. Application can show the icon in menus/selectors to help identifying specific elements.
ELEMENT_METADATA_KLASS = "klass"String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"
ELEMENT_METADATA_LONGNAME = "long-name"The long English name of the element. E.g. "File Sink"
ERROR_SYSTEM = "system error: %s"Builds a string using errno describing the previously failed system call. To be used as the debug argument in #GST_ELEMENT_ERROR.
EVENT_NUM_SHIFT = 8EVENT_TYPE_BOTH = 3The same thing as #GST_EVENT_TYPE_UPSTREAM | #GST_EVENT_TYPE_DOWNSTREAM.
FLAG_SET_MASK_EXACT = 4294967295A mask value with all bits set, for use as a GstFlagSet mask where all flag bits must match exactly
FORMAT_PERCENT_MAX = 1000000The PERCENT format is between 0 and this value
FORMAT_PERCENT_SCALE = 10000The value used to scale down the reported PERCENT format value to its real value.
FOURCC_FORMAT = "c%c%c%c"Can be used together with #GST_FOURCC_ARGS to properly output a #guint32 fourcc value in a printf\()-style text message.
printf ("fourcc: %" GST_FOURCC_FORMAT "\n", GST_FOURCC_ARGS (fcc));GROUP_ID_INVALID = 0A value which is guaranteed to never be returned by [gst.global.utilGroupIdNext].
Can be used as a default value in variables used to store group_id.
LICENSE_UNKNOWN = "unknown"To be used in GST_PLUGIN_DEFINE if unsure about the licence.
LOCK_FLAG_READWRITE = 3GstLockFlags value alias for GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE
MAP_READWRITE = 3GstMapFlags value alias for GST_MAP_READ | GST_MAP_WRITE
META_TAG_MEMORY_REFERENCE_STR = "memory-reference"This metadata stays relevant until a deep copy is made.
META_TAG_MEMORY_STR = "memory"This metadata stays relevant as long as memory layout is unchanged. In hindsight, this tag should have been called "memory-layout".
MSECOND = 1000000Constant that defines one GStreamer millisecond.
NSECOND = 1Constant that defines one GStreamer nanosecond
PARAM_CONDITIONALLY_AVAILABLE = 16384Use this flag on GObject properties of GstObject to indicate that they might not be available depending on environment such as OS, device, etc, so such properties will be installed conditionally only if the GstObject is able to support it.
PARAM_CONTROLLABLE = 512Use this flag on GObject properties to signal they can make sense to be. controlled over time. This hint is used by the GstController.
PARAM_DOC_SHOW_DEFAULT = 8192Use this flag on GObject properties of GstObject to indicate that during gst-inspect and friends, the default value should be used as default instead of the current value.
PARAM_MUTABLE_PAUSED = 2048Use this flag on GObject properties of GstElements to indicate that they can be changed when the element is in the PAUSED or lower state. This flag implies GST_PARAM_MUTABLE_READY.
PARAM_MUTABLE_PLAYING = 4096Use this flag on GObject properties of GstElements to indicate that they can be changed when the element is in the PLAYING or lower state. This flag implies GST_PARAM_MUTABLE_PAUSED.
PARAM_MUTABLE_READY = 1024Use this flag on GObject properties of GstElements to indicate that they can be changed when the element is in the READY or lower state.
PARAM_USER_SHIFT = 65536Bits based on GST_PARAM_USER_SHIFT can be used by 3rd party applications.
PROTECTION_SYSTEM_ID_CAPS_FIELD = "protection-system"The field name in a GstCaps that is used to signal the UUID of the protection system.
PROTECTION_UNSPECIFIED_SYSTEM_ID = "unspecified-system-id"The protection system value of the unspecified UUID. In some cases the system protection ID is not present in the contents or in their metadata, as encrypted WebM. This define is used to set the value of the "system_id" field in GstProtectionEvent, with this value, the application will use an external information to choose which protection system to use.
Example: The matroskademux uses this value in the case of encrypted WebM, the application will choose the appropriate protection system based on the information received through EME API.
PTR_FORMAT = "paA"printf format type used to debug GStreamer types. You can use this in combination with GStreamer's debug logging system as well as the functions [gst.global.infoVasprintf], [gst.global.infoStrdupVprintf] and [gst.global.infoStrdupPrintf] to pretty-print the following types: #GstCaps, #GstStructure, #GstCapsFeatures, #GstTagList, #GstDateTime, #GstBuffer, #GstBufferList, #GstMessage, #GstEvent, #GstQuery, #GstContext, #GstPad, #GstObject. All #GObject types will be printed as typename plus pointer, and everything else will simply be printed as pointer address.
This can only be used on types whose size is >= sizeof(gpointer).
QUERY_NUM_SHIFT = 8QUERY_TYPE_BOTH = 3The same thing as #GST_QUERY_TYPE_UPSTREAM | #GST_QUERY_TYPE_DOWNSTREAM.
SECOND = 1000000000Constant that defines one GStreamer second.
SEGMENT_FORMAT = "paB"printf format type used to debug GStreamer segments. You can use this in combination with GStreamer's debug logging system as well as the functions [gst.global.infoVasprintf], [gst.global.infoStrdupVprintf] and [gst.global.infoStrdupPrintf] to pretty-print #GstSegment structures. This can only be used on pointers to GstSegment structures.
SEGMENT_INSTANT_FLAGS = 912SEQNUM_INVALID = 0A value which is guaranteed to never be returned by [gst.global.utilSeqnumNext].
Can be used as a default value in variables used to store seqnum.
STIMEP_FORMAT = "paS"printf format type used to debug GStreamer signed time value pointers. You can use this in combination with GStreamer's debug logging system as well as the functions [gst.global.infoVasprintf], [gst.global.infoStrdupVprintf] and [gst.global.infoStrdupPrintf] to pretty-print signed time (pointers to #GstClockTimeDiff or #gint64).
STIME_FORMAT = "c%"A string that can be used in printf-like format strings to display a signed #GstClockTimeDiff or #gint64 value in h:m:s format. Use GST_TIME_ARGS() to construct the matching arguments.
Example:
`` C
printf("%" GST_STIME_FORMAT "\n", GST_STIME_ARGS(ts));
``
TAG_ALBUM = "album"album containing this data (string)
The album name as it should be displayed, e.g. 'The Jazz Guitar'
TAG_ALBUM_ARTIST = "album-artist"The artist of the entire album, as it should be displayed.
TAG_ALBUM_ARTIST_SORTNAME = "album-artist-sortname"The artist of the entire album, as it should be sorted.
TAG_ALBUM_GAIN = "replaygain-album-gain"album gain in db (double)
TAG_ALBUM_PEAK = "replaygain-album-peak"peak of the album (double)
TAG_ALBUM_SORTNAME = "album-sortname"album containing this data, as used for sorting (string)
The album name as it should be sorted, e.g. 'Jazz Guitar, The'
TAG_ALBUM_VOLUME_COUNT = "album-disc-count"count of discs inside collection this disc belongs to (unsigned integer)
TAG_ALBUM_VOLUME_NUMBER = "album-disc-number"disc number inside a collection (unsigned integer)
TAG_APPLICATION_DATA = "application-data"Arbitrary application data (sample)
Some formats allow applications to add their own arbitrary data into files. This data is application dependent.
TAG_APPLICATION_NAME = "application-name"Name of the application used to create the media (string)
TAG_ARTIST = "artist"person(s) responsible for the recording (string)
The artist name as it should be displayed, e.g. 'Jimi Hendrix' or 'The Guitar Heroes'
TAG_ARTIST_SORTNAME = "artist-sortname"person(s) responsible for the recording, as used for sorting (string)
The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or 'Guitar Heroes, The'
TAG_ATTACHMENT = "attachment"generic file attachment (sample) (sample taglist should specify the content type and if possible set "filename" to the file name of the attachment)
TAG_AUDIO_CODEC = "audio-codec"codec the audio data is stored in (string)
TAG_BEATS_PER_MINUTE = "beats-per-minute"number of beats per minute in audio (double)
TAG_BITRATE = "bitrate"exact or average bitrate in bits/s (unsigned integer)
TAG_CODEC = "codec"codec the data is stored in (string)
TAG_COMMENT = "comment"free text commenting the data (string)
TAG_COMPOSER = "composer"person(s) who composed the recording (string)
TAG_COMPOSER_SORTNAME = "composer-sortname"The composer's name, used for sorting (string)
TAG_CONDUCTOR = "conductor"conductor/performer refinement (string)
TAG_CONTACT = "contact"contact information (string)
TAG_CONTAINER_FORMAT = "container-format"container format the data is stored in (string)
TAG_CONTAINER_SPECIFIC_TRACK_ID = "container-specific-track-id"Unique identifier for the audio, video or text track this tag is associated with. The mappings for several container formats are defined in the Sourcing In-band Media Resource Tracks from Media Containers into HTML specification.
TAG_COPYRIGHT = "copyright"copyright notice of the data (string)
TAG_COPYRIGHT_URI = "copyright-uri"URI to location where copyright details can be found (string)
TAG_DATE = "date"date the data was created (#GDate structure)
TAG_DATE_TIME = "datetime"date and time the data was created (#GstDateTime structure)
TAG_DESCRIPTION = "description"short text describing the content of the data (string)
TAG_DEVICE_MANUFACTURER = "device-manufacturer"Manufacturer of the device used to create the media (string)
TAG_DEVICE_MODEL = "device-model"Model of the device used to create the media (string)
TAG_DURATION = "duration"length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)
TAG_ENCODED_BY = "encoded-by"name of the person or organisation that encoded the file. May contain a copyright message if the person or organisation also holds the copyright (string)
Note
#GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.
TAG_ENCODER = "encoder"encoder used to encode this stream (string)
TAG_ENCODER_VERSION = "encoder-version"version of the encoder used to encode this stream (unsigned integer)
TAG_EXTENDED_COMMENT = "extended-comment"key/value text commenting the data (string)
Must be in the form of 'key=comment' or 'key[lc]=comment' where 'lc' is an ISO-639 language code.
This tag is used for unknown Vorbis comment tags, unknown APE tags and certain ID3v2 comment fields.
TAG_GENRE = "genre"genre this data belongs to (string)
TAG_GEO_LOCATION_CAPTURE_DIRECTION = "geo-location-capture-direction"Indicates the direction the device is pointing to when capturing a media. It is represented as degrees in floating point representation, 0 means the geographic north, and increases clockwise (double from 0 to 360)
See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
TAG_GEO_LOCATION_CITY = "geo-location-city"The city (english name) where the media has been produced (string).
TAG_GEO_LOCATION_COUNTRY = "geo-location-country"The country (english name) where the media has been produced (string).
TAG_GEO_LOCATION_ELEVATION = "geo-location-elevation"geo elevation of where the media has been recorded or produced in meters according to WGS84 (zero is average sea level) (double).
TAG_GEO_LOCATION_HORIZONTAL_ERROR = "geo-location-horizontal-error"Represents the expected error on the horizontal positioning in meters (double).
TAG_GEO_LOCATION_LATITUDE = "geo-location-latitude"geo latitude location of where the media has been recorded or produced in degrees according to WGS84 (zero at the equator, negative values for southern latitudes) (double).
TAG_GEO_LOCATION_LONGITUDE = "geo-location-longitude"geo longitude location of where the media has been recorded or produced in degrees according to WGS84 (zero at the prime meridian in Greenwich/UK, negative values for western longitudes). (double).
TAG_GEO_LOCATION_MOVEMENT_DIRECTION = "geo-location-movement-direction"Indicates the movement direction of the device performing the capture of a media. It is represented as degrees in floating point representation, 0 means the geographic north, and increases clockwise (double from 0 to 360)
See also #GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
TAG_GEO_LOCATION_MOVEMENT_SPEED = "geo-location-movement-speed"Speed of the capturing device when performing the capture. Represented in m/s. (double)
See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
TAG_GEO_LOCATION_NAME = "geo-location-name"human readable descriptive location of where the media has been recorded or produced. (string).
TAG_GEO_LOCATION_SUBLOCATION = "geo-location-sublocation"A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies better where the media has been produced. (e.g. the neighborhood) (string).
This tag has been added as this is how it is handled/named in XMP's Iptc4xmpcore schema.
TAG_GROUPING = "grouping"Groups together media that are related and spans multiple tracks. An example are multiple pieces of a concerto. (string)
TAG_HOMEPAGE = "homepage"Homepage for this media (i.e. artist or movie homepage) (string)
TAG_IMAGE = "image"image (sample) (sample taglist should specify the content type and preferably also set "image-type" field as [gsttag.types.TagImageType])
TAG_IMAGE_ORIENTATION = "image-orientation"Represents the 'Orientation' tag from EXIF. Defines how the image should be rotated and mirrored for display. (string)
This tag has a predefined set of allowed values: "rotate-0" "rotate-90" "rotate-180" "rotate-270" "flip-rotate-0" "flip-rotate-90" "flip-rotate-180" "flip-rotate-270"
The naming is adopted according to a possible transformation to perform on the image to fix its orientation, obviously equivalent operations will yield the same result.
Rotations indicated by the values are in clockwise direction and 'flip' means an horizontal mirroring.
TAG_INTERPRETED_BY = "interpreted-by"Information about the people behind a remix and similar interpretations of another existing piece (string)
TAG_ISRC = "isrc"International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)
TAG_KEYWORDS = "keywords"comma separated keywords describing the content (string).
TAG_LANGUAGE_CODE = "language-code"ISO-639-2 or ISO-639-1 code for the language the content is in (string)
There is utility API in libgsttag in gst-plugins-base to obtain a translated language name from the language code: [gsttag.global.tagGetLanguageName]
TAG_LANGUAGE_NAME = "language-name"Name of the language the content is in (string)
Free-form name of the language the content is in, if a language code is not available. This tag should not be set in addition to a language code. It is undefined what language or locale the language name is in.
TAG_LICENSE = "license"license of data (string)
TAG_LICENSE_URI = "license-uri"URI to location where license details can be found (string)
TAG_LOCATION = "location"Origin of media as a URI (location, where the original of the file or stream is hosted) (string)
TAG_LYRICS = "lyrics"The lyrics of the media (string)
TAG_MAXIMUM_BITRATE = "maximum-bitrate"maximum bitrate in bits/s (unsigned integer)
TAG_MIDI_BASE_NOTE = "midi-base-note"of the audio track. This is useful for sample instruments and in particular for multi-samples.
TAG_MINIMUM_BITRATE = "minimum-bitrate"minimum bitrate in bits/s (unsigned integer)
TAG_NOMINAL_BITRATE = "nominal-bitrate"nominal bitrate in bits/s (unsigned integer). The actual bitrate might be different from this target bitrate.
TAG_ORGANIZATION = "organization"organization (string)
TAG_PERFORMER = "performer"person(s) performing (string)
TAG_PREVIEW_IMAGE = "preview-image"image that is meant for preview purposes, e.g. small icon-sized version (sample) (sample taglist should specify the content type)
TAG_PRIVATE_DATA = "private-data"Any private data that may be contained in tags (sample).
It is represented by #GstSample in which #GstBuffer contains the binary data and the sample's info #GstStructure may contain any extra information that identifies the origin or meaning of the data.
Private frames in ID3v2 tags ('PRIV' frames) will be represented using this tag, in which case the GstStructure will be named "ID3PrivateFrame" and contain a field named "owner" of type string which contains the owner-identification string from the tag.
TAG_PUBLISHER = "publisher"Name of the label or publisher (string)
TAG_REFERENCE_LEVEL = "replaygain-reference-level"reference level of track and album gain values (double)
TAG_SERIAL = "serial"serial number of track (unsigned integer)
TAG_SHOW_EPISODE_NUMBER = "show-episode-number"Number of the episode within a season/show (unsigned integer)
TAG_SHOW_NAME = "show-name"Name of the show, used for displaying (string)
TAG_SHOW_SEASON_NUMBER = "show-season-number"Number of the season of a show/series (unsigned integer)
TAG_SHOW_SORTNAME = "show-sortname"Name of the show, used for sorting (string)
TAG_SUBTITLE_CODEC = "subtitle-codec"codec/format the subtitle data is stored in (string)
TAG_TITLE = "title"commonly used title (string)
The title as it should be displayed, e.g. 'The Doll House'
TAG_TITLE_SORTNAME = "title-sortname"commonly used title, as used for sorting (string)
The title as it should be sorted, e.g. 'Doll House, The'
TAG_TRACK_COUNT = "track-count"count of tracks inside collection this track belongs to (unsigned integer)
TAG_TRACK_GAIN = "replaygain-track-gain"track gain in db (double)
TAG_TRACK_NUMBER = "track-number"track number inside a collection (unsigned integer)
TAG_TRACK_PEAK = "replaygain-track-peak"peak of the track (double)
TAG_USER_RATING = "user-rating"Rating attributed by a person (likely the application user). The higher the value, the more the user likes this media (unsigned int from 0 to 100)
TAG_VERSION = "version"version of this data (string)
TAG_VIDEO_CODEC = "video-codec"codec the video data is stored in (string)
TIMEP_FORMAT = "paT"printf format type used to debug GStreamer ClockTime pointers. You can use this in combination with GStreamer's debug logging system as well as the functions [gst.global.infoVasprintf], [gst.global.infoStrdupVprintf] and [gst.global.infoStrdupPrintf] to pretty-print #GstClockTime pointers. This can only be used on pointers to GstClockTime values.
TIME_FORMAT = "u:%02u:%02u.%09u"A string that can be used in printf-like format strings to display a #GstClockTime value in h:m:s format. Use GST_TIME_ARGS() to construct the matching arguments.
Example:
`` C
printf("%" GST_TIME_FORMAT "\n", GST_TIME_ARGS(ts));
``
TOC_REPEAT_COUNT_INFINITE = - 1Special value for the repeat_count set in [gst.toc_entry.TocEntry.setLoop] or returned by [gst.toc_entry.TocEntry.setLoop] to indicate infinite looping.
URI_NO_PORT = 0Value for #GstUri<!-- -->.port to indicate no port number.
USECOND = 1000Constant that defines one GStreamer microsecond.
VALUE_EQUAL = 0Indicates that the first value provided to a comparison function ([gst.global.valueCompare]) is equal to the second one.
VALUE_GREATER_THAN = 1Indicates that the first value provided to a comparison function ([gst.global.valueCompare]) is greater than the second one.
VALUE_LESS_THAN = - 1Indicates that the first value provided to a comparison function ([gst.global.valueCompare]) is lesser than the second one.
VALUE_UNORDERED = 2Indicates that the comparison function ([gst.global.valueCompare]) can not determine a order for the two provided values.
VERSION_MAJOR = 1The major version of GStreamer at compile time:
VERSION_MICRO = 8The micro version of GStreamer at compile time:
VERSION_MINOR = 24The minor version of GStreamer at compile time:
VERSION_NANO = 0The nano version of GStreamer at compile time: Actual releases have 0, GIT versions have 1, prerelease versions have 2-...