Re: Random Writes

Greycode <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.vorbis.general
Message-ID <[email protected]>
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.
>
>  -r
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.