StatsReader v2.0 HowTo: - do a "usual" first pass - open the resulting stats file with statsreader (e.g. Auto Load) - enter your desired size (When not using autoload: - enter your credits ranges. Currently works only with fixed quant. credits, you have to use them in first pass as well! ) - verify your settings, just to be sure ;) - hit "Save..", choose a filename different from the original file - when StatsReader is finished, it spits out some information like scaled size reached (due to rounding errors usually in a 100kb range of desired size) etc. Now in XviD, select "2pass - 2nd pass external". The easiest way to do it properly would be: set "old", "regular" curve compression high/low to 0 and disable altCC. OR set altCC to automatic min. relative quality, set strength to 0. OR set min. realtive quality to manually and set it to 100. (Quite a lot of choices ;) ). Below the first pass stats file in the GUI you can now choose a second statsfile. Use the new generated statsfile in this place. That's it, if you tried it you'll notice that it's not much of a difference to usual 2pass encoding, you simply "disable" curve compression within the codec and feed it the new stats file. New in 2.0: if setting target size to "0" you can use StatsReader to add keyframes in desired locations. Make sure to use a different filename for the target file and set that file up in xvid as first pass statsfile. Since the frametypes are gathered from the first pass file, setting them only in a 2nd pass file won't work. [Note that you need a special XviD dev-api-3 build for this when using bframes (with suxendrol's controlled mode), without bframes or in the stable build this should work out of the box.] New in 2.0a: merging stats files. If you somehow accidently abort a first pass and simply want to continue, you can now do a 2nd first pass (using another name for the target stats of course) and start at the next frame to the last frame from the first file. When you're done, simply open the first file as usual, then hit "merge". Open the 2nd file. Then another dialog pops up asking for a new target stats-file, choose a new name. This isn't perfect as on that cut the bitrate will go nuts for a second, but it produces still a valid output. I found it to be useful ;-)