I am tring to get an exact 350mb +- a few mb out of an hour long video using the xvid and mp3lame codecs with the 2 pass method.
I have tried calculating the bitrate and or detting the file size. Neither seems to get it reasonably close to 350mb.

I get 330, 390, 374, 329, 311 and so on.

Any suggestions?

Also the crop detection seems to have stopped working. It worked a few weeks ago.