apev2mux

apev2mux — Adds an APEv2 header to the beginning of files using taglib

Synopsis

                    GstApev2Mux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstTagLibMux
                     +----GstApev2Mux

Implemented Interfaces

GstApev2Mux implements GstTagSetter.

Description

This element adds APEv2 tags to the beginning of a stream using the taglib library.

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).

Here is a simple pipeline that transcodes a file from Ogg/Vorbis to mp3 format with an APEv2 that contains the same as the the Ogg/Vorbis file:

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

Make sure the Ogg/Vorbis file actually has comments to preserve. You can verify the tags were written using:

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

Synopsis

Element Information

plugin

taglib

author

Sebastian Dröge <slomo@circular-chaos.org>

class

Formatter/Metadata

Element Pads

name

src

direction

source

presence

always

details

application/x-apetag

name

sink

direction

sink

presence

always

details

ANY

Details

GstApev2Mux

typedef struct _GstApev2Mux GstApev2Mux;

See Also

GstTagSetter