[gst-devel] write ogg tags

Andreas Volz lists at brachttal.net
Tue Jan 2 22:44:18 CET 2007


Am Tue, 02 Jan 2007 21:08:06 +0100 schrieb René Stadler:

> I looked at the spec (the link you mentioned below), and it indeed
> specifies a LOCATION field.  It does not specify in what format the
> location data should be though, so my guess is that there is some
> implicit convention to apply here (similar as for the DATE field).  As
> Tim asked, can you file a bug against gst-plugins-base to request
> adding the mapping for GST_TAG_LOCATION <-> LOCATION in
> gstvorbistag.c?

I've created a bug here: 

http://bugzilla.gnome.org/show_bug.cgi?id=392070

If you've more ideas, simply add them to the bug.

> > I read the vorbis spec and see only that vorbis defines UTF-8 for
> > all tags. I couldn't even see that date is formated in a special
> > way. Is this a gstreamer enhancement?
> > 
> > >  Are there programs that do it?
> > 
> > No, not yet. But my app will do it. Isn't that enough. :-P
> 
> To quote from the document you mention below: "Individual 'vendors'
> may use non-standard field names within reason. The proper use of
> comment fields should be clear through context at this point. Abuse
> will be discouraged." :-)

This answers also my next question. Why not using a unused tag field
and simply put an image into. :-)

> Sounds like overkill for storing a single coordinate pair.  I think

GPS information are not only a single coordinate pair. There're some
more informations. But you're right.

> the spec mentions using XML bitstreams so people don't try to cram
> subtitles, lyrics or textual annotations into the comment field, which
> is supposed to hold meta data only.

Subtitles? :-) Idea:

I take a video (assuming theora supports same feature) from a complete
road a trip. While encoding the file the current geo data from the GPS
receiver is written direct into the stream and later read as subtitle.
Cool idea!

> My advice would be to decide on some good representation for the
> coordinates and store them in the LOCATION field.  Use the extended
> comment method until gstvorbistag.c is fixed.

Yes, for now I'll use the extended comment.

regards
Andreas




More information about the gstreamer-devel mailing list