Corpsecreate
6th June 2013, 18:07
Hi,
I am trying to stabilize my 480p Dragon Ball Z episodes using Stab.avsi:
##############################################################################
#Original script by g-force converted into a stand alone script by McCauley #
#latest version from December 10, 2008 #
##############################################################################
function Stab (clip clp, int "range", int "dxmax", int "dymax", int "mirror") {
range = default(range, 1)
dxmax = default(dxmax, 4)
dymax = default(dymax, 4)
mirror = default(mirror, 0)
temp = clp.TemporalSoften(7,255,255,25,2)
inter = Interleave(temp.Repair(clp.TemporalSoften(1,255,255,25,2)),clp)
mdata = DePanEstimate(inter,range=range,trust=0,dxmax=dxmax,dymax=dymax)
DePan(inter,data=mdata,offset=-1, mirror=mirror )
SelectEvery(2,0) }
I call it using Stab(dxmax=1, dymax=1, range=1, mirror=15). The problem is that these settings (which I presume would be the weakest settings) are removing too much jitter. By too much I mean that scenes that are supposed to shake (like an earthquake) get severely reduced and in some cases become completely still!
I found a fix to this problem by first upscaling the image before calling Stab(). This gave me the desired effect at the cost of severely increasing encode time. Is there some other alternative method that I could use to make the stabilizer weaker at the native 640 x 480 resolution? Perhaps calling Depan myself with a certain set of parameters?
This would literally save me 100's of hours of encode time.
I am trying to stabilize my 480p Dragon Ball Z episodes using Stab.avsi:
##############################################################################
#Original script by g-force converted into a stand alone script by McCauley #
#latest version from December 10, 2008 #
##############################################################################
function Stab (clip clp, int "range", int "dxmax", int "dymax", int "mirror") {
range = default(range, 1)
dxmax = default(dxmax, 4)
dymax = default(dymax, 4)
mirror = default(mirror, 0)
temp = clp.TemporalSoften(7,255,255,25,2)
inter = Interleave(temp.Repair(clp.TemporalSoften(1,255,255,25,2)),clp)
mdata = DePanEstimate(inter,range=range,trust=0,dxmax=dxmax,dymax=dymax)
DePan(inter,data=mdata,offset=-1, mirror=mirror )
SelectEvery(2,0) }
I call it using Stab(dxmax=1, dymax=1, range=1, mirror=15). The problem is that these settings (which I presume would be the weakest settings) are removing too much jitter. By too much I mean that scenes that are supposed to shake (like an earthquake) get severely reduced and in some cases become completely still!
I found a fix to this problem by first upscaling the image before calling Stab(). This gave me the desired effect at the cost of severely increasing encode time. Is there some other alternative method that I could use to make the stabilizer weaker at the native 640 x 480 resolution? Perhaps calling Depan myself with a certain set of parameters?
This would literally save me 100's of hours of encode time.