[Vorbis] Random Writes
lists at greycode.ca
Mon May 26 20:37:55 PDT 2008
Thanks for the reply,
Oh right, forgot about it being variable bitrate. Guess I could delay
writing until I have an in-order sequence of blocks. I'm not really
writing an application, just playing around with different things. So
far I've just been using WAV, but as you've pointed out, CBR makes
random writes easy. VBR does make this more interesting. Is there any
dependencies on previous input?
Ralph Giles wrote:
> On 25-May-08, at 1:27 PM, Greycode wrote:
>>> It is possible to do random writes into an ogg vorbis bitstream? If
>>> so, how would I do that with libvorbis/vorbisenc?
> I'm not sure what you're asking exactly.
> If you want to create and write out parts of a vorbis stream in
> parallel, the problem is that vorbis is natively variable bitrate, so
> you don't know where to write subsequent segments until the previous
> ones have been compressed. There is a CBR mode you can use to moderate
> that, but it's not the most efficient compression.
More information about the Vorbis