Log in

View Full Version : MC Temporal Denoise, motion = fluffy


DarkT
31st December 2009, 17:08
I wish I could show you guys the source, but for reasons of privacy I can;t...

I can do my best to describe the problem though.

The video was shot with a panasonic NV-GS500 camera(NTSC), then it was transffered by DVIO into a pc-file.

I use MC Temporal Denoise, and in static places it's excellent, but once there's motion, especially in the darker scenes, but also quite visible in the non-dark scenes, the edges of whatever is moving become... "fluffy", as if there are tiny flies over them which are moving, instead of a concrete line.

Places with slow motion almost do not exhibit the symptoms.

It's not soemthing of questionable legality, just something of a private nature. use your imaginations *grins*.

The script I use on it is as follows:

#Loading video
AVISource("D:\video1.avi").ConvertToYv12()

#Deinterlacing
Interp = nnedi(field=-1)
TDeint(mode=0,Order=0,field=-1,type=1,AP=55,edeint=interp,slow=2,emask=TMM(mode=0,order=-1,field=-1))

#Filtering
MCTemporalDenoise()

#Resizing
Lanczos4Resize(872,480)
Crop(12,0,-12,-0)

poisondeathray
31st December 2009, 17:23
How do you know that MCTD is causing the issue? Did you try other denoisers and get different results or same? Try something else

Maybe it's the deinterlacer artifacts? like "marching ants?" Try using a different deinterlacer

What about encoding settings? Are the artifacts visible in the preview before encoding?

DarkT
31st December 2009, 17:44
Well, the artifact doesn't seem to exist in the source, or very lightly.
I encode it in virtual dub to Lagarith Lossless, and it does exist in the preview, but very hard to see, it doesn't appear much in static, only in motion...

edit:

It's as if MCTD... denoised the edges a bit, and now some of the edge in motion is kinda "noise" and is mobving about.

It isn't dotcrawl though... dotcrawl is kinda agressive and is ON the edge... here what I see is like, as if the edge ITSELf is the artifact...

poisondeathray
31st December 2009, 17:51
Try a different filter, or adjust MCTD settings. It's hard to give suggestions when everyone is guessing :)

Remove/adjust 1 filter at a time until you find the culprit by process of elimination. For example, it could be the deinterlacer causing it. If there are dots like buzzing ants IN the lines itself, that's highly suggestive of the deinterlacer artifacts

If you remove MCTD, are the artifacts still there?

Didée
31st December 2009, 18:05
Not sure which colorspace your actual source file is in, but just in case:

AVISource("D:\video1.avi").ConvertToYv12(interlaced=true)

If it's in YV12 already, it doesn't matter (but then the command is superfluous, anyway).
If the source comes in YUY2, then you need this switch ultimately.

DarkT
31st December 2009, 21:09
It's not in yv12... Otherwise I wouldn't put it, hotdamn, I completly forgot the interlaced switch, I'm such a noob :(.

I'll see if it helps, thanks didee!

poison, good idea, I didnt' suspect the deinterlacer for some odd reason... Just blamed the MCTD... But yeah, it makes sense to check that it is indeed the denoiser... So I'll disable the MCTD and see...

Thanks guys, you're teh best ;).

edit:

It seems that it's there even without the MCTD, but somewhat less, I also added the interlaced=true thingy, didn't help though, nto that i saw anyway...

I will try YADIF:OD or something.... Maybe it'll work better...

Edit2:

Funny, yadif gives better results at some places, BUT, what makes a really big difference, atleast on the preview - is if I put FFT3d with the Interlaced flag on, before the deinterlacing... it seems to clean up some edges, and with the 0.3 sharpening together it makes them more... "stable" it seems... I shall now be encoding it, I'll report on results later on, but so far it looks very promising. I also added LSF, so far the script looks like this:

AVISource("D:\video.avi").ConvertToYv12(interlaced=true)
FFT3DFilter(sigma=1.0, sharpen=0.3,interlaced=true)
Yadifmod(order=0, field=-1, mode=0, edeint=nnedi(field=-1))
LimitedSharpenFaster(strength=37)
MCTemporalDenoise()
Lanczos4Resize(872,480)
Crop(12,0,-12,-0)