[vorbis-dev] Device Control

rillian rillian at telus.net
Wed Aug 15 22:50:30 PDT 2001



On Wednesday, August 15, 2001, at 11:04 , Kerry Milestone wrote:

> I remember reading sometime ago here about placing alongside the audio 
> stream other information, such as DMX lighting controls (ave a wee 
> look-see here http://llg.cubic.org/dmx4linux/ ).  I now have some gear 
> i can get my hands on to play with and was wondering if anyone else 
> is/has been working on anything similar.  The emphasis here is on 
> public exhibition displays, where one could setup lighting on the 
> intended target display as the dialogue plays out from perhaps an 
> embedded device.

The plan (such as it is) remains the same. Work out a nice packetized 
format for your track data, use libogg to pack it into ogg pages, and 
interleave them with the vorbis stream. As long as the logical bitstream 
id is different, that should fit the spec as intended. I'd suggest 
filling the granulepos with timecodes at the same sample rate as the 
vorbis audio you're syncing with unless your data stream has an internal 
or significantly different sequence number that makes more sense. 
Whatever, as long as the player knows how to sync.

We're still without any infrastructure to support this, so some coding 
is needed. Jack apparently has a contract to integrate midi data, so 
some of it may happen soon. There's also an issue with libvorbisfile 
(and most other player code) in that they currently don't deal properly 
with non-degenerate ogg files, but that won't be an issue for the 
(custom) installation application you mentioned. Likewise, we've not 
solved the 'table of contents' issue, but that only concerns player 
interoperability. I expect if you put the vorbis header first, you won't 
have any problems, and other players can just ignore the dmx track.

Hope that helps,
  -r

--- >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