apev2mux

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

Synopsis




                    GstApev2Mux;

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

Element Information

plugin taglib
author Sebastian Dr303266ge <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 {
  GstTagLibMux  taglibmux;
} GstApev2Mux;

See Also

GstTagSetter