|
|
Avisynth port of TemporalCleaner
Hi all,
I made an avisynth port of Jim Casaburi's TemporalCleaner.
This filter is a simple temporal denoiser but it's real aim is to help compressibility as it will gave you a first pass size 10-20% lower for almost no speed penalties.
With this first release you have to use a mod4 width otherwise it may crash.
Next version will include pixel lockers and maybe a specific YV12 dll.
happy testing.
TemporalCleaner
@Defiler
May I ask you to host this filter as well. Thanks in advance.
E-e-e-xcellent! I will try it out right away on some shorter clips!
Thanks again,
@jp
Yay!
This filter works great, but there was a green line on the left of my clip.
The script was this:
#
LoadPlugin(quot;C:\Avisynth\TemporalCleaner.dllquot;)
mpeg2source(quot;C:\Niño\Documents\Con_Air\Con_air.d2vquot;)
#
crop(0,70,718,434)
#
TemporalCleaner(6,10)
#
LanczosResize(640,272)
#
hi,
try to use some crop value divisible (yes my english is crap) by 4
(use value like 716 our 720 for height and 432 or 436 ) i think this will solve your problems.
++
Vlad SPECIFICALLY said to use a horizontal resolution that was mod4...meaning divisible evenly by 4.Originally posted by Niño
This filter works great, but there was a green line on the left of my clip.
The script was this:
#
LoadPlugin(quot;C:\Avisynth\TemporalCleaner.dllquot;)
mpeg2source(quot;C:\Niño\Documents\Con_Air\Con_air.d2vquot;)
#
crop(0,70,718,434)
#
TemporalCleaner(6,10)
#
LanczosResize(640,272)
#
Sorry, you're right,
Thanks
Could someone recommend a good, all-around, general-purpose setting for this, or small-range of settings?
I must admit I only made tests on anime and I used safe setting :
5, 10
I think that if you use it on normal movie then you should use settings like :
3, 8
But it's untested. I'll remake a test with Excalibur tonight.
Heya Vlad,
thx for this nice filter, I waited long time for an avisynth port
How about this:
{quote]
3 - Current limitations or known problems : .
- Work only with YUV2, CHECKED.
[/quote]
Do you plan to port it to avisynth2.5/YV12?
Best regards
Koepi
Vlad,
only had time to test it on a few short clips but inital impressions are very good! It really cleans up my digital cable caps, removes any flickering and dct blocks. I haven't tried it on an analogue cap yet but I will tonight. I suspect they are so noisy I will have to use it in combination with Peachsmoother or something...
Speed is also very good...
Thanks!
@jp
Originally posted by Koepi
Do you plan to port it to avisynth2.5/YV12? [whispering]
Don't tell anyone about this but it's already done .....
Just some little thing to check and ....
[/whispering]@all
Can somebody post some speed bench as I only tested it on my old PIII500 so it was hard to compare speed.
Thanks in advance.
Converting a testclip took 0.7x realtime without Temporalcleaner (without using Avisynth at all), using Avisynth and Temporalcleaner (4,8) it took 1.1x realtime... not very scientific but still...
Convolution3D is still no 1 when it comes to quality but also quite a lot slower, Temporalcleaner is often good enough on less noisy clips and does it in half the time...
I tried combining them but I have a feeling that's completely unnecessary?Originally posted by vlad59
[whispering]
Don't tell anyone about this but it's already done .....
Just some little thing to check and ....
[/whispering]
Oh man, your teasing us Yep, the speed is very good; definitely faster than Convolution3D though. I don't have any hard benchmarks but could post some if needed. Nice work as always Vlad.
will compare to 2dcleaner and temporalsmoother
jayel
initial feedback even without encoding the anime (previewing in vdub). 2DCleaner is better. TemporalCleaner is not as smooth and clean as 2Dcleaner. So I opted not to test it cause it uncompressed is not good. I would assume that compressed file would be worse.
Um... 2d cleaner and temporal cleaner are COMPLETELY different types of filters. You cant say one is better than the other
isn't 2dcleaner a temporal smoother?
No, it's 2d - meaning it operates on a single 2d still frame. It's a spatial smoother.
One thing I totally forgot to say :
As stated in the doc, this filter use feedback, that it use the already processed previous frame (not the unprocessed one). So if you want to make test on a specific frame (in Vdub) :
go 4 or 5 frame before your test frame and then use the right arrow to reach your frame.
Sorry for forgetting this one.
Another thing, luma and chroma threshold are linked : for a pixel if luma différence is above luma threshold (so we keep current luma) then chroma is also kept.
So if you use this script :
TemporalCleaner (1, 25) or TemporalCleaner (0, 255)
don't be surprised if the filter don't make anything.
I think that's all I've forgotten.
@Jarthel
No you can't say that if the result with TemporalCleaner don't seem as clean as the result with 2Dcleaner -gt; then the compressed one will follow. Also the TemporalCleaner should keep more details that 2DCleaner.
It depends of your second pass size, of your compressibility.
You could try to run a complete full pass with both scripts and compare the first pass size.Hope this helps |
|