[Vorbis-dev] Maximum possible size of vorbis packet...

illiminable ogg at illiminable.com
Fri Oct 22 21:54:49 PDT 2004


----- Original Message ----- 
From: "Monty" <xiphmont at xiph.org>
To: "illiminable" <ogg at illiminable.com>
Cc: "Sebastian Gesemann" <sgeseman at upb.de>; <vorbis-dev at xiph.org>
Sent: Wednesday, October 20, 2004 11:54 AM
Subject: Re: [Vorbis-dev] Maximum possible size of vorbis packet...


>
>
>
> On Tue, Oct 19, 2004 at 10:37:13PM +0800, illiminable wrote:
>> >Why do you need to know that ?
>> >
>>
>> Because in directshow you need to allocated a fixed number of fixed size
>> buffers before you start streaming.
>
> Understood.  This is on the encoding side or also for accepting a stream?
>

You need to do it everywhere data is passed between filters. So it will 
matter for the output of the encoder and output of each stream from the 
demuxer.

But it's not a big issue for the output of the encoder since you typically 
can have less buffers (like only 2 or 3), so it doesn't really matter if 
those buffers are exceedingly large.

So it's mainly the outputs of the demux and thus the input to the decoder 
(which both share the same allocataion of samples) where you have a moderate 
amount of samples and having extremely oversized samples becomes expensive.

Cheers,

Zen. 




More information about the Vorbis-dev mailing list