Log in

View Full Version : New to DeShaker, need some feedback on my chosen settings


Chainmax
10th June 2006, 17:57
I'm trying to make a DVD out of some 15fps digicam clips and since MVFlowFPS yields some artifacting in zoom intensive scenes (like [link removed]), I'll try stabilizing the video prior to framerate conversion as per Fizick's recommendation. These are the scripts to be used:

Up to DeShaker:
ConvertToYV12()

FFT3DFilter(sigma=3,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
FFT3DFilter(sigma=1,bw=32,bh=32,bt=3,ow=16,oh=16,sharpen=0.7)

HDRAGC(max_gain=16,min_gain=1.5,coef_gain=0.8,coef_sat=0.6,shift_u=5,shift_v=-18,reducer=1.0)

Crop(0,2,320,238,align=true)

DeHalo_Alpha()

EEDI2().TurnRight().EEDI2().TurnLeft()

Lanczos4Resize(656,448)

LimitedSharpenFaster(SMode=4)

ConvertToRGB()


After DeShaker:
vf=last.mvanalyse(isb=false,blksize=4,pel=2,search=3,truemotion=true)
vb=last.mvanalyse(isb=true,blksize=4,pel=2,search=3,truemotion=true)
MVFlowFPS(last,vb,vf,num=30000,den=1001)

AddGrain(10,0,0)

AddBorders(24,16,24,16)


And here are the DeShaker settings I chose:
http://img129.imageshack.us/img129/5781/deshakerconfig3rp.png (http://imageshack.us)

Are they ok or should I change something?

Fizick
10th June 2006, 20:23
I suggest to you use global motion base frame rate conversion, without MVFlowFPS.
For example, change FPS by doubling, and stabilize it.
Or directly create intermediate frames (global motion compensated).

Fizick
10th June 2006, 20:23
But Deshaker question is not AviSynth-related.

Chainmax
12th June 2006, 19:44
After doing the first pass, the output window says that audio should be delayed 1999ms because of selecting 30 in the "use future frames", is that normal?

zambelli
13th June 2006, 04:19
After doing the first pass, the output window says that audio should be delayed 1999ms because of selecting 30 in the "use future frames", is that normal?
Yes. Audio needs to be delayed (Future Frames / SourceFPS) msec.
As discussed in my similar Avisynth thread (http://forum.doom9.org/showthread.php?t=112193), I think denoising and sharpening should be done after deshaking. Deshaker works by zooming, panning and rotating the image. If you do sharpening prior to those operations, you're likely to lose any advantage of sharpening. That's my theory at least. If you've got time to do both and post a comparison - more power to you. :)

Chainmax
13th June 2006, 18:44
DeShaker and I don't seem to see eye to eye, could you please try to stabilize the clip I linked to in the OP, encode it to huffyuv and post it here? It's only about 21 frames long, it shouldn't take up much space.