Log in

View Full Version : VirtualDub's TempSmoother is unbeatable


Christo
1st December 2002, 22:02
I tried AVISynth's TempSoften and TempSmoother filters in many different combinations of settings but still couldn't match VirtualDub's TempSmoother setting 2.

While I did match noise removal level I still couldn't stop AVISynth's TempSoften from blurring the edges at the same time.

VirtualDub's TempSmoother removes noise between but DO NOT blur the edges and lines!
If it is possible and anyone knows how to do it with AVISynth please reply

Thank you

Suikun
1st December 2002, 22:13
There are several discussions about filters floating around on this forum of which some give very good results, no matter if they are spatial or temporal.
Convolution3d for example is said to be one of the best, but you should try as many as possible to get your own picture. Look at the avisynth FAQ for links to filters.

Christo
1st December 2002, 23:22
There is a difference between spatial and temporal.
Spatial works more like a blurring filter by removing the noise in a giving frame without much thinking. While temporal first trying to analyze what is noise that should be removed and what is not. It doing so by looking into the next frames (the setting number specifies how many frames) and compare them with the giving frame.

Logically thinking, VirtulDub's TempSmoothFilter works exactly like that because with temporal filtering the edges and lines are usually the same in the following frame(s) and should not get on the way. While AVISynth's Temporal Soften seems to work more like spatial.

I am not trying to say that I get the bad results with AVISynth filters. It just that I still couldn't beat the VirtulDub's Temporal Smoother in noise removing. Convolution3d sounds exotic but thanks for a tip. I will try it and see what it can do.

dividee
1st December 2002, 23:52
avisynth's temporalsmoother is a direct port from virtualdub. In RGB it should give exactly the same results (except maybe for the first and last few frames because the buffering is different), assuming you use a radius of 3 in avisynth.

DJ Bobo
1st December 2002, 23:54
I thought TemporalSmoother, incorporated in mpeg2dec.dll, is a port of the VirtualDub filter to AviSynth :confused:

So -AFAIK- TemporalSmoother(2) will do what you're looking for.

Christo
2nd December 2002, 00:42
Yes, TemporalSmoother is incorporated in mpeg2dec.dll. But the setting (2) results are not even close to VirtualDub's setting (2). This filter IHMO is not even worth to talk about.

On another hand, TemporalSoften that comes naturally with AVISynth can give the exact noise removing results like TemporalSmoother of VirtualDub. However like I already said it blurs the edges and lines in addition as well. And no, it doesn't works in RGB, video stream needs to be converted to YUY2 first.

Any other tips and ideas are welcome. Thanks

sh0dan
2nd December 2002, 09:43
Originally posted by Christo
I am not trying to say that I get the bad results with AVISynth filters. It just that I still couldn't beat the VirtulDub's Temporal Smoother in noise removing. Convolution3d sounds exotic but thanks for a tip. I will try it and see what it can do.

Conv3D is probably the best noise filter yet. It works well on many different sources.

SansGrip's filters are also very nice - They also provide very good results on noisy sources.

stickboy
2nd December 2002, 11:51
Originally posted by dividee
avisynth's temporalsmoother is a direct port from virtualdub. In RGB it should give exactly the same results (except maybe for the first and last few frames because the buffering is different), assuming you use a radius of 3 in avisynth. Hey, I sent you an email a month or two ago about some wacky initial behavior in RGB mode. (I mentioned it in this thread (http://forum.doom9.org/showthread.php?s=&threadid=34972) too.) Is there any way you can fix that? Is it even specific to TemporalSmoother?

dividee
3rd December 2002, 21:51
Hey, I sent you an email a month or two ago about some wacky initial behavior in RGB mode. (I mentioned it in this thread too.) Is there any way you can fix that? Is it even specific to TemporalSmoother?
Sorry about this, I don't read that mailbox anymore (too much virii). Now I checked it and found your mail. Please use the forum facility to send me mail.

Yes it looks like a bug in TemporalSmoother. I'll look into it when I'll have the time. It seems it's not included in recent releases of mpeg2dec. That's a good thing. If I fix it, I'll probably build a separate plugin.

Christo
5th December 2002, 03:57
I compared Convolution3d (preset="movieHQ") to VirtualDub's TempSmooth (2) and amazingly it did a better job in noise removing without additional blurring at the same time! 5% filesize saving too

So from now on Convolution3d is my default noise removing filter.
Thanks a lot everyone for help :)