You have bleeding of the chroma channels between fields. Change ConvertToYV12() to ConvertToYV12(interlaced=true). I'm pretty sure that will fix it.
+ Reply to Thread
Results 31 to 42 of 42
-
-
I'm trying to sharpen the video with aSharp. But then, I see some kind of horizontal edges appearing. You can see it especially near the edges of the water and on the rock in the lower right corner. See picture:
You can see, if looking carefully, the horizontal lines also appear in the before picture. So, is this coming from the TGMC filter?
This is the code I used:
Code:SetMTMode(2,0) LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d.dll") AviSource("C:\Users\L.J.P. Verhees\Desktop\losse stukjes\Interlaced_Deshaked.avi") SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() DoubleWeave.SelectOdd() Tweak(sat=1.1,cont=0.94) ConvertToYV12(interlaced=true) AssumeBFF() TempGaussMC_beta1() SelectEven() aSharp()
-
Yes, those horizontal lines are imperfections in the deinterlacing. And you are way over sharpening.
-
Is there a way to remove these horizontal lines (e.g. by changing settings in TGMC or changing something else?), or must I live with them (and turn the sharpening a bit down)?
-
TempGauss is currently the best deinterlacer. One thing you can do after TempGauss is
Code:Blur(0, 1.0) Sharpen(0, 0.7)
There is one way to make sure no interlaced artifacts get like that get through, but you'll lose half the vertical detail and end up with jagged, buzzing, near horizontal edges. Just use:
Code:SeparateFields() SelectEven() #or odd WhateverResize() # to desired size
-
-
Jagabo used SmoothFPS somewhere, but where can I find this filter? Till now, I could find all the filters on the internet, but not this one.
-
Originally Posted by loekverhees
https://forum.videohelp.com/topic303037.html#1533994
You need to install MVTools for AviSynth then use the SmoothFPS() function. -
Note that the function is written to use an older version of MVTools and will not work with the latest version 2.x.
You will need to use version 1.x from http://avisynth.org.ru/mvtools/mvtools.html
As an exercise, you could rewrite the function to work with MVTools 2.x. -
Originally Posted by loekverhees
-
@ Jagabo & Gavino: Thanks, now it works. Although I had to insert this piece of code as well:
Code:function SmoothFPS(clip source, float fps) { fp=fps*100 backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1) # we use explicit idx for more fast processing forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1) cropped = source.crop(4,4,-4,-4) # by half of block size 8 backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2) forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2) return source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=int(fp),den=100, idx=1,idx2=2) }
Similar Threads
-
Removing jagged interlacing artifacts from a progressive file?
By tfolder in forum RestorationReplies: 13Last Post: 17th Mar 2011, 04:19 -
interlacing in progressive DVD image
By ecc in forum Video ConversionReplies: 1Last Post: 28th Oct 2009, 08:50 -
Good Video Explaining Interlacing and De-Interlacing
By Soopafresh in forum Newbie / General discussionsReplies: 3Last Post: 14th Aug 2008, 19:50 -
interlacing progressive videos
By theelf in forum ffmpegX general discussionReplies: 0Last Post: 29th Jan 2008, 19:31 -
Can progressive video be saved as DV without losing progressive advantages?
By boblin2 in forum Video ConversionReplies: 7Last Post: 22nd Jul 2007, 14:35