[MEncoder-users] AVI overhead

Guillaume POIRIER poirierg at gmail.com
Fri Nov 11 12:11:50 CET 2005


Hi,

On 11/11/05, Jean Hoderd <jhoderd at yahoo.com> wrote:
> Hi,
>
> My encodings with XviD are constantly running above the target
> size, and I suspect it might be the avi overhead.  I am using
> these formulas to compute the video bitrate:
> (rates are in kbps, duration in seconds, sizes in bytes)
>
> 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)

I've had problems with XviD's ratecontrol lately. I suggest you try to
encode the same file with similar parameters with lavc, in order to
know if your computations are correct or not... In my experience,
lavc's ratecontrol is very accurate.

Guillaume
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski




More information about the MEncoder-users mailing list