id3v2mux

id3v2mux — Adds an ID3v2 header to the beginning of MP3 files using taglib

Synopsis

                    GstId3v2Mux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstTagLibMux
                     +----GstId3v2Mux

Implemented Interfaces

GstId3v2Mux implements GstTagSetter.

Description

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 -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 -m filesrc location=foo.mp3 ! id3demux ! fakesink silent=TRUE 2> /dev/null | grep taglist
Verify that tags have been written.

Details

GstId3v2Mux

typedef struct _GstId3v2Mux GstId3v2Mux;

See Also

GstID3Demux, GstTagSetter