PDA

View Full Version : Curve Scaling (.pass file) function ?


Dark-Cracker
14th February 2004, 20:31
hi,

does someone know how scale the .pass file ? apparently when there is Bframe u need use a particular scaling formula.

i try to made a tool in Visual Basic to scale the curve (xvid .pass file) . does someone know where i can find information on how to scale the bitrate curve when there is the bframe enabled ?

thank u :)

Bye.

Koepi
16th February 2004, 12:03
... you are aware that xvid 1.0 doesn't support external compression anymore? Did my PM help you to get the basic idea of linear scaling?

Koepi

Dark-Cracker
16th February 2004, 13:10
hi,

no i was not aware that xvid 1.0 doesn't support external scaling.
but i have always wanted to test linear scaling but i try to made redistribution based on the motion.
a different coefficient apply if the motion is /slow/hight/medium.

i am trying to made some test to see which value of mblk can be used to detect hight mdium or low motion.
(i will perhaps try to ask at the ARCALCULATOR developper).

my algorythm will try to work like this :

get avg .mblk value beetween 2 iframe.
=> detect if it's low/hight/medium scene, based on some threshold values.
apply a coefficient for the overflow bits redistribution.

i don't know if someone have already made this , and i even don't if my idear was silly or not :) any comment/suggestion are welcome :)

Bye.