Re: maximum bandwitch limit with XVid

Christoph Lampert <[email protected]> Tue, 1 Mar 2005 08:58:52 +0100 (CET)
Newsgroups gmane.comp.video.xvid.user
Message-ID <[email protected]>
On Mon, 28 Feb 2005, sandro wrote:
> Im deleloping a programm, that streams thru web using udp. That's why i have 
> to set a maximum bandwich limit ( from 10kbit - 256kbit). How i does do it? 
> I dosen't found anything about the divX4-encore(encode(void* handle,int 
> enc_opt, void* param1, void* param2) function on this site.
> 
> I would be very amused, if you can give me a answer or a hint.

Hi, 

you are right, there is no documentation about how to use XviD for 
streaming, and only little about how to use XviD in other ways. 
In fact, XvID isn't optmized for streaming, but for medium bitrate 
storage. 
Therefore, the "bitrate" setting in the XviD API an average value, not a 
maximal. What might be a replacement is to influence the VBV-parameters
(they specify the maximum rate which a stream might for given buffer 
size), or if you have the time and capability, look into the source and 
modify the existing bitrate algorithm. 

gruel