[vorbis-dev] RFC: xml-like streams in Ogg.

Petr Tomasek tomasek at etf.cuni.cz
Sun Dec 29 07:37:41 PST 2002



Hello!

I've played in the last couple of days with an idea of having (binary)
'xml-like' streams in Ogg. This would make possible having metadata: 

  1) be independant on the codec,
  2) could be introduced at any time, not just in the header (consider e.g.
while streaming radio statio you want to send the current's program
name / the current song, etc.. with the stream without having to "restart"
the stream. Subtitles [lyrics for audio files] could use this stream
as well...).

Another use of such a xml-like stream would be hints for players
(like if there would be more language/quality/resolutin variants
multiplexed together in one ogg).

The advantage over simple key-value pair based stream OTOH is that
we can have structured information stored in the stream.

(I've made some simple programs, that take an xml and convert it to
a ogg based xml-like binary stream and vice-versa. You can find it
at http://www.etf.cuni.cz/~tomasek/pub/ogg/xml2ogg.tgz
Just, please, be warned, that these are quite buggy and not that
nice code yet.)

I can write more about the concept, if someone would be interrested.

PT>


--
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list