GstVorbisTag
Contains various utility functions for plugins to parse or create vorbiscomments and map them to and from GstTagLists.
Functions
gst_tag_from_vorbis_tag
const gchar * gst_tag_from_vorbis_tag (const gchar * vorbis_tag)
Looks up the GStreamer tag for a vorbiscomment tag.
Parameters:
vorbis_tag
–
vorbiscomment tag to convert to GStreamer tag
The corresponding GStreamer tag or NULL if none exists.
GstTag.prototype.tag_from_vorbis_tag
function GstTag.prototype.tag_from_vorbis_tag(vorbis_tag: String): {
// javascript wrapper for 'gst_tag_from_vorbis_tag'
}
Looks up the GStreamer tag for a vorbiscomment tag.
Parameters:
vorbiscomment tag to convert to GStreamer tag
The corresponding GStreamer tag or NULL if none exists.
GstTag.tag_from_vorbis_tag
def GstTag.tag_from_vorbis_tag (vorbis_tag):
#python wrapper for 'gst_tag_from_vorbis_tag'
Looks up the GStreamer tag for a vorbiscomment tag.
Parameters:
vorbiscomment tag to convert to GStreamer tag
The corresponding GStreamer tag or NULL if none exists.
gst_tag_list_from_vorbiscomment
GstTagList * gst_tag_list_from_vorbiscomment (const guint8 * data, gsize size, const guint8 * id_data, const guint id_data_length, gchar ** vendor_string)
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parameters:
data
(
[arraylength=size])
–
data to convert
size
–
size of data
id_data
(
[arraylength=id_data_length])
–
identification data at start of stream
id_data_length
–
length of identification data
vendor_string
(
[out][optional])
–
pointer to a string that should take the vendor string of this vorbis comment or NULL if you don't need it.
A new GstTagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
GstTag.prototype.tag_list_from_vorbiscomment
function GstTag.prototype.tag_list_from_vorbiscomment(data: [ Number ], size: Number, id_data: [ Number ], id_data_length: Number): {
// javascript wrapper for 'gst_tag_list_from_vorbiscomment'
}
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parameters:
data to convert
size of data
identification data at start of stream
length of identification data
Returns a tuple made of:
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
GstTag.tag_list_from_vorbiscomment
def GstTag.tag_list_from_vorbiscomment (data, size, id_data, id_data_length):
#python wrapper for 'gst_tag_list_from_vorbiscomment'
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parameters:
data to convert
size of data
identification data at start of stream
length of identification data
Returns a tuple made of:
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
gst_tag_list_from_vorbiscomment_buffer
GstTagList * gst_tag_list_from_vorbiscomment_buffer (GstBuffer * buffer, const guint8 * id_data, const guint id_data_length, gchar ** vendor_string)
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parameters:
buffer
–
buffer to convert
id_data
(
[arraylength=id_data_length])
–
identification data at start of stream
id_data_length
–
length of identification data
vendor_string
(
[out][optional])
–
pointer to a string that should take the vendor string of this vorbis comment or NULL if you don't need it.
A new GstTagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
GstTag.prototype.tag_list_from_vorbiscomment_buffer
function GstTag.prototype.tag_list_from_vorbiscomment_buffer(buffer: Gst.Buffer, id_data: [ Number ], id_data_length: Number): {
// javascript wrapper for 'gst_tag_list_from_vorbiscomment_buffer'
}
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parameters:
buffer to convert
identification data at start of stream
length of identification data
Returns a tuple made of:
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
GstTag.tag_list_from_vorbiscomment_buffer
def GstTag.tag_list_from_vorbiscomment_buffer (buffer, id_data, id_data_length):
#python wrapper for 'gst_tag_list_from_vorbiscomment_buffer'
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
Parameters:
buffer to convert
identification data at start of stream
length of identification data
Returns a tuple made of:
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
A new Gst.TagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error.
gst_tag_list_to_vorbiscomment_buffer
GstBuffer * gst_tag_list_to_vorbiscomment_buffer (const GstTagList * list, const guint8 * id_data, const guint id_data_length, const gchar * vendor_string)
Creates a new vorbiscomment buffer from a tag list.
Parameters:
list
–
tag list to convert
id_data
(
[arraylength=id_data_length])
–
identification data at start of stream
id_data_length
–
length of identification data, may be 0 if id_data is NULL
vendor_string
(
[nullable])
–
string that describes the vendor string or NULL
A new GstBuffer containing a vorbiscomment buffer with all tags that could be converted from the given tag list.
GstTag.prototype.tag_list_to_vorbiscomment_buffer
function GstTag.prototype.tag_list_to_vorbiscomment_buffer(list: Gst.TagList, id_data: [ Number ], id_data_length: Number, vendor_string: String): {
// javascript wrapper for 'gst_tag_list_to_vorbiscomment_buffer'
}
Creates a new vorbiscomment buffer from a tag list.
Parameters:
tag list to convert
identification data at start of stream
length of identification data, may be 0 if id_data is NULL
string that describes the vendor string or NULL
A new Gst.Buffer containing a vorbiscomment buffer with all tags that could be converted from the given tag list.
GstTag.tag_list_to_vorbiscomment_buffer
def GstTag.tag_list_to_vorbiscomment_buffer (list, id_data, id_data_length, vendor_string):
#python wrapper for 'gst_tag_list_to_vorbiscomment_buffer'
Creates a new vorbiscomment buffer from a tag list.
Parameters:
tag list to convert
identification data at start of stream
length of identification data, may be 0 if id_data is NULL
string that describes the vendor string or NULL
A new Gst.Buffer containing a vorbiscomment buffer with all tags that could be converted from the given tag list.
gst_tag_to_vorbis_comments
GList * gst_tag_to_vorbis_comments (const GstTagList * list, const gchar * tag)
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
A GList of newly-allocated key=value strings. Free with g_list_foreach (list, (GFunc) g_free, NULL) plus g_list_free (list)
GstTag.prototype.tag_to_vorbis_comments
function GstTag.prototype.tag_to_vorbis_comments(list: Gst.TagList, tag: String): {
// javascript wrapper for 'gst_tag_to_vorbis_comments'
}
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
GstTag.tag_to_vorbis_comments
def GstTag.tag_to_vorbis_comments (list, tag):
#python wrapper for 'gst_tag_to_vorbis_comments'
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
gst_tag_to_vorbis_tag
const gchar * gst_tag_to_vorbis_tag (const gchar * gst_tag)
Looks up the vorbiscomment tag for a GStreamer tag.
Parameters:
gst_tag
–
GStreamer tag to convert to vorbiscomment tag
The corresponding vorbiscomment tag or NULL if none exists.
GstTag.prototype.tag_to_vorbis_tag
function GstTag.prototype.tag_to_vorbis_tag(gst_tag: String): {
// javascript wrapper for 'gst_tag_to_vorbis_tag'
}
Looks up the vorbiscomment tag for a GStreamer tag.
Parameters:
GStreamer tag to convert to vorbiscomment tag
The corresponding vorbiscomment tag or NULL if none exists.
GstTag.tag_to_vorbis_tag
def GstTag.tag_to_vorbis_tag (gst_tag):
#python wrapper for 'gst_tag_to_vorbis_tag'
Looks up the vorbiscomment tag for a GStreamer tag.
Parameters:
GStreamer tag to convert to vorbiscomment tag
The corresponding vorbiscomment tag or NULL if none exists.
gst_vorbis_tag_add
gst_vorbis_tag_add (GstTagList * list, const gchar * tag, const gchar * value)
Convenience function using gst_tag_from_vorbis_tag, parsing a vorbis comment string into the right type and adding it to the given taglist list.
Unknown vorbiscomment tags will be added to the tag list in form of a GST_TAG_EXTENDED_COMMENT.
Parameters:
list
–
tag
–
a vorbiscomment tag string (key in key=value), must be valid UTF-8
value
–
a vorbiscomment value string (value in key=value), must be valid UTF-8
GstTag.prototype.vorbis_tag_add
function GstTag.prototype.vorbis_tag_add(list: Gst.TagList, tag: String, value: String): {
// javascript wrapper for 'gst_vorbis_tag_add'
}
Convenience function using GstTag.prototype.tag_from_vorbis_tag, parsing a vorbis comment string into the right type and adding it to the given taglist list.
Unknown vorbiscomment tags will be added to the tag list in form of a Gst.TAG_EXTENDED_COMMENT.
Parameters:
a vorbiscomment tag string (key in key=value), must be valid UTF-8
a vorbiscomment value string (value in key=value), must be valid UTF-8
GstTag.vorbis_tag_add
def GstTag.vorbis_tag_add (list, tag, value):
#python wrapper for 'gst_vorbis_tag_add'
Convenience function using GstTag.tag_from_vorbis_tag, parsing a vorbis comment string into the right type and adding it to the given taglist list.
Unknown vorbiscomment tags will be added to the tag list in form of a Gst.TAG_EXTENDED_COMMENT.
Parameters:
a vorbiscomment tag string (key in key=value), must be valid UTF-8
a vorbiscomment value string (value in key=value), must be valid UTF-8
The results of the search are