JeanMarc
2nd February 2009, 14:55
I have captured analog TV with intermittent diagonal interferences. I found out I was able to filter them out with Fizick's DeFreq filter. Since the interferences appear on a small part of the video, I am trying to find a way to simply apply the filter on a specified range of frames.
I have been using and enjoying simple Avisynth scripts, but I am still a newbie, and introducing this type of control structure in my script is beyond my current skill level.
What I would like to do is implement something like the following function in AviSynth script language:
If (frame_number>n1 AND frame_number<n2)
DeFreq(fx=10.8,fy=3.8)
Endif
I know that AviSynth is not an imperative language and doesn't support this type of code, but there seems to be workarounds...I just couldn't find any script I could use.
Any suggestion would be greatly appreciated.
I have been using and enjoying simple Avisynth scripts, but I am still a newbie, and introducing this type of control structure in my script is beyond my current skill level.
What I would like to do is implement something like the following function in AviSynth script language:
If (frame_number>n1 AND frame_number<n2)
DeFreq(fx=10.8,fy=3.8)
Endif
I know that AviSynth is not an imperative language and doesn't support this type of code, but there seems to be workarounds...I just couldn't find any script I could use.
Any suggestion would be greatly appreciated.