PDA

View Full Version : Realtime temporal filtering


markanini
20th November 2009, 20:45
I've been impressed by what mvdegrain can do with all kinds of sources, reducing blocking and increasing apparent resolution. However I'm looking for something that I can run relatime on SD sources. TTempsmooth leaves a texture of it's own and FluxsmoothT does quite well at avoiding motion artefacts but I see it create discreet blocks on lower quality sources sometimes.

EDIT: Would a mod please move this to Avisynth usage?

Also, the sources I want to process are progressive. An example is the PAL version of Baron Munchausen DVD, 16:9 letterboxed, gets blocky and mosquitoey in high motion scenes viewed fullscreen om my 20" lcd monitor. And various youtube clips.

Sagekilla
22nd November 2009, 21:32
You can do realtime MDegrain. Use MDegrain2, or 1. Increase blocksize to 16 but don't decrease overlap since you'll get artifacts that way. It's not hard to get realtime MDegrain going.

markanini
23rd November 2009, 05:42
I'm trying out the following script on youtube type clips on an old Pentium 4 system(Williamette).

src = last
super = src.MSuper(pel=2)
bvec = super.MAnalyse(isb=true, blksize=16, overlap=4)
fvec = super.MAnalyse(isb=false, blksize=16, overlap=4)
return src.MDegrain1(super, bvec, fvec)

Runs real time with stunning quality!
Though no CPU to spare for software upscaling(GPU is poor on this particular system) so if you have any other suggestions I will try a light overclock, I've managed to increase clock by 100-200 MHz with before but reverted to stock since I didnt see the need at the time.
Of course I will try "full" mdegrain on my core2 system as soon as I can.
Thanks for the heads-up Sagekilla!

markanini
23rd November 2009, 11:27
I just skimmed through the mvtools documentation looking for parameters to speed up filtering and found lowering qpel and sharp parameters useful. Obviously I'd stil love to hear what experts have to say. :)

LaTo
23rd November 2009, 14:52
I just skimmed through the mvtools documentation looking for parameters to speed up filtering and found lowering qpel and sharp parameters useful. Obviously I'd stil love to hear what experts have to say. :)

Set pel=1, it's OK for realtime processing.

If you don't need chroma filtering: set chroma=false in MSuper/MAnalyse & plane=0 in MDegrain

Sagekilla
23rd November 2009, 21:43
If you're doing realtime, viewing only, sometimes you can get away with overlap of 2, or even 0. But artifacts will show up.