Log in

View Full Version : Which filters to use for filmgrain with good results/encodingspeed ratio


LOGiC
15th August 2008, 07:36
Hi there @all

First of all I need to say that I am quite new to Avisynth, to encoding and all that stuff. I am still trying to learn a lot and I have already done my first testings. I was testing around with some of my own bluray discs and noticed that a lot of them show a grainy image. I would like to know if there is a filter to use which removes grain, but more in a way a filter that just "cleans" the overall picture a bit and does some denoising without taking too much of the encoding time, somthing that is a good agreement between results and encoding time ?

Thank you very much in advance for your kind help.

Sagekilla
17th August 2008, 07:08
If you want light grain removal that won't (afaik) introduce spatial/temporal artifacts or reduce detail, try MVDegrain. If you use josey_well's new patched builds the syntax is easy:


s = last

refs = 2
overlap = 2
pel = 2

vectors = s.MVAnalyseMulti(refframes=refs,idx=1,overlap=overlap,pel=pel)
s.MVDegrainMulti(vectors,refframes=refs,idx=1)




More refs will use more frames for degraining, using pel = (1,2,4) will check at subpixel levels for higher quality. Overlap (even and <= blksize/2) will reduce border artifacts, so I recommend a minimum of 2 for encoding. I can playback using pel = 2, overlap = 2, refframes = 2 in real time on a C2D @ 2.17 GHz, which is plenty fast and does well with cutting down noise and retaining detail without incurring a huge speed hit.

LOGiC
18th August 2008, 08:38
Thank you Sir, I will give it a try.

Blue_MiSfit
18th August 2008, 08:53
"Good" and "Fast" degraining don't usually occur at the same time :) Especially for HD content!

~MiSfit