How to add a tag while capturiing audio video file

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Sep 18 03:39:04 PDT 2013


On Tue, 2013-09-17 at 06:24 -0700, Baz wrote:

Hi,

> "How to tagging while capturing audio and video".
> I was able to capture the using Gstreamer, but I was not able to add tags
> into it.

It depends a bit on the elements involved.

Most muxers support the GstTagSetter interface, which you can use to set
tags.

In some cases you need to set the tags on the encoder instead (e.g. with
ogg/vorbis/theora).

You can also use the taginject element to set stream-specific tags.
Those should be picked up by the muxer then.

For some kinds of tags (e.g. ID3) you need to add an id3mux element at
the end after the encoder.

Cheers
 -Tim



More information about the gstreamer-devel mailing list