[ogg-dev] embeding xml to ogg

Martin Leese martin.leese at stanfordalumni.org
Mon Jun 4 13:08:47 PDT 2012


"Benjamin M. Schwartz" wrote:

> On 06/04/2012 10:50 AM, Oleksij Rempel wrote:
...
>> XMP fits to our needs, but it
>> looks like there is still no ready documentation about muxing XML to ogg.
>
> Well then you've already solved the problem.  Just store the XMP in a
> VorbisComment field named "XMP" (or whatever name you like).

This suggestion falls well short of an optimal
solution.  The Vorbis docs even state "arbitrary
metadata belongs in a separate logical
bitstream (usually an XML stream type) that
provides greater structure and machine
parseability".

The optimal solution is described at:
https://wiki.xiph.org/XMLEmbedding

However, this draft hasn't been touched since
2007.

The other problem was that adding a separate
XML stream to an Ogg container would break
many existing players.  Presumably, since the
introduction of Ogg Skeleton, that is not such a
problem now.

Regards,
Martin
-- 
Martin J Leese
E-mail: martin.leese  stanfordalumni.org
Web: http://members.tripod.com/martin_leese/


More information about the ogg-dev mailing list