[MPlayer-users] Re: vbitrate without frameno.avi

Stefan Seyfried seife at gmane0305.slipkontur.de
Thu Feb 19 00:11:53 CET 2004


On Wed, Feb 18, 2004 at 08:17:18PM +0100, Matthias Czapla wrote:
> > > 700 * 1024 * 1024 * 8 / movie_length_in_seconds
> > > to get the overall bitrate available and subtract the MP3 bitrate from the
> > > result to obtain the vbitrate for -lavcopts. But this does not work - the
> > > resulting file 745 Mill. Bytes instead of the desired 733.
> > 
> > AVI files have a good bit of overhead, at least 32 bytes per frame...
> > This is likely a large part of the problem.
> 
> I already thought about this too and was hoping to get some definite
> numbers. The bitrates the frameno run displays at the end are always correct
> so there has to be a formula to calculate them since mencoder obviously uses
> it :)

well, it is easy: you get 745 instead of 733, so the overhead is:
745/733=1.016371 :-)
-- 
Stefan Seyfried




More information about the MPlayer-users mailing list