id3v2mux

This element adds ID3v2 tags to the beginning of a stream using the taglib library. More precisely, the tags written are ID3 version 2.4.0 tags (which means in practice that some hardware players or outdated programs might not be able to read them properly).

Applications can set the tags to write using the GstTagSetter interface. Tags sent by upstream elements will be picked up automatically (and merged according to the merge mode set via the tag setter interface).

Example pipelines

 gst-launch-1.0 -v filesrc location=foo.ogg ! decodebin ! audioconvert ! lame ! id3v2mux ! filesink location=foo.mp3

A pipeline that transcodes a file from Ogg/Vorbis to mp3 format with an ID3v2 that contains the same as the the Ogg/Vorbis file. Make sure the Ogg/Vorbis file actually has comments to preserve.

 gst-launch-1.0 -m filesrc location=foo.mp3 ! id3demux ! fakesink silent=TRUE 2> /dev/null | grep taglist

Verify that tags have been written.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstTagMux
                    ╰──id3v2mux

Implemented interfaces

Factory details

Authors: – Christophe Fergeau

Classification:Formatter/Metadata

Rank – none

Plugin – taglib

Package – GStreamer Good Plug-ins

Pad Templates

sink

ANY

Presencealways

Directionsink

Object typeGstPad


src

application/x-id3:

Presencealways

Directionsrc

Object typeGstPad


The results of the search are