Log in

View Full Version : Dotted lines when de-interlaced with YADIF


ChibiBoi
3rd December 2012, 09:57
One of the reasons I like using YADIF is because of how clear and sharp it leaves the image. When I try using TFM, it bobs the image and creates this weird aliasing and blurring of the video:

http://i48.tinypic.com/2ekt11v.jpg

However, the problem that I have with YADIF is that sometimes, it leaves dotted lines along the outlines of the image, such as on the eyebrows, etc:

http://i47.tinypic.com/2qjk3fb.jpg

So I'm wondering, is there another filter that will get good clear results when deinterlacing? When I set TFM to pp=0, it leaves the video very clear and sharp like YADIF, but there are residual combed frames (and I don't want to use the other pp settings because it then bobs and blurs the video)

I have a sample raw footage right here:
http://www.mediafire.com/?qgtn0qzdh3l71ck

There are also these annoying blended frames in the video, I think it's caused by some sort of annoying telecine that the laser discs used.

manono
3rd December 2012, 22:27
You can't use TIVTC on it because it was never telecined. If you want to get rid of the aliasing one good solution is to use the very slow QTGMC. It's fieldblended and you have to unblend it, and no unblender is perfect. Try this:

AssumeTFF()#the sample needed it
QTGMC( Preset="Medium" )
Srestore(Frate=23.976)

ChibiBoi
4th December 2012, 06:22
You can't use TIVTC on it because it was never telecined. If you want to get rid of the aliasing one good solution is to use the very slow QTGMC. It's fieldblended and you have to unblend it, and no unblender is perfect. Try this:

AssumeTFF()#the sample needed it
QTGMC( Preset="Medium" )
Srestore(Frate=23.976)

Wow! that works wonders! It really helped the footage a lot :D The only issue I have is that it encodes at 2fps :-/ Is there a faster way to process it?

manono
4th December 2012, 06:47
There are a number of presets, as you'll know if you check the very detailed manual:
The "Preset" used selects sensible settings for a given encoding speed. Choose a preset from:
"Placebo", "Very Slow", "Slower", "Slow", "Medium", "Fast", "Faster", "Very Fast", "Super Fast", "Ultra Fast", "Draft"

Maybe choose progressively faster ones until you begin to see the aliasing come back. There's also a mode especially designed to do away with shimmering (not exactly the same thing as aliasing, but it will help a lot, I think), but it softens the picture somewhat, and the source has to be progressive:
Progressive Input

Key Points: Can remove horizontal shimmering effects from progressive sources. Experiment with InputType=1, 2 or 3 for best results. FPS will not be doubled

This script is designed for deinterlacing and so by default expects an interlaced clip. However, much of its operation concerns the reduction of horizontal shimmering.

It's all explained very well in the manual. If you want something fast and sharp like Yadif, but without the aliasing on diagonal lines, it's not going to happen. If you have a multi-core CPU make sure to use a multi-threaded version of AviSynth. That can make a significant difference in encoding speed. Or keep the script as I showed you above and let it churn away overnight.

ChibiBoi
4th December 2012, 07:20
There are a number of presets, as you'll know if you check the very detailed manual:


Maybe choose progressively faster ones until you begin to see the aliasing come back. There's also a mode especially designed to do away with shimmering (not exactly the same thing as aliasing, but it will help a lot, I think), but it softens the picture somewhat, and the source has to be progressive:


It's all explained very well in the manual. If you want something fast and sharp like Yadif, but without the aliasing on diagonal lines, it's not going to happen. If you have a multi-core CPU make sure to use a multi-threaded version of AviSynth. That can make a significant difference in encoding speed. Or keep the script as I showed you above and let it churn away overnight.
Got it, thanks! That was super helpful :)