tagsetter

command
v0.2.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2021 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Overview

This example demonstrates how to set and store metadata using GStreamer.

Some elements support setting tags on a media stream. An example would be id3v2mux. The element signals this by implementing The GstTagsetter interface. You can query any element implementing this interface from the pipeline, and then tell the returned implementation of GstTagsetter what tags to apply to the media stream.

This example's pipeline creates a new flac file from the testaudiosrc that the example application will add tags to using GstTagsetter. The operated pipeline looks like this:

{audiotestsrc} - {flacenc} - {filesink}

For example for pipelines that transcode a multimedia file, the input already has tags. For cases like this, the GstTagsetter has the merge setting, which the application can configure to tell the element implementing the interface whether to merge newly applied tags to the already existing ones, or if all existing ones should replace, etc. (More modes of operation are possible, see: gst.TagMergeMode) This merge-mode can also be supplied to any method that adds new tags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL