2Bdecided
10th November 2009, 13:28
Does this filter take account of scene changes? I know it can tell you when it thinks there's a scene change - but does it, by default, "break" the motion compensation at scene changes, or carry it over (giving strange results)?
My usage is...
spline36resize(1024,576)
maxstab=60 #maximum values for the stabiliser (in pixels) 20 is a good start value
est_left=20 est_top=20 est_right=20 est_bottom=20 est_cont=0.8 #crop values for special Estimate clip
CLeft=32 CTop=16 CRight=32 CBottom=16 #crop values after Depan and before final resizing (40,30,40,30)
stab_reference=last.tweak(cont=est_cont).levels(79,1.0,81,255,0,coring=false).greyscale().invert()
mdata=DePanEstimate(stab_reference,trust=1.0,dxmax=maxstab,dymax=maxstab)
stab=DePanStabilize(last,data=mdata,cutoff=0.5,dxmax=maxstab,dymax=maxstab,method=1,mirror=15)
stab2= stab.crop(CLeft,CTop,-CRight,-CBottom)
#stab3=DePanStabilize(last,data=mdata,cutoff=0.5,dxmax=maxstab,dymax=maxstab,method=1,info=true)
stab2
etc.
Many thanks.
Cheers,
David.
My usage is...
spline36resize(1024,576)
maxstab=60 #maximum values for the stabiliser (in pixels) 20 is a good start value
est_left=20 est_top=20 est_right=20 est_bottom=20 est_cont=0.8 #crop values for special Estimate clip
CLeft=32 CTop=16 CRight=32 CBottom=16 #crop values after Depan and before final resizing (40,30,40,30)
stab_reference=last.tweak(cont=est_cont).levels(79,1.0,81,255,0,coring=false).greyscale().invert()
mdata=DePanEstimate(stab_reference,trust=1.0,dxmax=maxstab,dymax=maxstab)
stab=DePanStabilize(last,data=mdata,cutoff=0.5,dxmax=maxstab,dymax=maxstab,method=1,mirror=15)
stab2= stab.crop(CLeft,CTop,-CRight,-CBottom)
#stab3=DePanStabilize(last,data=mdata,cutoff=0.5,dxmax=maxstab,dymax=maxstab,method=1,info=true)
stab2
etc.
Many thanks.
Cheers,
David.