gst.types

D types for gst1 library

var ALLOCATOR_SYSMEM BUFFER_COPY_ALL BUFFER_COPY_METADATA BUFFER_OFFSET_NONE CAN_INLINE CAPS_FEATURE_MEMORY_SYSTEM_MEMORY CLOCK_TIME_NONE DEBUG_BG_MASK DEBUG_FG_MASK DEBUG_FORMAT_MASK ELEMENT_FACTORY_KLASS_DECODER ELEMENT_FACTORY_KLASS_DECRYPTOR ELEMENT_FACTORY_KLASS_DEMUXER ELEMENT_FACTORY_KLASS_DEPAYLOADER ELEMENT_FACTORY_KLASS_ENCODER ELEMENT_FACTORY_KLASS_ENCRYPTOR ELEMENT_FACTORY_KLASS_FORMATTER ELEMENT_FACTORY_KLASS_HARDWARE ELEMENT_FACTORY_KLASS_MEDIA_AUDIO ELEMENT_FACTORY_KLASS_MEDIA_IMAGE ELEMENT_FACTORY_KLASS_MEDIA_METADATA ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE ELEMENT_FACTORY_KLASS_MEDIA_VIDEO ELEMENT_FACTORY_KLASS_MUXER ELEMENT_FACTORY_KLASS_PARSER ELEMENT_FACTORY_KLASS_PAYLOADER ELEMENT_FACTORY_KLASS_SINK ELEMENT_FACTORY_KLASS_SRC ELEMENT_FACTORY_TYPE_ANY ELEMENT_FACTORY_TYPE_AUDIO_ENCODER ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS ELEMENT_FACTORY_TYPE_DECODABLE ELEMENT_FACTORY_TYPE_DECODER ELEMENT_FACTORY_TYPE_DECRYPTOR ELEMENT_FACTORY_TYPE_DEMUXER ELEMENT_FACTORY_TYPE_DEPAYLOADER ELEMENT_FACTORY_TYPE_ENCODER ELEMENT_FACTORY_TYPE_ENCRYPTOR ELEMENT_FACTORY_TYPE_FORMATTER ELEMENT_FACTORY_TYPE_HARDWARE ELEMENT_FACTORY_TYPE_MAX_ELEMENTS ELEMENT_FACTORY_TYPE_MEDIA_ANY ELEMENT_FACTORY_TYPE_MEDIA_AUDIO ELEMENT_FACTORY_TYPE_MEDIA_IMAGE ELEMENT_FACTORY_TYPE_MEDIA_METADATA ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE ELEMENT_FACTORY_TYPE_MEDIA_VIDEO ELEMENT_FACTORY_TYPE_MUXER ELEMENT_FACTORY_TYPE_PARSER ELEMENT_FACTORY_TYPE_PAYLOADER ELEMENT_FACTORY_TYPE_SINK ELEMENT_FACTORY_TYPE_SRC ELEMENT_FACTORY_TYPE_TIMESTAMPER ELEMENT_FACTORY_TYPE_VIDEO_ENCODER ELEMENT_METADATA_AUTHOR ELEMENT_METADATA_DESCRIPTION ELEMENT_METADATA_DOC_URI ELEMENT_METADATA_ICON_NAME ELEMENT_METADATA_KLASS ELEMENT_METADATA_LONGNAME ERROR_SYSTEM EVENT_NUM_SHIFT EVENT_TYPE_BOTH FLAG_SET_MASK_EXACT FORMAT_PERCENT_MAX FORMAT_PERCENT_SCALE FOURCC_FORMAT GROUP_ID_INVALID LICENSE_UNKNOWN LOCK_FLAG_READWRITE MAP_READWRITE META_TAG_MEMORY_REFERENCE_STR META_TAG_MEMORY_STR MSECOND NSECOND PARAM_CONDITIONALLY_AVAILABLE PARAM_CONTROLLABLE PARAM_DOC_SHOW_DEFAULT PARAM_MUTABLE_PAUSED PARAM_MUTABLE_PLAYING PARAM_MUTABLE_READY PARAM_USER_SHIFT PROTECTION_SYSTEM_ID_CAPS_FIELD PROTECTION_UNSPECIFIED_SYSTEM_ID PTR_FORMAT QUERY_NUM_SHIFT QUERY_TYPE_BOTH SECOND SEGMENT_FORMAT SEGMENT_INSTANT_FLAGS SEQNUM_INVALID STIME_FORMAT STIMEP_FORMAT TAG_ALBUM TAG_ALBUM_ARTIST TAG_ALBUM_ARTIST_SORTNAME TAG_ALBUM_GAIN TAG_ALBUM_PEAK TAG_ALBUM_SORTNAME TAG_ALBUM_VOLUME_COUNT TAG_ALBUM_VOLUME_NUMBER TAG_APPLICATION_DATA TAG_APPLICATION_NAME TAG_ARTIST TAG_ARTIST_SORTNAME TAG_ATTACHMENT TAG_AUDIO_CODEC TAG_BEATS_PER_MINUTE TAG_BITRATE TAG_CODEC TAG_COMMENT TAG_COMPOSER TAG_COMPOSER_SORTNAME TAG_CONDUCTOR TAG_CONTACT TAG_CONTAINER_FORMAT TAG_CONTAINER_SPECIFIC_TRACK_ID TAG_COPYRIGHT TAG_COPYRIGHT_URI TAG_DATE TAG_DATE_TIME TAG_DESCRIPTION TAG_DEVICE_MANUFACTURER TAG_DEVICE_MODEL TAG_DURATION TAG_ENCODED_BY TAG_ENCODER TAG_ENCODER_VERSION TAG_EXTENDED_COMMENT TAG_GENRE TAG_GEO_LOCATION_CAPTURE_DIRECTION TAG_GEO_LOCATION_CITY TAG_GEO_LOCATION_COUNTRY TAG_GEO_LOCATION_ELEVATION TAG_GEO_LOCATION_HORIZONTAL_ERROR TAG_GEO_LOCATION_LATITUDE TAG_GEO_LOCATION_LONGITUDE TAG_GEO_LOCATION_MOVEMENT_DIRECTION TAG_GEO_LOCATION_MOVEMENT_SPEED TAG_GEO_LOCATION_NAME TAG_GEO_LOCATION_SUBLOCATION TAG_GROUPING TAG_HOMEPAGE TAG_IMAGE TAG_IMAGE_ORIENTATION TAG_INTERPRETED_BY TAG_ISRC TAG_KEYWORDS TAG_LANGUAGE_CODE TAG_LANGUAGE_NAME TAG_LICENSE TAG_LICENSE_URI TAG_LOCATION TAG_LYRICS TAG_MAXIMUM_BITRATE TAG_MIDI_BASE_NOTE TAG_MINIMUM_BITRATE TAG_NOMINAL_BITRATE TAG_ORGANIZATION TAG_PERFORMER TAG_PREVIEW_IMAGE TAG_PRIVATE_DATA TAG_PUBLISHER TAG_REFERENCE_LEVEL TAG_SERIAL TAG_SHOW_EPISODE_NUMBER TAG_SHOW_NAME TAG_SHOW_SEASON_NUMBER TAG_SHOW_SORTNAME TAG_SUBTITLE_CODEC TAG_TITLE TAG_TITLE_SORTNAME TAG_TRACK_COUNT TAG_TRACK_GAIN TAG_TRACK_NUMBER TAG_TRACK_PEAK TAG_USER_RATING TAG_VERSION TAG_VIDEO_CODEC TIME_FORMAT TIMEP_FORMAT TOC_REPEAT_COUNT_INFINITE URI_NO_PORT USECOND VALUE_EQUAL VALUE_GREATER_THAN VALUE_LESS_THAN VALUE_UNORDERED VERSION_MAJOR VERSION_MICRO VERSION_MINOR VERSION_NANO
alias AllocatorFlags BinFlags BufferCopyFlags BufferFlags BufferForeachMetaFunc BufferingMode BufferListFunc BufferMapInfo BufferPoolAcquireFlags BufferPoolAcquireParams BusFlags BusFunc BusSyncHandler BusSyncReply CapsFilterMapFunc CapsFlags CapsForeachFunc CapsIntersectMode CapsMapFunc ClockCallback ClockEntryType ClockFlags ClockID ClockReturn ClockTime ClockTimeDiff ClockType ControlBindingConvert ControlSourceGetValue ControlSourceGetValueArray CoreError CustomMetaTransformFunction DebugColorFlags DebugColorMode DebugFuncPtr DebugGraphDetails DebugLevel ElementCallAsyncFunc ElementFactoryListType ElementFlags ElementForeachPadFunc EventType EventTypeFlags FlowReturn Format GapFlags IteratorCopyFunction IteratorFoldFunction IteratorForeachFunction IteratorFreeFunction IteratorItem IteratorItemFunction IteratorNextFunction IteratorResult IteratorResyncFunction LibraryError LockFlags LogFunction MapFlags MemoryCopyFunction MemoryFlags MemoryIsSpanFunction MemoryMapFullFunction MemoryMapFunction MemoryMapInfo MemoryShareFunction MemoryUnmapFullFunction MemoryUnmapFunction MessageType MetaClearFunction MetaDeserializeFunction MetaFlags MetaFreeFunction MetaInitFunction MetaTransformCopy MetaTransformFunction MiniObjectCopyFunction MiniObjectDisposeFunction MiniObjectFlags MiniObjectFreeFunction MiniObjectNotify ObjectFlags PadActivateFunction PadActivateModeFunction PadChainFunction PadChainListFunction PadDirection PadEventFullFunction PadEventFunction PadFlags PadForwardFunction PadGetRangeFunction PadIterIntLinkFunction PadLinkCheck PadLinkFunction PadLinkReturn PadMode PadPresence PadProbeCallback PadProbeReturn PadProbeType PadQueryFunction PadStickyEventsForeachFunction PadTemplateFlags PadUnlinkFunction ParseError ParseFlags PipelineFlags PluginAPIFlags PluginDependencyFlags PluginError PluginFeatureFilter PluginFilter PluginFlags PluginInitFullFunc PluginInitFunc ProgressType PromiseChangeFunc PromiseResult QOSType QueryType QueryTypeFlags Rank ResourceError SchedulingFlags SearchMode SeekFlags SeekType SegmentFlags SerializeFlags StackTraceFlags State StateChange StateChangeReturn StreamError StreamFlags StreamStatusType StreamType StructureChangeType StructureFilterMapFunc StructureForeachFunc StructureMapFunc TagFlag TagForeachFunc TagMergeFunc TagMergeMode TagScope TaskFunction TaskPoolFunction TaskState TaskThreadFunc TimedValue TocEntryType TocLoopType TocScope TracerValueFlags TracerValueScope TypeFindFunction TypeFindProbability URIError URIType ValueCompareFunc ValueDeserializeFunc ValueDeserializeWithPSpecFunc ValueSerializeFunc ValueTable

Types 166

aliasFormat = GstFormat
aliasRank = GstRank
aliasStateChange = GstStateChange
aliasBufferForeachMetaFunc = bool delegate(gst.buffer.Buffer buffer, out gst.meta.Meta meta)

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

buffera #GstBuffer
metaa pointer to a #GstMeta

Returns

false when [gst.buffer.Buffer.foreachMeta] should stop
aliasBufferListFunc = bool delegate(out gst.buffer.Buffer buffer, uint idx)

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

bufferpointer to the buffer
idxthe index of buffer

Returns

false when [gst.buffer_list.BufferList.foreach_] should stop
aliasBusFunc = bool delegate(gst.bus.Bus bus, gst.message.Message message)

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

busthe #GstBus that sent the message
messagethe #GstMessage

Returns

false if the event source should be removed.

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

busthe #GstBus that sent the message
messagethe #GstMessage

Returns

#GstBusSyncReply stating what to do with the message

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

featuresthe #GstCapsFeatures
structurethe #GstStructure

Returns

true if the features and structure should be preserved,

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

featuresthe #GstCapsFeatures
structurethe #GstStructure

Returns

true if the foreach operation should continue, false if

the foreach operation should stop with false.

aliasCapsMapFunc = bool delegate(gst.caps_features.CapsFeatures features, gst.structure.Structure structure)

A function that will be called in [gst.caps.Caps.mapInPlace]. The function may modify features and structure.

Parameters

featuresthe #GstCapsFeatures
structurethe #GstStructure

Returns

true if the map operation should continue, false if

the map operation should stop with false.

The function prototype of the callback.

Parameters

clockThe clock that triggered the callback
timeThe time it was triggered
idThe #GstClockID that expired

Returns

true or false (currently unused)
aliasControlBindingConvert = void delegate(gst.control_binding.ControlBinding binding, double srcValue, gobject.value.Value destValue)

FIXME(2.0): remove, this is unused

Parameters

binding
srcValue
destValue
aliasControlSourceGetValue = bool delegate(gst.control_source.ControlSource self, gst.types.ClockTime timestamp, out double value)

Function for returning a value for a given timestamp.

Parameters

selfthe #GstControlSource instance
timestamptimestamp for which a value should be calculated
valuea value which will be set to the result.

Returns

true if the value was successfully calculated.
aliasControlSourceGetValueArray = bool delegate(gst.control_source.ControlSource self, gst.types.ClockTime timestamp, gst.types.ClockTime interval, ref double[] values)

Function for returning an array of values starting at a given timestamp.

Parameters

selfthe #GstControlSource instance
timestamptimestamp for which a value should be calculated
intervalthe time spacing between subsequent values
valuesarray to put control-values in

Returns

true if the values were successfully calculated.

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

transbufa #GstBuffer
metaa #GstCustomMeta
buffera #GstBuffer
typethe transform type
datatransform specific data.

Returns

true if the transform could be performed
aliasDebugFuncPtr = void delegate()

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)

aliasElementCallAsyncFunc = void delegate(gst.element.Element element)

Callback prototype used in #gst_element_call_async

Parameters

elementThe #GstElement this function has been called against
aliasElementForeachPadFunc = bool delegate(gst.element.Element element, gst.pad.Pad pad)

Function called for each pad when using [gst.element.Element.foreachSinkPad], [gst.element.Element.foreachSrcPad], or [gst.element.Element.foreachPad].

Parameters

elementthe #GstElement
pada #GstPad

Returns

false to stop iterating pads, true to continue

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

itThe original iterator
copyThe copied iterator

A function to be passed to [gst.iterator.Iterator.fold].

Parameters

itemthe item to fold
reta #GValue collecting the result

Returns

true if the fold should continue, false if it should stop.
aliasIteratorForeachFunction = void delegate(gobject.value.Value item)

A function that is called by [gst.iterator.Iterator.foreach_] for every element.

Parameters

itemThe 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

itthe 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

itthe iterator
itemthe item being retrieved.

Returns

the result of the operation.

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

itthe iterator
resulta pointer to hold the next item

Returns

the result of the operation.

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

itthe iterator
aliasLogFunction = void delegate(gst.debug_category.DebugCategory category, gst.types.DebugLevel level, string file, string function_, int line, gobject.object.ObjectWrap object, gst.debug_message.DebugMessage message)

Function prototype for a logging function that can be registered with [gst.global.debugAddLogFunction]. Use G_GNUC_NO_INSTRUMENT on that function.

Parameters

categorya #GstDebugCategory
levela #GstDebugLevel
filefile name
function_function name
lineline number
objecta #GObject
messagethe message
aliasMemoryCopyFunction = gst.memory.Memory delegate(gst.memory.Memory mem, ptrdiff_t offset, ptrdiff_t size)

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

mema #GstMemory
offsetan offset
sizea size or -1

Returns

a new #GstMemory object wrapping a copy of the requested region in

mem.

aliasMemoryIsSpanFunction = bool delegate(gst.memory.Memory mem1, gst.memory.Memory mem2, out size_t offset)

Check if mem1 and mem2 occupy contiguous memory and return the offset of mem1 in the parent buffer in offset.

Parameters

mem1a #GstMemory
mem2a #GstMemory
offseta result offset

Returns

true if mem1 and mem2 are in contiguous memory.
aliasMemoryMapFullFunction = void * delegate(gst.memory.Memory mem, gst.map_info.MapInfo info, size_t maxsize)

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

mema #GstMemory
infothe #GstMapInfo to map with
maxsizesize to map

Returns

a pointer to memory of which at least maxsize bytes can be

accessed according to the access pattern in info's flags.

aliasMemoryMapFunction = void * delegate(gst.memory.Memory mem, size_t maxsize, gst.types.MapFlags 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

mema #GstMemory
maxsizesize to map
flagsaccess mode for the memory

Returns

a pointer to memory of which at least maxsize bytes can be

accessed according to the access pattern in flags.

aliasMemoryShareFunction = gst.memory.Memory delegate(gst.memory.Memory mem, ptrdiff_t offset, ptrdiff_t size)

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

mema #GstMemory
offsetan offset
sizea size or -1

Returns

a new #GstMemory object sharing the requested region in mem.

Release the pointer previously retrieved with [gst.memory.Memory.map] with info.

Parameters

mema #GstMemory
infoa #GstMapInfo
aliasMemoryUnmapFunction = void delegate(gst.memory.Memory mem)

Release the pointer previously retrieved with [gst.memory.Memory.map].

Parameters

mema #GstMemory
aliasMetaClearFunction = void delegate(gst.buffer.Buffer buffer, gst.meta.Meta meta)

Clears the content of the meta. This will be called by the GstBufferPool when a pooled buffer is returned.

Parameters

buffera #GstBuffer
metaa #GstMeta
aliasMetaDeserializeFunction = gst.meta.Meta delegate(gst.meta_info.MetaInfo info, gst.buffer.Buffer buffer, ubyte[] data, ubyte version_)

Recreate a #GstMeta from serialized data returned by #GstMetaSerializeFunction and add it to buffer.

Parameters

info#GstMetaInfo of the meta
buffera #GstBuffer
datadata obtained from #GstMetaSerializeFunction
version_

Returns

the metadata owned by buffer, or null.
aliasMetaFreeFunction = void delegate(gst.meta.Meta meta, gst.buffer.Buffer buffer)

Function called when meta is freed in buffer.

Parameters

metaa #GstMeta
buffera #GstBuffer
aliasMetaInitFunction = bool delegate(gst.meta.Meta meta, void * params, gst.buffer.Buffer buffer)

Function called when meta is initialized in buffer.

Parameters

metaa #GstMeta
paramsparameters passed to the init function
buffera #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

transbufa #GstBuffer
metaa #GstMeta
buffera #GstBuffer
typethe transform type

Returns

true if the transform could be performed

Function prototype for methods to create copies of instances.

Parameters

objMiniObject to copy

Returns

reference to cloned instance.

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

objMiniObject to dispose

Returns

true if the object should be cleaned up.

Virtual function prototype for methods to free resources used by mini-objects.

Parameters

objMiniObject 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

objthe mini object
aliasPadActivateFunction = bool delegate(gst.pad.Pad pad, gst.object.ObjectWrap parent)

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

pada #GstPad
parentthe parent of pad

Returns

true if the pad could be activated.
aliasPadActivateModeFunction = bool delegate(gst.pad.Pad pad, gst.object.ObjectWrap parent, gst.types.PadMode mode, bool active)

The prototype of the push and pull activate functions.

Parameters

pada #GstPad
parentthe parent of pad
modethe requested activation mode of pad
activeactivate or deactivate the pad.

Returns

true if the pad could be activated or deactivated.

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

padthe sink #GstPad that performed the chain.
parentthe 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.
bufferthe #GstBuffer that is chained, not null.

Returns

#GST_FLOW_OK for success

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

padthe sink #GstPad that performed the chain.
parentthe 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.
listthe #GstBufferList that is chained, not null.

Returns

#GST_FLOW_OK for success

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

padthe #GstPad to handle the event.
parentthe 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.
eventthe #GstEvent to handle.

Returns

[gst.types.FlowReturn.Ok] if the event was handled properly, or any other

#GstFlowReturn dependent on downstream state.

aliasPadEventFunction = bool delegate(gst.pad.Pad pad, gst.object.ObjectWrap parent, gst.event.Event event)

Function signature to handle an event for the pad.

Parameters

padthe #GstPad to handle the event.
parentthe 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.
eventthe #GstEvent to handle.

Returns

true if the pad could handle the event.
aliasPadForwardFunction = bool delegate(gst.pad.Pad pad)

A forward function is called for all internally linked pads, see [gst.pad.Pad.forward].

Parameters

padthe #GstPad that is forwarded.

Returns

true if the dispatching procedure has to be stopped.
aliasPadGetRangeFunction = gst.types.FlowReturn delegate(gst.pad.Pad pad, gst.object.ObjectWrap parent, ulong offset, uint length, gst.buffer.Buffer buffer)

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

padthe src #GstPad to perform the getrange on.
parentthe 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.
offsetthe offset of the range
lengththe length of the range
buffera memory location to hold the result buffer, cannot be null.

Returns

#GST_FLOW_OK for success and a valid buffer in buffer. Any other

return value leaves buffer undefined.

The signature of the internal pad link iterator function.

Parameters

padThe #GstPad to query.
parentthe 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

a new #GstIterator that will iterate over all pads that are

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

padthe #GstPad that is linked.
parentthe 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.
peerthe peer #GstPad of the link

Returns

the result of the link with the specified peer.

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

padthe #GstPad that is blocked
info#GstPadProbeInfo

Returns

a #GstPadProbeReturn
aliasPadQueryFunction = bool delegate(gst.pad.Pad pad, gst.object.ObjectWrap parent, gst.query.Query query)

The signature of the query function.

Parameters

padthe #GstPad to query.
parentthe 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.
querythe #GstQuery object to execute

Returns

true if the query could be performed.

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

padthe #GstPad.
eventa sticky #GstEvent.

Returns

true if the iteration should continue
aliasPadUnlinkFunction = void delegate(gst.pad.Pad pad, gst.object.ObjectWrap parent)

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

padthe #GstPad that is linked.
parentthe 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

featurethe pluginfeature to check

Returns

true for a positive match, false otherwise
aliasPluginFilter = bool delegate(gst.plugin.Plugin plugin)

A function that can be used with e.g. [gst.registry.Registry.pluginFilter] to get a list of plugins that match certain criteria.

Parameters

pluginthe plugin to check

Returns

true for a positive match, false otherwise
aliasPluginInitFullFunc = bool delegate(gst.plugin.Plugin plugin)

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

pluginThe plugin object

Returns

true if plugin initialised successfully
aliasPluginInitFunc = bool delegate(gst.plugin.Plugin plugin)

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

pluginThe plugin object

Returns

true if plugin initialised successfully
aliasPromiseChangeFunc = void delegate(gst.promise.Promise promise)
aliasStructureFilterMapFunc = bool delegate(glib.types.Quark fieldId, gobject.value.Value value)

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

fieldIdthe #GQuark of the field name
valuethe #GValue of the field

Returns

true if the field should be preserved, false if it

should be removed.

aliasStructureForeachFunc = bool delegate(glib.types.Quark fieldId, gobject.value.Value value)

A function that will be called in [gst.structure.Structure.foreach_]. The function may not modify value.

Parameters

fieldIdthe #GQuark of the field name
valuethe #GValue of the field

Returns

true if the foreach operation should continue, false if

the foreach operation should stop with false.

aliasStructureMapFunc = bool delegate(glib.types.Quark fieldId, gobject.value.Value value)

A function that will be called in [gst.structure.Structure.mapInPlace]. The function may modify value.

Parameters

fieldIdthe #GQuark of the field name
valuethe #GValue of the field

Returns

true if the map operation should continue, false if

the map operation should stop with false.

aliasTagForeachFunc = void delegate(gst.tag_list.TagList list, string tag)

A function that will be called in [gst.tag_list.TagList.foreach_]. The function may not modify the tag list.

Parameters

listthe #GstTagList
taga name of a tag in list
aliasTagMergeFunc = void delegate(gobject.value.Value dest, gobject.value.Value src)

A function for merging multiple values of a tag used when registering tags.

Parameters

destthe destination #GValue
srcthe source #GValue
aliasTaskFunction = void delegate()

A function that will repeatedly be called in the thread created by a #GstTask.

aliasTaskPoolFunction = void delegate()

Task function, see [gst.task_pool.TaskPool.push].

aliasTaskThreadFunc = void delegate(gst.task.Task task, glib.thread.Thread thread)

Custom GstTask thread callback functions that can be installed.

Parameters

taskThe #GstTask
threadThe #GThread
aliasTypeFindFunction = void delegate(gst.type_find.TypeFind find)

A function that will be called by typefinding.

Parameters

findA #GstTypeFind structure
aliasValueCompareFunc = int delegate(gobject.value.Value value1, gobject.value.Value value2)

Used together with [gst.global.valueCompare] to compare #GValue items.

Parameters

value1first value for comparison
value2second value for comparison

Returns

one of GST_VALUE_LESS_THAN, GST_VALUE_EQUAL, GST_VALUE_GREATER_THAN

or GST_VALUE_UNORDERED

aliasValueDeserializeFunc = bool delegate(gobject.value.Value dest, string s)

Used by [gst.global.valueDeserialize] to parse a non-binary form into the #GValue.

Parameters

desta #GValue
sa string

Returns

true for success

Used by [gst.global.valueDeserializeWithPspec] to parse a non-binary form into the #GValue.

Parameters

desta #GValue
sa string
pspeca #GParamSpec describing the expected value

Returns

true for success
aliasValueSerializeFunc = string delegate(gobject.value.Value value1)

Used by [gst.global.valueSerialize] to obtain a non-binary form of the #GValue.

Free-function: g_free

Parameters

value1a #GValue

Returns

the string representation of the value

Variables 192

enumvarALLOCATOR_SYSMEM = "SystemMemory"

The allocator name for the default system memory allocator

enumvarBUFFER_COPY_ALL = 15

Combination of all possible fields that can be copied with [gst.buffer.Buffer.copyInto].

enumvarBUFFER_COPY_METADATA = 7

Combination of all possible metadata fields that can be copied with [gst.buffer.Buffer.copyInto].

enumvarBUFFER_OFFSET_NONE = 18446744073709551615

Constant for no-offset return results.

enumvarCAN_INLINE = 1
enumvarCAPS_FEATURE_MEMORY_SYSTEM_MEMORY = "memory:SystemMemory"
enumvarCLOCK_TIME_NONE = 18446744073709551615

Constant to define an undefined clock time.

enumvarDEBUG_BG_MASK = 240
enumvarDEBUG_FG_MASK = 15
enumvarDEBUG_FORMAT_MASK = 65280
enumvarELEMENT_FACTORY_KLASS_DECODER = "Decoder"
enumvarELEMENT_FACTORY_KLASS_DECRYPTOR = "Decryptor"
enumvarELEMENT_FACTORY_KLASS_DEMUXER = "Demuxer"
enumvarELEMENT_FACTORY_KLASS_DEPAYLOADER = "Depayloader"
enumvarELEMENT_FACTORY_KLASS_ENCODER = "Encoder"
enumvarELEMENT_FACTORY_KLASS_ENCRYPTOR = "Encryptor"
enumvarELEMENT_FACTORY_KLASS_FORMATTER = "Formatter"
enumvarELEMENT_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.

enumvarELEMENT_FACTORY_KLASS_MEDIA_AUDIO = "Audio"
enumvarELEMENT_FACTORY_KLASS_MEDIA_IMAGE = "Image"
enumvarELEMENT_FACTORY_KLASS_MEDIA_METADATA = "Metadata"
enumvarELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE = "Subtitle"
enumvarELEMENT_FACTORY_KLASS_MEDIA_VIDEO = "Video"
enumvarELEMENT_FACTORY_KLASS_MUXER = "Muxer"
enumvarELEMENT_FACTORY_KLASS_PARSER = "Parser"
enumvarELEMENT_FACTORY_KLASS_PAYLOADER = "Payloader"
enumvarELEMENT_FACTORY_KLASS_SINK = "Sink"
enumvarELEMENT_FACTORY_KLASS_SRC = "Source"
enumvarELEMENT_FACTORY_TYPE_ANY = 562949953421311

Elements of any of the defined GST_ELEMENT_FACTORY_LIST types

enumvarELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS = 3940649673949188

All sinks handling audio, video or image media types

enumvarELEMENT_FACTORY_TYPE_AUDIO_ENCODER = 1125899906842626

All encoders handling audio media types

enumvarELEMENT_FACTORY_TYPE_DECODABLE = 1377

All elements used to 'decode' streams (decoders, demuxers, parsers, depayloaders)

enumvarELEMENT_FACTORY_TYPE_DECODER = 1
enumvarELEMENT_FACTORY_TYPE_DECRYPTOR = 1024
enumvarELEMENT_FACTORY_TYPE_DEMUXER = 32
enumvarELEMENT_FACTORY_TYPE_DEPAYLOADER = 256
enumvarELEMENT_FACTORY_TYPE_ENCODER = 2
enumvarELEMENT_FACTORY_TYPE_ENCRYPTOR = 2048
enumvarELEMENT_FACTORY_TYPE_FORMATTER = 512
enumvarELEMENT_FACTORY_TYPE_HARDWARE = 4096
enumvarELEMENT_FACTORY_TYPE_MAX_ELEMENTS = 281474976710656
enumvarELEMENT_FACTORY_TYPE_MEDIA_ANY = 18446462598732840960

Elements matching any of the defined GST_ELEMENT_FACTORY_TYPE_MEDIA types

Note

Do not use this if you wish to not filter against any of the defined

media types. If you wish to do this, simply don't specify any GST_ELEMENT_FACTORY_TYPE_MEDIA flag.

enumvarELEMENT_FACTORY_TYPE_MEDIA_AUDIO = 1125899906842624
enumvarELEMENT_FACTORY_TYPE_MEDIA_IMAGE = 2251799813685248
enumvarELEMENT_FACTORY_TYPE_MEDIA_METADATA = 9007199254740992
enumvarELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE = 4503599627370496
enumvarELEMENT_FACTORY_TYPE_MEDIA_VIDEO = 562949953421312
enumvarELEMENT_FACTORY_TYPE_MUXER = 16
enumvarELEMENT_FACTORY_TYPE_PARSER = 64
enumvarELEMENT_FACTORY_TYPE_PAYLOADER = 128
enumvarELEMENT_FACTORY_TYPE_SINK = 4
enumvarELEMENT_FACTORY_TYPE_SRC = 8
enumvarELEMENT_FACTORY_TYPE_TIMESTAMPER = 8192

Timestamp correcting elements

enumvarELEMENT_FACTORY_TYPE_VIDEO_ENCODER = 2814749767106562

All encoders handling video or image media types

enumvarELEMENT_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>"

enumvarELEMENT_METADATA_DESCRIPTION = "description"

Sentence describing the purpose of the element. E.g: "Write stream to a file"

enumvarELEMENT_METADATA_DOC_URI = "doc-uri"

Set uri pointing to user documentation. Applications can use this to show help for e.g. effects to users.

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

enumvarELEMENT_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"

enumvarELEMENT_METADATA_LONGNAME = "long-name"

The long English name of the element. E.g. "File Sink"

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

enumvarEVENT_NUM_SHIFT = 8
enumvarEVENT_TYPE_BOTH = 3

The same thing as #GST_EVENT_TYPE_UPSTREAM | #GST_EVENT_TYPE_DOWNSTREAM.

enumvarFLAG_SET_MASK_EXACT = 4294967295

A mask value with all bits set, for use as a GstFlagSet mask where all flag bits must match exactly

enumvarFORMAT_PERCENT_MAX = 1000000

The PERCENT format is between 0 and this value

enumvarFORMAT_PERCENT_SCALE = 10000

The value used to scale down the reported PERCENT format value to its real value.

enumvarFOURCC_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));

enumvarGROUP_ID_INVALID = 0

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

enumvarLICENSE_UNKNOWN = "unknown"

To be used in GST_PLUGIN_DEFINE if unsure about the licence.

enumvarLOCK_FLAG_READWRITE = 3

GstLockFlags value alias for GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE

enumvarMAP_READWRITE = 3

GstMapFlags value alias for GST_MAP_READ | GST_MAP_WRITE

enumvarMETA_TAG_MEMORY_REFERENCE_STR = "memory-reference"

This metadata stays relevant until a deep copy is made.

enumvarMETA_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".

enumvarMSECOND = 1000000

Constant that defines one GStreamer millisecond.

enumvarNSECOND = 1

Constant that defines one GStreamer nanosecond

enumvarPARAM_CONDITIONALLY_AVAILABLE = 16384

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

enumvarPARAM_CONTROLLABLE = 512

Use this flag on GObject properties to signal they can make sense to be. controlled over time. This hint is used by the GstController.

enumvarPARAM_DOC_SHOW_DEFAULT = 8192

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

enumvarPARAM_MUTABLE_PAUSED = 2048

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

enumvarPARAM_MUTABLE_PLAYING = 4096

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

enumvarPARAM_MUTABLE_READY = 1024

Use this flag on GObject properties of GstElements to indicate that they can be changed when the element is in the READY or lower state.

enumvarPARAM_USER_SHIFT = 65536

Bits based on GST_PARAM_USER_SHIFT can be used by 3rd party applications.

enumvarPROTECTION_SYSTEM_ID_CAPS_FIELD = "protection-system"

The field name in a GstCaps that is used to signal the UUID of the protection system.

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

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

enumvarQUERY_NUM_SHIFT = 8
enumvarQUERY_TYPE_BOTH = 3

The same thing as #GST_QUERY_TYPE_UPSTREAM | #GST_QUERY_TYPE_DOWNSTREAM.

enumvarSECOND = 1000000000

Constant that defines one GStreamer second.

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

enumvarSEGMENT_INSTANT_FLAGS = 912
enumvarSEQNUM_INVALID = 0

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

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

enumvarSTIME_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)); ``

enumvarTAG_ALBUM = "album"

album containing this data (string)

The album name as it should be displayed, e.g. 'The Jazz Guitar'

enumvarTAG_ALBUM_ARTIST = "album-artist"

The artist of the entire album, as it should be displayed.

enumvarTAG_ALBUM_ARTIST_SORTNAME = "album-artist-sortname"

The artist of the entire album, as it should be sorted.

enumvarTAG_ALBUM_GAIN = "replaygain-album-gain"

album gain in db (double)

enumvarTAG_ALBUM_PEAK = "replaygain-album-peak"

peak of the album (double)

enumvarTAG_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'

enumvarTAG_ALBUM_VOLUME_COUNT = "album-disc-count"

count of discs inside collection this disc belongs to (unsigned integer)

enumvarTAG_ALBUM_VOLUME_NUMBER = "album-disc-number"

disc number inside a collection (unsigned integer)

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

enumvarTAG_APPLICATION_NAME = "application-name"

Name of the application used to create the media (string)

enumvarTAG_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'

enumvarTAG_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'

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

enumvarTAG_AUDIO_CODEC = "audio-codec"

codec the audio data is stored in (string)

enumvarTAG_BEATS_PER_MINUTE = "beats-per-minute"

number of beats per minute in audio (double)

enumvarTAG_BITRATE = "bitrate"

exact or average bitrate in bits/s (unsigned integer)

enumvarTAG_CODEC = "codec"

codec the data is stored in (string)

enumvarTAG_COMMENT = "comment"

free text commenting the data (string)

enumvarTAG_COMPOSER = "composer"

person(s) who composed the recording (string)

enumvarTAG_COMPOSER_SORTNAME = "composer-sortname"

The composer's name, used for sorting (string)

enumvarTAG_CONDUCTOR = "conductor"

conductor/performer refinement (string)

enumvarTAG_CONTACT = "contact"

contact information (string)

enumvarTAG_CONTAINER_FORMAT = "container-format"

container format the data is stored in (string)

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

enumvarTAG_COPYRIGHT = "copyright"

copyright notice of the data (string)

enumvarTAG_COPYRIGHT_URI = "copyright-uri"

URI to location where copyright details can be found (string)

enumvarTAG_DATE = "date"

date the data was created (#GDate structure)

enumvarTAG_DATE_TIME = "datetime"

date and time the data was created (#GstDateTime structure)

enumvarTAG_DESCRIPTION = "description"

short text describing the content of the data (string)

enumvarTAG_DEVICE_MANUFACTURER = "device-manufacturer"

Manufacturer of the device used to create the media (string)

enumvarTAG_DEVICE_MODEL = "device-model"

Model of the device used to create the media (string)

enumvarTAG_DURATION = "duration"

length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)

enumvarTAG_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

do not use this field to describe the encoding application. Use

#GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.

enumvarTAG_ENCODER = "encoder"

encoder used to encode this stream (string)

enumvarTAG_ENCODER_VERSION = "encoder-version"

version of the encoder used to encode this stream (unsigned integer)

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

enumvarTAG_GENRE = "genre"

genre this data belongs to (string)

enumvarTAG_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

enumvarTAG_GEO_LOCATION_CITY = "geo-location-city"

The city (english name) where the media has been produced (string).

enumvarTAG_GEO_LOCATION_COUNTRY = "geo-location-country"

The country (english name) where the media has been produced (string).

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

enumvarTAG_GEO_LOCATION_HORIZONTAL_ERROR = "geo-location-horizontal-error"

Represents the expected error on the horizontal positioning in meters (double).

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

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

enumvarTAG_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

enumvarTAG_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

enumvarTAG_GEO_LOCATION_NAME = "geo-location-name"

human readable descriptive location of where the media has been recorded or produced. (string).

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

enumvarTAG_GROUPING = "grouping"

Groups together media that are related and spans multiple tracks. An example are multiple pieces of a concerto. (string)

enumvarTAG_HOMEPAGE = "homepage"

Homepage for this media (i.e. artist or movie homepage) (string)

enumvarTAG_IMAGE = "image"

image (sample) (sample taglist should specify the content type and preferably also set "image-type" field as [gsttag.types.TagImageType])

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

enumvarTAG_INTERPRETED_BY = "interpreted-by"

Information about the people behind a remix and similar interpretations of another existing piece (string)

enumvarTAG_ISRC = "isrc"

International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)

enumvarTAG_KEYWORDS = "keywords"

comma separated keywords describing the content (string).

enumvarTAG_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]

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

enumvarTAG_LICENSE = "license"

license of data (string)

enumvarTAG_LICENSE_URI = "license-uri"

URI to location where license details can be found (string)

enumvarTAG_LOCATION = "location"

Origin of media as a URI (location, where the original of the file or stream is hosted) (string)

enumvarTAG_LYRICS = "lyrics"

The lyrics of the media (string)

enumvarTAG_MAXIMUM_BITRATE = "maximum-bitrate"

maximum bitrate in bits/s (unsigned integer)

enumvarTAG_MIDI_BASE_NOTE = "midi-base-note"
Midi note number

of the audio track. This is useful for sample instruments and in particular for multi-samples.

enumvarTAG_MINIMUM_BITRATE = "minimum-bitrate"

minimum bitrate in bits/s (unsigned integer)

enumvarTAG_NOMINAL_BITRATE = "nominal-bitrate"

nominal bitrate in bits/s (unsigned integer). The actual bitrate might be different from this target bitrate.

enumvarTAG_ORGANIZATION = "organization"

organization (string)

enumvarTAG_PERFORMER = "performer"

person(s) performing (string)

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

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

enumvarTAG_PUBLISHER = "publisher"

Name of the label or publisher (string)

enumvarTAG_REFERENCE_LEVEL = "replaygain-reference-level"

reference level of track and album gain values (double)

enumvarTAG_SERIAL = "serial"

serial number of track (unsigned integer)

enumvarTAG_SHOW_EPISODE_NUMBER = "show-episode-number"

Number of the episode within a season/show (unsigned integer)

enumvarTAG_SHOW_NAME = "show-name"

Name of the show, used for displaying (string)

enumvarTAG_SHOW_SEASON_NUMBER = "show-season-number"

Number of the season of a show/series (unsigned integer)

enumvarTAG_SHOW_SORTNAME = "show-sortname"

Name of the show, used for sorting (string)

enumvarTAG_SUBTITLE_CODEC = "subtitle-codec"

codec/format the subtitle data is stored in (string)

enumvarTAG_TITLE = "title"

commonly used title (string)

The title as it should be displayed, e.g. 'The Doll House'

enumvarTAG_TITLE_SORTNAME = "title-sortname"

commonly used title, as used for sorting (string)

The title as it should be sorted, e.g. 'Doll House, The'

enumvarTAG_TRACK_COUNT = "track-count"

count of tracks inside collection this track belongs to (unsigned integer)

enumvarTAG_TRACK_GAIN = "replaygain-track-gain"

track gain in db (double)

enumvarTAG_TRACK_NUMBER = "track-number"

track number inside a collection (unsigned integer)

enumvarTAG_TRACK_PEAK = "replaygain-track-peak"

peak of the track (double)

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

enumvarTAG_VERSION = "version"

version of this data (string)

enumvarTAG_VIDEO_CODEC = "video-codec"

codec the video data is stored in (string)

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

enumvarTIME_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)); ``

enumvarTOC_REPEAT_COUNT_INFINITE = - 1

Special value for the repeat_count set in [gst.toc_entry.TocEntry.setLoop] or returned by [gst.toc_entry.TocEntry.setLoop] to indicate infinite looping.

enumvarURI_NO_PORT = 0

Value for #GstUri<!-- -->.port to indicate no port number.

enumvarUSECOND = 1000

Constant that defines one GStreamer microsecond.

enumvarVALUE_EQUAL = 0

Indicates that the first value provided to a comparison function ([gst.global.valueCompare]) is equal to the second one.

enumvarVALUE_GREATER_THAN = 1

Indicates that the first value provided to a comparison function ([gst.global.valueCompare]) is greater than the second one.

enumvarVALUE_LESS_THAN = - 1

Indicates that the first value provided to a comparison function ([gst.global.valueCompare]) is lesser than the second one.

enumvarVALUE_UNORDERED = 2

Indicates that the comparison function ([gst.global.valueCompare]) can not determine a order for the two provided values.

enumvarVERSION_MAJOR = 1

The major version of GStreamer at compile time:

enumvarVERSION_MICRO = 8

The micro version of GStreamer at compile time:

enumvarVERSION_MINOR = 24

The minor version of GStreamer at compile time:

enumvarVERSION_NANO = 0

The nano version of GStreamer at compile time: Actual releases have 0, GIT versions have 1, prerelease versions have 2-...