logo Sign In

Post #313969

Author
Oldschooljedi
Parent topic
GOUT image stabilization - Released
Link to post in topic
https://originaltrilogy.com/post/id/313969/action/topic#313969
Date created
18-Mar-2008, 11:45 AM
g-force,

I'm trying to start my testencodings at the moment and I did modify your script for the PAL-DVD. This is the script:

Mpeg2Source("C:\ANH.d2v",cpu2="ooooxo")

orig=Crop(0,124,0,-126,align=true)

temp=orig.TemporalSoften(7,255,255,25,2)
rep=Repair(temp,orig,mode=16).TemporalSoften(1,255,255,25,2)
source=Interleave(rep,orig,rep)
mdata=DePanEstimate(source, range=1, trust=0, dxmax=1, dymax=0)
DePan(source, data=mdata, offset=1)
SelectEvery(3,2)

a=EEDI2().TurnRight().EEDI2().TurnLeft().Trim(0,58642)
b=EEDI2(maxd=15,nt=8).TurnRight().EEDI2(maxd=15,nt=8).TurnLeft().Trim(58643,58994)
c=EEDI2().TurnRight().EEDI2().TurnLeft().Trim(58995,0)
a+b+c #needed for interrogation scene

Spline36Resize(720,432)
FFT3DFilter(sigma=1,sharpen=.7)
BlindPP(cpu2="ooooxo")

source=last

backward_vec1= source.MVAnalyse(isb=true, delta=1,pel=2,overlap=4,sharp=1,idx=1)
forward_vec1 = source.MVAnalyse(isb=false,delta=1,pel=2,overlap=4,sharp=1,idx=1)
bw1 = source.MVCompensate(backward_vec1,idx=1)
fw1 = source.MVCompensate(forward_vec1, idx=1)

inter=Interleave(bw1,bw1,bw1,source,fw1,fw1,fw1)
intersmooth=inter.Clense().TemporalSoften(1,255,255,10,2)

RestoreMotionBlocks(intersmooth,inter,neighbour=inter,alternative=inter,gmthreshold=100,dist=1,dmode=3,debug=false,noise=10,noisy=15,grey=false,show=false)
SelectEvery(7,3)

pmax = source.MT_Logic(bw1,"max").MT_Logic(fw1,"max")
pmin = source.MT_Logic(bw1,"min").MT_Logic(fw1,"min")
Sharpen(.6)
MT_Clamp(pmax,pmin,0,0,U=2,V=2)

restored=last
a=source.Levels(0,1.5,150,0,255)
b=restored.Levels(0,1.5,150,0,255)
ConditionalFilter(restored,source,restored,"(LumaDifference(b,a)/AverageLuma(a))","greaterthan",".01")

Crop(8,0,-4,0,align=true)
AddBorders(6,72,6,72)
Levels(10,1.13,255,0,255) #8 is bare minimum to fix "Tie matte scene"
Tweak(sat=1.08,hue=-4)

My encoder says: "avisynth successfully initialized".

But when I start the encoding my encoders (tried several ones) shut down immediately without notice.

I'm not sure, if I have all avisynth-plugins, that were needed and if they were from the right source.

I'm using:

removedirt from: http://avisynth.org/warpenterprises/<br />removegrain from: http://avisynth.org.ru/<br />EEDI2 from: http://avisynth.org.ru/<br />MVTools from: http://avisynth.org.ru/mvtools/mvtools.html<br />depan and depanestimate from: http://avisynth.org.ru/depan/depan.html<br />fft3dfilter (with fftw3) from: http://avisynth.org.ru/fft3dfilter/fft3dfilter.html<br />
Maybe did I download from the false sources?

Do I have all the needed plugins?

Maybe there is a error in my script?

I'm a littlebit confused, because when I load the script, everything seems to be ok.

Any ideas?