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. |
28th July 2012, 21:54 | #24 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
Code:
SeparateFields() UnFade() Weave() Telecide(order=1, guide=1).Decimate(cycle=5) #IVTC |
|
31st July 2012, 11:29 | #28 | Link |
Registered User
Join Date: Jul 2009
Posts: 19
|
I know it's meant to deal with moving text, but wouldn't ivtc_txt60mc get a perfect result anyway? A fade should hopefully be easy enough to interpolate with good results. That said, even if you don't get the fade back to linear it's not that big of a problem, it's going to look fine anyway in motion. So alternatively to ivtc_txt60mc, the simple solution is just to use vinverse (as it was already suggested) after you do proper ivtc (you most likely want to tell your matcher to avoid postprocessing the frames and perhaps you might have to manually make sure the matches are correct).
Hell, I'd say ivtc_txt60mc isn't really required to get back to linear. Ideally you could do this by doing a high quality bob, then just doing an overlay at 0.5 with the fields that need to be overlayed to get a linear fade. Last edited by mirkosp; 31st July 2012 at 11:32. |
31st July 2012, 13:03 | #29 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
On a 3:2 telecine pattern, vinverse() the 2-field image, and for the 3-field image, average the 1st and 3rd fields, match with the 2nd field and vinverse() the result to smooth the remaining combing. But sometimes vinverse() cannot cancel the combing, especially on oblique, thin and and highly contrasted lines (mostly with anime/cartoon sources). In this case you could replace vinverse() with daa(). You could also limit the changes by the difference between the average lumas of the two fields.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
31st July 2012, 13:33 | #30 | Link | ||
x264 fan
Join Date: Feb 2011
Location: In the trap
Posts: 458
|
Quote:
Quote:
As you see the lines are solved but it looks like the video is also filtered, probably because it is an aliasing filter. But, at least, it seems to always work without needing to be adjusted (like vinverse). Do you maybe know something similar like this ? I think we are on the way ! Last edited by sirt; 31st July 2012 at 13:43. |
||
18th June 2013, 13:49 | #32 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
sirt, try this version of daa() that I modified to make it more smooth.
# Anti-aliasing with contra-sharpening by Didée (thanks to Didée, modded for this case with nnedi3) # Is required VerticalCleaner function DAAMod(clip c) { nn = c.nnedi3(field=-2) #or use nnedi2 dbl = mt_average(selecteven(nn),selectodd(nn),U=3,V=3) dblD = mt_makediff(c,dbl,U=3,V=3) shrpD = mt_makediff(dbl,dbl.removegrain((width(c)>1100) ? 20 : 14),U=3,V=3).verticalcleaner(mode=2) DD = shrpD.repair(dblD,9) return dbl.mt_adddiff(DD,U=3,V=3) } Last edited by GMJCZP; 18th June 2013 at 13:52. |
|
|