kwag

17th October 2002, 04:24

If anyone cares about using CQ, CQ_VBR modes for encoding instead of multi-pass VBR, now you can predict the file size down to 1%-2%, without having to do multi pass encoding.

Here's a FitCD version modified with the file prediction formula: http://ns1.shidima.com/kwag/FitCD_v105_prediction.zip

Discussion thread here: http://www.kvcd.net/forum/viewtopic.php?t=1294

Basically this is what's added to the end of an AviSynth script:

###--------------------- Start Of File Size Prediction ----------------------###

IL = Framecount / 100 # interval length in frames

SL = round(Framerate) # sample length in frames

SelectRangeEvery(IL,SL)

## MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95) ##

###------------------------End File Size Prediction--------------------------###

Use the formula: MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95)

@DVD2SVCD,

Would be nice if you could integrate this method for CQ encoding into DVD2SVCD, as the results are more accurate than the current method being used.

Thanks,

-kwag

Here's a FitCD version modified with the file prediction formula: http://ns1.shidima.com/kwag/FitCD_v105_prediction.zip

Discussion thread here: http://www.kvcd.net/forum/viewtopic.php?t=1294

Basically this is what's added to the end of an AviSynth script:

###--------------------- Start Of File Size Prediction ----------------------###

IL = Framecount / 100 # interval length in frames

SL = round(Framerate) # sample length in frames

SelectRangeEvery(IL,SL)

## MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95) ##

###------------------------End File Size Prediction--------------------------###

Use the formula: MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95)

@DVD2SVCD,

Would be nice if you could integrate this method for CQ encoding into DVD2SVCD, as the results are more accurate than the current method being used.

Thanks,

-kwag