GstTag.TagXmpWriter

g GObject.GInterface GObject.GInterface GstTag.TagXmpWriter GstTag.TagXmpWriter GObject.GInterface->GstTag.TagXmpWriter

Implementations:

None

Methods

add_all_schemas ()

add_schema (schema)

has_schema (schema)

remove_all_schemas ()

remove_schema (schema)

tag_list_to_xmp_buffer (taglist, read_only)

Virtual Methods

None

Properties

None

Signals

None

Fields

None

Class Details

class GstTag.TagXmpWriter
Bases:

GObject.GInterface

Structure:

GstTag.TagXmpWriterInterface

This interface is implemented by elements that are able to do XMP serialization. Examples for such elements are #jifmux and #qtmux.

Applications can use this interface to configure which XMP schemas should be used when serializing tags into XMP. Schemas are represented by their names, a full list of the supported schemas can be obtained from GstTag.tag_xmp_list_schemas(). By default, all schemas are used.

add_all_schemas()

Adds all available XMP schemas to the configuration. Meaning that all will be used.

add_schema(schema)
Parameters:

schema (str) – the schema to be added

Adds schema to the list schemas

has_schema(schema)
Parameters:

schema (str) – the schema to test

Returns:

True if it is going to be used

Return type:

bool

Checks if schema is going to be used

remove_all_schemas()

Removes all schemas from the list of schemas to use. Meaning that no XMP will be generated.

remove_schema(schema)
Parameters:

schema (str) – the schema to remove

Removes a schema from the list of schemas to use. Nothing is done if the schema wasn’t in the list

tag_list_to_xmp_buffer(taglist, read_only)
Parameters:
Return type:

Gst.Buffer