Log in

View Full Version : DV, NTSC - Deinterlacer, Denoiser, Scripting


jeremyofmany
15th December 2006, 08:20
My DV footage happens to be low-light originally taken from an old camcorder so there's a lot of noise as well.
1. What's the best denoiser to use to maintain quality as best as possible?
2. What's the best deinterlacer is regards to maintaining quality? Speed is not something I care about. I want efficiency!
3. How would I maintain the colorspace(s)? This is something I am picky about. I like to maintain as much color information as possible.
I'm new to AviSynth scripting so can someone provide me the simple script to point to a DV file and load a specific deinterlacer and denoiser?
I have lots of time on my hands to do the whole trial-and-error and experiment so if anyone could provide me with some good answers, that would be greatly appreciated.

Cheers,
Jeremy

wonkey_monkey
15th December 2006, 10:46
Forum rule 12 (http://forum.doom9.org/forum-rules.htm) asks that you don't ask for "the best" as it rarely leads to objective discussion.

David

PS 2. mcbob ;)

jeremyofmany
15th December 2006, 23:48
That's it? Just a warning? No suggestions or advise from people with far more experience? What a bummer....

Guest
16th December 2006, 01:01
You're not doing your basic homework. Show some evidence of having tried something and then you'll get some help. We don't have time to teach the basics to every noob that comes along.

There are a lot of deinterlacers. You can try FieldDeinterlace() from the Decomb package to get started. For denoising, we need to know what kind of noise you have. Try posting a screenshot.

jeremyofmany
16th December 2006, 08:19
neuron2, thanks for your response. I do apologize for coming off as a n00b. I have nearly 4000 posts on the MSFN forums and hate it when newcomers don't do their own searching. I was really tired the other night when I posted so I was lazy.
Anyway, to smarten up here, I'd be glad to provide some screenshots.
Noise 1 (http://jeremy.zxian.org/Screenshots/Noise1.jpg)
Noise 2 (http://jeremy.zxian.org/Screenshots/Noise2.jpg)
Noise 3 (http://jeremy.zxian.org/Screenshots/Noise3.jpg)
Noise 4 (http://jeremy.zxian.org/Screenshots/Noise4.jpg)

I'll try out some deinterlacers. It's the scripting to work with them that I'm worried about, but hopefully it won't be too hard. In the mean time, let me know what you think of the screenshots.

Thanks,
Jeremy

jeremyofmany
16th December 2006, 09:11
I've tried FieldDeinterlace but it only supports YV12 and YUY2 color spaces, so it doesn't work by default. I know I can convert the colorspace within the script. I've always used the deinterlace function that comes with VirtualDub. I also tried KernelDeint and noticed an improvement in the quality already! VDub's deinterlacer blurs the image whereas KernelDeint does not. The noise is maintained (which adds to the detail) which I like. However, the noise itself just looks too noticable. I'll research the denoisers a little later on.
AviSynth is awesome. :D

Boulder
16th December 2006, 13:08
Use Cedocida to decode DV so you'll get something else than RGB out. I can't tell you how to treat NTSC DV to get proper output, but the DV forum should contain all the information you need. For denoising, MVDegrain1/2 are two killer denoisers. They are in the MVTools package by Fizick (MVTools was created by Manao).

foxyshadis
16th December 2006, 13:59
That's going to be very difficult to deinterlace really nicely; on the other hand, you won't notice combing nearly as much, with all that noise.

Since you get decent results from LeakKernelDeint (make sure it's the Leak one, much faster), try TDeint as well, but I don't think it really makes any sense to try one of the slow mv bobbers.

Like boulder, my first thought was mvdegrain for denoising, perhaps coupled with fft3dfilter (or fft3dgpu) and seesaw. If you can't leave it on all night to process, using just a stronger fft3d might substitute. Oh yeah, and check HDR AGC once you get it a little cleaner, it will look as if you had great lighting instead of a single incandescent. =D

Guest
16th December 2006, 15:10
Try to get better exposure on your shoot next time. Low levels exacerbate noise.

jeremyofmany
16th December 2006, 18:58
This DV footage was shot back in March 10th, 2005 with my old PV-DV953 which no longer works. I have a brand new PV-GS500 which has significant improvements particularly in low-light situations. I intend of keeping my low-light shooting at a minimum as DV always tends to look beautiful under proper lighting conditions.
I am aware that low-light increases noise.
I will try out your suggestions. Thanks, guys!

Cheers,
Jeremy

jeremyofmany
16th December 2006, 20:52
Use Cedocida to decode DV so you'll get something else than RGB out.
Using it now.

I've just tried out the MVDeGrain1 function. :)

Original Noise 1 (http://jeremy.zxian.org/Screenshots/Original Noise.jpg)
MVDeGrain1 Sample 1 (http://jeremy.zxian.org/Screenshots/MVDeGrain1 Sample.jpg)

Original Noise 2 (http://jeremy.zxian.org/Screenshots/Original Noise2.jpg)
MVDeGrain1 Sample 2 (http://jeremy.zxian.org/Screenshots/MVDeGrain1 Sample2.jpg)

Looks a lot better, only slightly blurrier but I knew that was coming before I started.
Next up is to try some more denoisers and deinterlacers.
If anyone has anymore suggestions/comments, I'd love to hear them. :)

Boulder
16th December 2006, 21:10
Out of interest, what is your final destination format?

For chroma denoising, FFT3DFilter/FFT3DGPU is highly recommended. It needs a bit tweaking as there's the four sigma values which affect different frequencies.

If you need sharpening, I think you might like SeeSaw.

jeremyofmany
17th December 2006, 00:23
My destination format is both DVD and AVI (x264) as I have found it is better than XviD.
I'm not new to making DVDs or AVIs, just AviSynth. I've always used TMPGEnc Plus to encode to MPEG-2 at 6000 kbps CQ and BeSweet for AC3 audio at 192 kbps. I then use TMPGEnc DVD Author to, obviously, author it.
With AVI (x264) I'll likely use a bitrate of 1500 kbps and MP3 (Lame) audio.
I'll look into the mentioned filters.

Thanks,
Jeremy