-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 11 May 2004 10:20, Christoph Rupp wrote:> Dear list,
>
> i want to embed some meta data in an ogg stream, which contains
> additional commands for the ogg player like setting the volume, panning
> etc. I.e. for fading out a song i would send several commands like
"set
> volume to 99%", "set volume to 98%", "set volume to
97%" etc etc.
>
> I thought using vorbis comments could be a good idea. But they would be
> spread over the whole file. Is this possible with vorbis comments? it
> seems that i can only send them when calling vorbis_analysis_headerout()...
The first thing that comes to mind is what the spec has to say about comments:
The Vorbis text comment header is the second (of three) header packets that
begin a Vorbis bitstream. It is meant for short, text comments, not
arbitrary metadata; arbitrary metadata belongs in a separate logical
bitstream (usually an XML stream type) that provides greater structure and
machine parseability.
The comment field is meant to be used much like someone jotting a quick note
on the bottom of a CDR. It should be a little information to remember the
disc by and explain it to others; a short, to-the-point text note that need
not only be a couple words, but isn't going to be more than a short
paragraph. The essentials, in other words, whatever they turn out to be,
[...]
http://www.xiph.org/ogg/vorbis/doc/v-comment.html
It would seem that what you're trying to do is something of an abuse of
comments; my understanding is that tthey should all map to something that's
meaningful to a human reader.
- -Scott
- --
New Orleans food is as delicious as the less criminal forms of sin.
--Mark Twain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFAoLfhQu0ByfY5QTkRArzXAJ9b0yYxtoyP+MU/K92DFY1nJa/qkQCfXPQG
ZbzPHJxMp4T2R/3ePaFKJiE=gOxo
-----END PGP SIGNATURE-----
--- >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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.