# taginject

Element that injects new metadata tags, but passes incoming data through unmodified.

## Example launch lines

     gst-launch-1.0 audiotestsrc num-buffers=100 ! taginject tags="title=testsrc,artist=gstreamer" ! vorbisenc ! oggmux ! filesink location=test.ogg

set title and artist

     gst-launch-1.0 audiotestsrc num-buffers=100 ! taginject tags="keywords=\{\"testone\",\"audio\"\},title=\"audio\ testtone\"" ! vorbisenc ! oggmux ! filesink location=test.ogg

set keywords and title demonstrating quoting of special chars and handling lists

     gst-launch-1.0.exe audiotestsrc num-buffers=500 ! taginject tags="title=MyTitle,artist=MyArtist,album=MyAlbum,genre=MyGenre" scope=global ! qtmux ! filesink location=test.m4a

set title, artist, album and genre. set scope as global

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──taginject

## Factory details

Authors: – Stefan Kost <ensonic></ensonic>

Classification: – `Generic`

Rank – none

Plugin – debug

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    ANY

Presence – always

Direction – sink

Object type – GstPad

### `src`

    ANY

Presence – always

Direction – src

Object type – GstPad

## Properties

### scope

    “scope” GstTagScope *

Scope of tags to inject (stream | global).

Flags : Read / Write

Default value : stream (0)

Since : 1.24

### tags

    “tags” gchararray

List of tags to inject into the target file

Flags : Read / Write

Default value : NULL

The results of the search are