It's Mosquito Noise. Need filter.

User avatar
Shiroferetto
Joined: Fri Mar 21, 2008 7:36 pm
Location: USA
Contact:
Org Profile

It's Mosquito Noise. Need filter.

Post by Shiroferetto » Tue Jul 01, 2008 8:30 am

Okay. After analyzing, reading, searching, testing, more testing, more testing...

The conclusion I have come to is that the Gravitation video does NOT suffer from dot crawling but from mosquito noise. You say tomato, I say tomato... But it's mosquito noise.

Now. I have found a filter which supposedly (according to Scintilla at http://www.aquilinestudios.org/avsfilte ... otemp.html ) takes care of mosquito noise beautifully. (Check out her posted example under the FFT3DFilter section.)

Problem: I can't get the little bastard to install. No matter what I try, I keep getting told that FFT3DFilter isn't an Avisynth 2.5 filter. (FFT3D's site says it was tested under 2.5.) I also have had to delete compiled .avs files, reinstall software several times, and I'm still not sure that the problems caused by trying to install FFT3D are fixed.)


:arrow: :?:Does anyone have a SANE and USEFUL mosquito noise reducer?:?: It's a particular type of block problem (which is described in detail under FFT3DFilter's documentation at http://avisynth.org.ru/fft3dfilter/fft3dfilter.html )

Obviously, I've been doing my homework, and an insane amount of time has gone into solving this ugly, ugly, annoying problem. I'm about ready to put a fist through my monitor, but I know I can't afford a new one.


Signed,
Desperately Seeking Solution

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Tue Jul 01, 2008 10:20 am

For fft3dfilter all you have to do is put fft3dfilter.dll in your avisynth plugins folder, and put fftw3.dll in your system32 folder. If you are on a 64bit operating system, it might need to go in your syswow64 folder instead.

Another filter you might wanna try is hqdn3d. I haven't used it much but I hear a lot of people say its good for this.

User avatar
Shiroferetto
Joined: Fri Mar 21, 2008 7:36 pm
Location: USA
Contact:
Org Profile

Post by Shiroferetto » Tue Jul 01, 2008 1:01 pm

Zarxrax wrote:For fft3dfilter all you have to do is put fft3dfilter.dll in your avisynth plugins folder, and put fftw3.dll in your system32 folder. If you are on a 64bit operating system, it might need to go in your syswow64 folder instead.

Another filter you might wanna try is hqdn3d. I haven't used it much but I hear a lot of people say its good for this.

*big happy squeeze for Zarxrax!!!*

I found the FFT3dFilter a little while ago. Nevertheless, learning about hqdn3d shall come in handy, I have no doubt, so thank you very cuddly much for the help and advice.

The good news: The following script cleaned up almost every speck of nasty mosquito buzzing in the video:

Code: Select all

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
MPEG2Source("C:\Users\Administrator\DVDMovie\Gravitation2.d2v",cpu=6)
TDeint(mode=2,mtnmode=3,blim=100)
Crop(8,0,-8,-0)
Lanczosresize(640,480)
FluxSmoothT(15)
FFT3dGPU(sigma=4,bw=32,bh=32,bt=4,ow=16,oh=16,sharpen=0.7,plane=4,precision=1)
VagueDenoiser(threshold=4,method=3,nsteps=6,chromaT=0)
I mean, the video looks SHARP. Crystal clear, with only a tiny trace of artifacts from the cranked FluxSmooth. I may tune it down by 1-5 points to avoid any artifacts at all, but otherwise man, that script just saved my tuchas.

Seems like a whole boatload of spatio-temporal smoothers--and it is--but I'll be damned if it doesn't work like a charm. Compared to the installation of FFT3dFilter, FFT3dGPU is a cinch. I'm betting it's a higher quality filter as well, but that's just a guess.

Mosquito noise. Only visible where there is a bright red color next to lighter colors, and even that has been smoothed to nearly nothing.

*does the happy dance with Zarxrax*

I spent weeks on this, man.

Srsly.

User avatar
Shiroferetto
Joined: Fri Mar 21, 2008 7:36 pm
Location: USA
Contact:
Org Profile

Post by Shiroferetto » Tue Jul 01, 2008 1:11 pm

I'm a moron.

I mis-read what you typed. (Muscle relaxants again... it's happy time of the morning...)

Clarification: Instead of using the FFT3DFilter (thanks for the help with that), I used the FFT3dGPU filter. (Available at Doom9 in the Avisynth Development forum.)

So that's a total of three mosquito filters I should now have access to.

I will add that I am quite impressed by FluxSmooth, though. Just don't go above 10-15 or hell will break loose all over the video. ;D One more lesson learned this week.

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: It's Mosquito Noise. Need filter.

Post by Scintilla » Tue Jul 01, 2008 6:08 pm

Shiroferetto wrote:Now. I have found a filter which supposedly (according to Scintilla at http://www.aquilinestudios.org/avsfilte ... otemp.html ) takes care of mosquito noise beautifully. (Check out her posted example under the FFT3DFilter section.)
:lol:

That never fails to amuse me.

By the way (as I guess you've already found out), FFT3DGPU ought to work exactly the same as FFT3DFilter, but unfortunately I haven't been able to test it ever since my video card went bonkers: when I try, it gives me an unusable image. And I know it used to work with this exact same video card in this exact same computer, but then, so did hardware overlays.

Glad you found the guide helpful, too. :) I don't know why you'd get "is not an AVISynth 2.5 plugin" error, though; did you get the latest version ( http://avisynth.org.ru/fft3dfilter/fft3dfilter211.zip ) and get rid of all old ones?
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Shiroferetto
Joined: Fri Mar 21, 2008 7:36 pm
Location: USA
Contact:
Org Profile

Why only Jin from Champloo can beat Uesugi Eri's hawtness.

Post by Shiroferetto » Wed Jul 02, 2008 11:15 am

(I've put in some comparison screenshots and scripts below for the discussion.)

Scintilla wrote:
Shiroferetto wrote:Now. I have found a filter which supposedly (according to Scintilla at http://www.aquilinestudios.org/avsfilte ... otemp.html ) takes care of mosquito noise beautifully. (Check out her posted example under the FFT3DFilter section.)
:lol:

That never fails to amuse me.
Haha, uhm... Oops. C'mon, it's such a pretty name!! *duck*

By the way (as I guess you've already found out), FFT3DGPU ought to work exactly the same as FFT3DFilter...
Yepper. Though I haven't run the original filter, the GPU version is smashingly beautiful. Given GPU's origins, I'd imagine they'd be mightily comparable. The very worst parts of the video (extremely high contrast areas which are rare) still show buzzing, but the rest of it is squeaky clean.

Glad you found the guide helpful, too. :) I don't know why you'd get "is not an AVISynth 2.5 plugin" error, though; did you get the latest version ( http://avisynth.org.ru/fft3dfilter/fft3dfilter211.zip ) and get rid of all old ones?
I did find the guide quite helpful. *stage whisper* But I surely do wish there was a section on rainbow noise. *duck*

I did get the latest version of the plugin (I always check if I can) and there was not a previous version installed. I have not re-tested it since finding the GPU version. I... admit to fear... :oops: That, and since I bought a new video board, I figure I might as well put it to some use. :D

And now for something completely different:

Here's a screenshot of the ever-sexy Yuki Eri, aka Uesugi Eri. (It's always bothered me that Shindo calls him by a dead man's last name, but... nevermind.) The screenshot, as you can see, is like the worst one I could find, full of mosquito noise until the cows come home.

It was cleaned with the following script:

Code: Select all

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
MPEG2Source("C:\Users\Administrator\DVDMovie\VTS_01_1Test.d2v",cpu=6)
TDeint(mode=2,mtnmode=3,blim=100)
Crop(8,0,-8,-0)
Lanczosresize(640,480)
FluxSmoothT(18)
FFT3dGPU(sigma=8,bw=64,bh=64,bt=4,ow=32,oh=32,sharpen=0.7,plane=4,precision=1)
VagueDenoiser(threshold=5,method=3,nsteps=8,chromaT=0)
Here are the results.

I'm guessing if I tried to encode with that script, my machine would crash out (again). Though I suppose I could try overclocking my video board, cranking the fan to 100, and giving it a shot. Oh wait, just remembered that the overclocking software is not in operation. Hmmmm....

Nevertheless, at that strength, FluxSmooth starts to invent its own artifacts, so it's not practical to use on an entire episode. (This is why VaugeDenoiser comes last in the script, to clean up artifacts left by FluxSmooth.)

Here's the weird part. This is THE VERY NEXT FRAME, unfiltered except for resize and deint.

The cleanup used on this frame was:

Code: Select all

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
MPEG2Source("C:\Users\Administrator\DVDMovie\VTS_01_1Test.d2v",cpu=6)
TDeint(mode=2,mtnmode=3,blim=100)
Crop(8,0,-8,-0)
Lanczosresize(640,480)
FluxSmoothT(13)
FFT3dGPU(sigma=4,bw=32,bh=32,bt=4,ow=16,oh=16,sharpen=0.7,plane=4,precision=1)
VagueDenoiser(threshold=4,method=3,nsteps=6,chromaT=0)
Here are the results.

Conclusion: Anime encoders are on crack.

The small segment those two frames come from is an interesting and frightening mix of clean and noisy-as-hell frames. It almost looks like you'd have to do that on purpose.

I've settled on using the moderately strong script in the second example on the whole video and then tweaking sections as necessary if I need to later on.

If there are any suggestions on tweaking the script (i.e. you try something and get better results than I did), I'm all ears. <^.^>



(I have a thing for bishounen antiheroes. Sue me. Sesshoumaru, I'm yours when you want me...)

User avatar
Sereenie
Joined: Sat Jun 28, 2003 8:11 pm
Location: The City Fun Forgot
Org Profile

Post by Sereenie » Wed Jul 02, 2008 11:34 am

To show results (and to compare, if you're not using AvsP), beforafterline is your friend.

S.

User avatar
Shiroferetto
Joined: Fri Mar 21, 2008 7:36 pm
Location: USA
Contact:
Org Profile

Post by Shiroferetto » Wed Jul 02, 2008 11:48 am

Sereenie wrote:To show results (and to compare, if you're not using AvsP), beforafterline is your friend.

S.

Thanks for the tip. I... will have to give that one a look later on when my mind has found its ass again.

*giggle*

User avatar
Sereenie
Joined: Sat Jun 28, 2003 8:11 pm
Location: The City Fun Forgot
Org Profile

Post by Sereenie » Wed Jul 02, 2008 12:00 pm

Stupid typo... it's beforeafterline.

No that I think it matters, if you follow the link. But, you know, just in case...

S.

User avatar
Shiroferetto
Joined: Fri Mar 21, 2008 7:36 pm
Location: USA
Contact:
Org Profile

Post by Shiroferetto » Wed Jul 02, 2008 12:06 pm

Sereenie wrote:Stupid typo... it's beforeafterline.

No that I think it matters, if you follow the link. But, you know, just in case...

S.
I read fluent Typo.

:twisted:

Locked

Return to “Video & Audio Help”