[MEncoder-users] AVI overhead

Rich Felker dalias at aerifal.cx
Sat Nov 12 04:21:37 CET 2005


On Fri, Nov 11, 2005 at 04:58:42PM +0000, Martin Collins wrote:
> On Fri, 11 Nov 2005 03:05:39 -0800 (PST)
> Jean Hoderd <jhoderd at yahoo.com> wrote:
> 
> > audiosize = 1000 * audiorate * duration / 8
> > videosize = totalsize - audiosize
> > videorate = 8 * videosize / duration / 1000
> > 
> > Now, this set of formulas does not into account the avi overhead.
> > (The videosize should be totalsize minus audiosize *minus*
> > overhead). My question is: how does one compute it?  (At least an
> > estimation)
> 
> It will be somewhere in the region of 1.5% of totalsize.

No, it's fixed overhead per length (in number of frames) and has
nothing to do with percentage of filesize. Any percentage estimate is
valid only at a particular bitrate.

Rich




More information about the MEncoder-users mailing list