# apev2mux

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

## Example pipelines

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

A pipeline that transcodes a file from Ogg/Vorbis to mp3 format with an APEv2 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 ! apedemux ! fakesink silent=TRUE 2&gt; /dev/null | grep taglist

Verify that tags have been written.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstTagMux
                        ╰──apev2mux

## Implemented interfaces

    GstTagSetter

## Factory details

Authors: – Sebastian Dröge

Classification: – `Formatter/Metadata`

Rank – none

Plugin – taglib

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    ANY

Presence – always

Direction – sink

Object type – GstPad

### `src`

    application/x-apetag:

Presence – always

Direction – src

Object type – GstPad

The results of the search are