Weird "shadowing" problem- help please?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Weird "shadowing" problem- help please?

Post by Chaobunny12 » Sat Jun 05, 2010 4:13 pm

It's not really working, and all I'm getting with these new filters is severe color distortion. The filter makes the image about ten times darker than it was before.

Here's my script:

Code: Select all

Loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
mpeg2source("F:\D2V files\haru.d2v")
TFM(order=-1, field=-1, mode=5, PP=7, slow=2)
tdecimate()
clean = nnedi2(field=1)
amask = mt_makediff(clean, -1)
mt_adddiff(amask)

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Weird "shadowing" problem- help please?

Post by Chaobunny12 » Sat Jun 05, 2010 5:00 pm

Oh, and now I remember why I couldn't use the FFT3D filter- when I try and load it I always get this error.

Avisynth open failure:
FFT3DFilter: Can not load FFTW3.dll !

The .dll file is in my plugins folder, and I even downloaded the .dll for this FFTW3, which I assumed was part of the FFT3D but apparently isn't. o_O

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Weird "shadowing" problem- help please?

Post by mirkosp » Sat Jun 05, 2010 5:42 pm

ah see, you got the code wrong. Here's what you should do:

Code: Select all

Loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
mpeg2source("F:\D2V files\haru.d2v")
TFM(order=-1, field=-1, mode=5, PP=7, slow=2)
tdecimate()
original = last
clean = nnedi2(field=1)
amask = mt_makediff(clean, original)
mt_adddiff(amask)
As for FFT3DFilter, aside from having fft3dfilter.dll in avisynth's plugins directory, you'll need to place fftw3.dll in system32 (syswow64 or whatever is it called if your OS is 64bit).
Image

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: Weird "shadowing" problem- help please?

Post by Chaobunny12 » Sat Jun 05, 2010 7:09 pm

Okay, thanks! I wasn't sure what "original" meant in the suggested script. But I got it to work now! The shadowed frames seem to be gone. :D

I had to change the field number to 0 instead of 1, so here's what finally worked:

Code: Select all

Loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
mpeg2source("F:\D2V files\haru.d2v")
TFM(order=-1, field=-1, mode=5, PP=7, slow=2)
tdecimate()
original = last
clean = nnedi2(field=0)
amask = mt_makediff(clean, original)
mt_adddiff(amask)
Thanks very much to all of you for your help! ^_^

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: Weird "shadowing" problem- help please?

Post by Mister Hatt » Sun Jun 06, 2010 12:22 am

You could also do better on your TFM line if you want slightly less blur etc. See how TFM(mode=1, slow=2, micmatching=2, pp=7) goes. Alternatively to nnedi2 (read: if you want more speed) is to have TFM run clip2 against tdeint(mode=0, field= 0, type=3) and you should get a similar result.

Locked

Return to “AviSynth Help”