Log in

View Full Version : Combining DePanInterleave and DePanStabilize, am I doing it right?


Chainmax
9th June 2005, 02:41
Some time ago, I read a recommendation from scharfis_brain to Boulder of using DePanInterleave in order to improve a script, saying that it helped a lot on video stuff as it usually contains panning/zooming. I have some very crappy digicam videos I want to make something discernable out of and I thought of using DePanStabilize in addition to DePanInterleave. Is that a good idea? If so, would this:

i=ConvertToYV12()
mdata=DePanEstimate(i)
DePanStabilize(i,data=mdata)
DePanInterleave(i,data=mdata)

be the right way to call the functions or would you change the order?

scharfis_brain
9th June 2005, 11:37
i=ConvertToYV12()
mdata=DePanEstimate(i)
r=2 # interleaveradius
DePanInterleave(i,data=mdata,prev=r,next=r)
yourfiltershere()
selectevery(r+r+1,r)
DePanStabilize(last,data=mdata)

Turyst04
9th June 2005, 12:01
Code:
i=ConvertToYV12()
mdata=DePanEstimate(i)
r=2 # interleaveradius
DePanInterleave(i,data=mdata,prev=r,next=r)
yourfiltershere()
i=selectevery(r+r+1,r)
mdata=DePanEstimate(i)
DePanStabilize(i,data=mdata)

use 2-nd DePanEstimate(i) would be beter (yourfiltershere() can change clip too much)...

Chainmax
9th June 2005, 21:09
None of those options seem to work, in both cases variable black borders appear and change size, it's quite dizzying.