[Vorbis-dev] libwrit sync questions

Fabian Wauthier s0341600 at sms.ed.ac.uk
Mon Oct 11 05:25:21 PDT 2004


Hi list,

I plan to write a tool that incorporates a sequence of three bytes at specific
timeoffsets in an ogg vorbis file. The bitstrings encode commands for a Kodak
slide projector, which upon playback of the file should be sent to the serial
port where the projector receives it. Playing the audio file should effectively
run a slideshow where all the music comes from the audio part, and the commands
for the projector come from some other encoding in the ogg file.

For that pupose the libwrit caught my attention, as it seems to be able to place
song lyrics in audio files. First of all, what is your opinion on the
workability of this. Upon playback, is the bitstring still going to be more or
less in sync with the audio output? Or is there to much buffering going on? Can
I place the bistrings with packet precision?

Also, I am not sure how useable the libwrit is yet. Perhaps there are better
approaches (e.i. a new bitstream, with pretend audio packets; illegal
("corrupted") audiopackets in a normal audio bistream, that still get passed to
userland; perhaps getting synchronisation through some completely different
means). Any thoughts an pointers appreciated,

best regards,
Fabian Wauthier


More information about the Vorbis-dev mailing list