Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th June 2016, 14:03   #1  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Post Yadif deinterlacing artifacts fixing

I got video that has been (unfortunately) deinterlaced with yadif only. So now on contours I have white dots. Does anyone know how they can be removed? This is the first time I'm working on already processed video with yadif so I don't know what can be done here.

6 second long sample. (look at hand)
kostek00 is offline   Reply With Quote
Old 27th June 2016, 14:45   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,984
This seems a strange one to me. It's 720p. 720i isn't really a thing, so I would normally assume it came from 1080i, was deinterlaced and then resized.

But all the "good" lines (alternating rows) seem to be intact. And what's more, they are the same rows on subsequent frames, not alternating. I don't know how this came to be.

Anyway, I would suggest:

Code:
nnedi3(field=0)
(http://avisynth.nl/index.php/Nnedi3)

It gets rid of the dots and makes a better job of interpolating the lines.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 27th June 2016, 15:33   #3  |  Link
thecoreyburton
Registered User
 
Join Date: Jul 2015
Posts: 109
Quote:
But all the "good" lines (alternating rows) seem to be intact. And what's more, they are the same rows on subsequent frames, not alternating. I don't know how this came to be.
Given a quick look over, I'm thinking the interlacing was added and then removed. I have no idea why, but with the original source being HD it would have likely been at 23.976fps already - or at most required field matching. I could be wrong, but that'd lead me to assume that it was interlaced for whatever purpose at 720p and then later deinterlaced again.

Anyway, I echo the sentiments for nnedi3. If not, you could use QTGMC(InputType=2,ProgSADMask=2) but expect it to go slower than you'd like. I'd also recommend doing any decimation prior to these steps. It looks like the footage should be played back at 23.976fps.
thecoreyburton is offline   Reply With Quote
Old 27th June 2016, 16:39   #4  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Thanks for response. Both of your suggestions are working. In some scenes better is nnedi3 and in other QTGMC. I will look a bit longer which plugin gives better overall results and choose one. Or maybe I will choose both at once? :P

Quote:
Originally Posted by thecoreyburton View Post
Anyway, I echo the sentiments for nnedi3. If not, you could use QTGMC(InputType=2,ProgSADMask=2) but expect it to go slower than you'd like.
I know QTGMC and how slow it is. Sometimes I use it for deinterlacing if TIVTC can't handle.

Edit: I better don't use both. Nnedi3 gives better overall results so I will stick with him. Thanks for help.

Last edited by kostek00; 27th June 2016 at 16:59.
kostek00 is offline   Reply With Quote
Old 27th June 2016, 19:47   #5  |  Link
geometer
Registered User
 
Join Date: Dec 2015
Posts: 62
I hope one day someone will speed up post-yadif processing.
I believe it can be done with a superfast local motion-detector that only uses a window 4*4 or 4*8(horizontal) and seeks only 1 line up and 1 down. Then, it makes its guess and moves the block up half a line, and in the next frame, down the same amount (or vice versa). For these resulting blocks, there is a weighted average computed through perhaps 3 frames. The mechanism triggers only when there is a "bobbing" artifact, or a typical "running ant" pattern, and blends itself off for every other part of the picture.
This will already remove the biggest part of what is annoying in yadif. It is fast because it seeks only for a move up or down of the typical bobbing distance, and thus also transparent to other motion-techniques in the signal chain.
geometer is offline   Reply With Quote
Reply

Tags
post-deinterlacing, yadif

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.