Constants#

ALLOCATOR_SYSMEM = SystemMemory#

The allocator name for the default system memory allocator

BUFFER_COPY_ALL = 0#

Combination of all possible fields that can be copied with copy_into().

BUFFER_COPY_METADATA = 0#

Combination of all possible metadata fields that can be copied with copy_into().

BUFFER_OFFSET_NONE = 18446744073709551615#

Constant for no-offset return results.

CAN_INLINE = 1#
CAPS_FEATURE_MEMORY_SYSTEM_MEMORY = memory:SystemMemory#
CLOCK_TIME_NONE = 18446744073709551615#

Constant to define an undefined clock time.

DEBUG_BG_MASK = 240#
DEBUG_FG_MASK = 15#
DEBUG_FORMAT_MASK = 65280#
ELEMENT_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 = 562949953421311#

Elements of any of the defined GST_ELEMENT_FACTORY_LIST types

ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS = 3940649673949188#

All sinks handling audio, video or image media types

ELEMENT_FACTORY_TYPE_AUDIO_ENCODER = 1125899906842626#

All encoders handling audio media types

ELEMENT_FACTORY_TYPE_DECODABLE = 1377#

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

ELEMENT_FACTORY_TYPE_DECODER = 1#
ELEMENT_FACTORY_TYPE_DECRYPTOR = 1024#
ELEMENT_FACTORY_TYPE_DEMUXER = 32#
ELEMENT_FACTORY_TYPE_DEPAYLOADER = 256#
ELEMENT_FACTORY_TYPE_ENCODER = 2#
ELEMENT_FACTORY_TYPE_ENCRYPTOR = 2048#
ELEMENT_FACTORY_TYPE_FORMATTER = 512#
ELEMENT_FACTORY_TYPE_HARDWARE = 4096#
ELEMENT_FACTORY_TYPE_MAX_ELEMENTS = 281474976710656#
ELEMENT_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.

ELEMENT_FACTORY_TYPE_MEDIA_AUDIO = 1125899906842624#
ELEMENT_FACTORY_TYPE_MEDIA_IMAGE = 2251799813685248#
ELEMENT_FACTORY_TYPE_MEDIA_METADATA = 9007199254740992#
ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE = 4503599627370496#
ELEMENT_FACTORY_TYPE_MEDIA_VIDEO = 562949953421312#
ELEMENT_FACTORY_TYPE_MUXER = 16#
ELEMENT_FACTORY_TYPE_PARSER = 64#
ELEMENT_FACTORY_TYPE_PAYLOADER = 128#
ELEMENT_FACTORY_TYPE_SINK = 4#
ELEMENT_FACTORY_TYPE_SRC = 8#
ELEMENT_FACTORY_TYPE_TIMESTAMPER = 8192#

Timestamp correcting elements

ELEMENT_FACTORY_TYPE_VIDEO_ENCODER = 2814749767106562#

All 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 wzxhzdk:0joe.blogs at foo.comwzxhzdk:1”

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”

EVENT_NUM_SHIFT = 8#
EVENT_TYPE_BOTH = 0#

The same thing as GST_EVENT_TYPE_UPSTREAM | GST_EVENT_TYPE_DOWNSTREAM.

FLAG_SET_MASK_EXACT = 4294967295#

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

FORMAT_PERCENT_MAX = 1000000#

The PERCENT format is between 0 and this value

FORMAT_PERCENT_SCALE = 10000#

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

GROUP_ID_INVALID = 0#

A value which is guaranteed to never be returned by util_group_id_next().

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 = 0#

GstLockFlags value alias for GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE

MAP_READWRITE = 0#

GstMapFlags 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 = 1000000#

Constant that defines one GStreamer millisecond.

NSECOND = 1#

Constant that defines one GStreamer nanosecond

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

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

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

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

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

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

PARAM_USER_SHIFT = 65536#

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

QUERY_NUM_SHIFT = 8#
QUERY_TYPE_BOTH = 0#

The same thing as GST_QUERY_TYPE_UPSTREAM | GST_QUERY_TYPE_DOWNSTREAM.

SECOND = 1000000000#

Constant that defines one GStreamer second.

SEGMENT_INSTANT_FLAGS = 912#
SEQNUM_INVALID = 0#

A value which is guaranteed to never be returned by util_seqnum_next().

Can be used as a default value in variables used to store seqnum.

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.

copyright notice of the data (string)

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

TAG_DATE = date#

date the data was created (Date structure)

TAG_DATE_TIME = datetime#

date and time the data was created (DateTime 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: do not use this field to describe the encoding application. Use 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 GstTagImageType)

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: gst_tag_get_language_name()

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#

Midi note number 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 Sample in which Buffer contains the binary data and the sample’s info Structure 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)

TOC_REPEAT_COUNT_INFINITE = -1#

Special value for the repeat_count set in set_loop() or returned by set_loop() to indicate infinite looping.

URI_NO_PORT = 0#

Value for Uri<!– –>.port to indicate no port number.

USECOND = 1000#

Constant that defines one GStreamer microsecond.

VALUE_EQUAL = 0#

Indicates that the first value provided to a comparison function (value_compare()) is equal to the second one.

VALUE_GREATER_THAN = 1#

Indicates that the first value provided to a comparison function (value_compare()) is greater than the second one.

VALUE_LESS_THAN = -1#

Indicates that the first value provided to a comparison function (value_compare()) is lesser than the second one.

VALUE_UNORDERED = 2#

Indicates that the comparison function (value_compare()) can not determine a order for the two provided values.

VERSION_MAJOR = 1#

The major version of GStreamer at compile time:

VERSION_MICRO = 11#

The micro version of GStreamer at compile time:

VERSION_MINOR = 24#

The minor version of GStreamer at compile time:

VERSION_NANO = 0#

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