View Full Version : Help with Stabilization (stab)
henryperu77
1st April 2014, 22:51
Hi, im trying to stabilize this anime, i used stab on avisynth
Stab(dxmax = 1, dymax = 1, range = 1, mirror = 15)
But the result stills very bad, please could someone help me.. i uploaded a sample
https://mega.co.nz/#!bV8WkKgB!QXKVhZ3d1jj5dhkQcY9FZxJbl79xgi2uQdhCdvZ2llo
Thanks!
StainlessS
1st April 2014, 23:11
I have never used Stab, but on cursory inspection it looks like you are limiting the amount of stabilization
by setting dxmax and dymax to 1, even the default is 4 pixels of correction allowed.
henryperu77
1st April 2014, 23:50
I used stab() with default settings .. i dunno which settings could be better for this video
StainlessS
2nd April 2014, 02:48
Stab(dxmax = 1, dymax = 1, range = 1, mirror = 15)
Above overrides defaults to 1.
Here is the version stab that I have with defaults of 4.
##############################################################################
#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") {
range = default(range, 1)
dxmax = default(dxmax, 4)
dymax = default(dymax, 4)
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)
SelectEvery(2,0) }
EDIT: We look to be using different Stab() versions, the one I have does not have a mirror arg,
I dont think the default would have been reduced to 1 though as that would be nearly useless.
StainlessS
2nd April 2014, 11:53
Here the version stab currently on Avisynth.nl (New Wiki), strange that they have the same date.
##############################################################################
#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) }
Defaults hilited
suggest at least
Stab(range = 1, dxmax = 4, dymax = 4, mirror = 15)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.