PDA

View Full Version : help with this script


nicco
29th November 2004, 16:29
I have this script:
AVISource("mydv.avi",audio=false,pixel_type="yuy2")
fixbrokenchromaupsampling()
tomsmocomp(0,3,1)
bilinearresize(640,464)
removegrain(mode=3,modeU=2)
RemoveDirt(mthreshold=920,athreshold=100)
Convolution3D(0,4,6,4,6,2.4,0)
blur(0.4)
converttoyv12()


but i'm not sure about filters order.
In particular I'm not sure about the position of removegrain,removedirt.
In fact in removegrain help i red:

"Originally RemoveGrain was designed as a precleaner for RemoveDirt"
and
"downsizing should be done before RemoveGrain while upsizing should be done after RemoveGrain"

and in removedirt's one:
"Except those filters mentioned before, like crop and inverse telecine, all other filters should be put after RemoveDirt in the Avisynth script, because most filters have a negative rather than a positive impact on dirt detection."

can you help me?
Thank you!

zilog jones
30th November 2004, 17:43
It's probably best to resize after all the filtering, i.e. put it just before the colour conversion. Also, you can probably do without Convolution3D.

nicco
30th November 2004, 18:04
It's probably best to resize after all the filtering
yes, it's what I did after posting

you can probably do without Convolution3D.
I don't think so!:D