Log in

View Full Version : I cannot denoise/dering video, any help will be appreciated


birdie
1st August 2011, 18:08
Hello,

I'm not sure it's the right forum for asking this question, but since I'm encoding using x264, I think my question fits this forum :)

OK, here's the video (http://www.mediafire.com/?lddj6l1kwxu2j3s).

I'm preprocessing it using mencoder (yeah, I know, it's not recommended, etc. but I feel cozy with it).

I've tried pp=dr, hqdn3d, and many other filters to no avail - it's still jerky as hell.

Any ideas what to do with it?

It's not processed at all - it's straight from my camera (MJPEG under low lighting).

nm
3rd August 2011, 12:53
I'm preprocessing it using mencoder (yeah, I know, it's not recommended, etc. but I feel cozy with it).

I've tried pp=dr, hqdn3d, and many other filters to no avail - it's still jerky as hell.

Any ideas what to do with it?

There isn't much you could do with MEncoder. Try AviSynth and a motion-compensated denoiser such as MDegrain.

What do you mean by "jerky"? Usually the word is used to describe jerky motion from dropped/duplicated frames, which is unrelated to noise and halos.

birdie
13th September 2012, 11:35
MDegrain worked beautifully, thank you!

LoadPlugin("C:\Temp\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("C:\Temp\vuideo.avi", threads=1)
#deinterlace
#crop
#resize
#denoise
super = MSuper(pel=2, sharp=1)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4)
MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400)
ConvertToYV12()


I have yet another question, many x264 encoded movies contain grain - is it a feature of x264? How can I make x264 aggressively search for grain-like surfaces and encode them as grain?

Blue_MiSfit
13th September 2012, 18:20
If only it were that simple!

Accurate grain retention usually requires high bitrate, in conjunction with settings like --tune grain. It's often problematic even then.


Wow.. 5k posts and 9 years