Registered User
Join Date: Oct 2004
Location: India
Posts: 321
|
Sorry for delay in reply. Have been experimenting. Unable to reproduce problem with the same or other sources. May be some mixup on my part somewhere.
I am now using this as template.xls with dgindex
loadplugin("C:\Program Files\dgindex\DGDecode.dll")
Function correctcolor( clip clp, bool c) {
c==true ?writehistogram(clp,"histo.txt",100):NOP
c==false ?NOP:colourlike("histo.txt","C:\Program Files\dgindex\good.txt",false,true,true)
}
mpeg2source("__vid__",cpu=6)
aud="__aud__"
f=framerate()
f ==29.97 ?separatefields().doubleweave().pulldown(0,2):NOP
w=width()
w==352 ? lanczosresize(352,264):fielddeinterlace().lanczosresize(640,480)
RemoveGrain(mode=12).autocrop(mode=0,wmultof=16,hmultof=16,samples=16,Aspect=0,threshold=50,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0).aSharp(0.4,0,0).aWarpsharp(3,1,bm=3,cm=0,thresh=0.99)
w==352 ?correctcolor(true):NOP
FFT3DFilter(plane=0,OH=16,OW=16,BH=48,BW=48,BT=3,Sigma=1,Sharpen=1).FFT3DFilter(plane=1,OH=16,OW=16,BH=48,BW=48,BT=3,Sigma=1,Sharpen=1).FFT3DFilter(plane=2,OH=16,OW=16,BH=48,BW=48,BT=3,Sigma=1,Sharpen=1).removedirt()
a=rightstr(aud,3)
b=rightstr(aud,10)
c=leftstr(b,4)
d=value(c)
e=d/1000
a=="ac3" ?audiodub(last,nicac3source(aud,2)).delayaudio(e):NOP
a=="mpa" ?audiodub(last,nicmpasource(aud)).delayaudio(e):NOP
return last
Using it with virtualdub 1.6.10 for both mpgs from vcds and dvd rips.
Best color correction tool for my use especially mpgs from vcds.Generally disable the fft3d line for DVD rips.
Thanx
__________________
A shut mouth gathers no foot
|