PDA

View Full Version : Filtering animation DVD (not usual Anime)


Rarok
4th April 2009, 18:13
Hi, I'm trying to do a decent filtering to a DVD, you can download some samples here (http://www.megaupload.com/?d=T06OSNM3)


It's a letterboxed DVD and I'm sending you some samples extracted with the dgindex with Force Film in Field Operation.

The video it's a letterbox 1.85 so for filtering I'm using:


video=MPEG2Source("mari.d2v")
audio=DirectShowSource("mari T89 DELAY -195ms.mka")
AudioDub(video,audio)
ColorMatrix(mode="Rec.709->Rec.601")
Crop(2, 2, -2, -2)
bicubicresize(888,480)
FFT3DFilter(sigma=2.0,beta=2.0,sharpen=0.3,ncpu=2)


I'm not sure if I'm handling ColorMatrix correctly, I see the differences with and without it and I know it's for correct the colors, but I don't undertand it :(

The thing it's worries me more it's denoising, as you can see in the second sample it has MANY noise and grain, but I feel like a very strong denoising lets the image "less warm" and also in the first clip the denoise damages the snow (also there are others moments in the film with rain).

What do you thing?



PS: Sorry for my English :(

Blue_MiSfit
5th April 2009, 21:45
sigma=2 is pretty strong for fft3dfilter. I usually try to spread the sigma range out a bit, like this:

fft3dfilter(sigma=1, sigma2=1.5, sigma3=2, sigma4=1)

Still, your samples are pretty clean to be honest. The second one does have a bit of noise, but it's not bad. If you really want to clean it, then I didn't have much luck with fft3dfilter. It seems this source is prone to artifacting with it. MDegrain2 on the other hand works wonders :)


MT("""
super = MSuper(pel=2, sharp=1)
backward_vec2 = super.MAnalyse(isb = true, delta = 2, overlap=4)
backward_vec1 = super.MAnalyse(isb = true, delta = 1, overlap=4)
forward_vec1 = super.MAnalyse(isb = false, delta = 1, overlap=4)
forward_vec2 = super.MAnalyse(isb = false, delta = 2, overlap=4)
MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400)
""",2) # two threads


Straight from the MVTools2 manual, but it's just about right!

~MiSfit

Inspector.Gadget
5th April 2009, 21:50
I'm not sure if I'm handling ColorMatrix correctly, I see the differences with and without it and I know it's for correct the colors, but I don't undertand it

You can also let Colormatrix function automatically like so:


Mpeg2source("F:\TestStreams\avs\AguileraGrammies.d2v", info=3) # for dgdecode v1.20 or newer
ColorMatrix(hints=true)