Check if a given string contains a known ISO 639 language code.
Convenience function to read a string with unknown character encoding. If the string is already in UTF-8 encoding, it will be returned right away. If not it tries to detect byte-order-mark for UTF-16/32 cases and use that. Otherwise, the environment will be searched for a number of environment variables (whose names are specified in the NULL-terminated string array env_vars) containing a list of character encodings to try/use. If none are specified, the current locale will be tried. If that also doesn't work, WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).
Looks up the GStreamer tag for a ID3v2 tag.
Looks up the GStreamer tag for an ID3v2 user tag (e.g. description in TXXX frame or owner in UFID frame).
Looks up the GStreamer tag for a vorbiscomment tag.
Determines size of an ID3v2 tag on buffer containing at least ID3v2 header, i.e. at least #GST_TAG_ID3V2_HEADER_SIZE (10) bytes;
Returns two-letter ISO-639-1 language code given a three-letter ISO-639-2 language code or two-letter ISO-639-1 language code (both are accepted for convenience).
Returns three-letter ISO-639-2 "bibliographic" language code given a two-letter ISO-639-1 language code or a three-letter ISO-639-2 language code (both are accepted for convenience).
Returns three-letter ISO-639-2 "terminological" language code given a two-letter ISO-639-1 language code or a three-letter ISO-639-2 language code (both are accepted for convenience).
Returns a list of known language codes (in form of two-letter ISO-639-1 codes). This is useful for UIs to build a list of available languages for tagging purposes (e.g. to tag an audio track appropriately in a video or audio editor).
Returns the name of the language given an ISO-639 language code as found in a GST_TAG_LANGUAGE_CODE tag. The name will be translated according to the current locale (if the library was built against the iso-codes package, otherwise the English name will be returned).
Get the description of a license, which is a translated description of the license's main features.
Get the flags of a license, which describe most of the features of a license in their most general form.
Get the jurisdiction code of a license. This is usually a two-letter ISO 3166-1 alpha-2 code, but there is also the special case of Scotland, for which no code exists and which is thus represented as "scotland".
Get the nick name of a license, which is a short (untranslated) string such as e.g. "CC BY-NC-ND 2.0 UK".
Get the title of a license, which is a short translated description of the license's features (generally not very pretty though).
Get the version of a license.
Returns a list of known license references (in form of URIs). This is useful for UIs to build a list of available licenses for tagging purposes (e.g. to tag an audio track appropriately in a video or audio editor, or an image in a camera application).
Gets the number of ID3v1 genres that can be identified. Winamp genres are included.
Gets the ID3v1 genre name for a given ID.
Helper function for tag-reading plugins to create a #GstSample suitable to add to a #GstTagList as an image tag (such as #GST_TAG_IMAGE or #GST_TAG_PREVIEW_IMAGE) from the encoded image data and an (optional) image type.
Adds an image from an ID3 APIC frame (or similar, such as used in FLAC) to the given tag list. Also see gsttag.global.tagImageDataToImageSample for more information on image tags in GStreamer.
Parses the IFD and IFD tags data contained in the buffer and puts it on a taglist. The base_offset is used to subtract from the offset in the tag entries and be able to get the offset relative to the buffer start
Parses the exif tags starting with a tiff header structure.
Creates a new tag list that contains the information parsed out of a ID3 tag.
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parse a xmp packet into a taglist.
Parses the data containing an ID3v1 tag and returns a #GstTagList from the parsed data.
Formats the tags in taglist on exif format. The resulting buffer contains the tags IFD and is followed by the data pointed by the tag entries.
Formats the tags in taglist into exif structure, a tiff header is put in the beginning of the buffer.
Creates a new vorbiscomment buffer from a tag list.
Formats a taglist as a xmp packet using only the selected schemas. An empty list (null) means that all schemas should be used
Convenience function to parse a GST_TAG_EXTENDED_COMMENT string and separate it into its components.
Registers additional musicbrainz-specific tags with the GStreamer tag system. Plugins and applications that use these tags should call this function before using them. Can be called multiple times.
Looks up the ID3v2 tag for a GStreamer tag.
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Looks up the vorbiscomment tag for a GStreamer tag.
Gets the list of supported schemas in the xmp lib
Convenience function using gsttag.global.tagFromVorbisTag, parsing a vorbis comment string into the right type and adding it to the given taglist list.