Hello, I was wondering if anyone has come across this type of artifact. (see ghosting.png) I'm not sure if it's both combing and ghosting. It seems to be present when looking at it frame-by-frame before encoding. I've added an unencoded sample in the attachments (sample_track1_und.mpg).
Is it even possible to remove such artifacts? Any help would be appreciated!
This is the Avisynth code I'm using:
Code:MPEG2Source("sample_track1_und.d2v",CPU=6,info=3) tfm() TDecimate() naa() naa() GradFun3(radius=16,smode=2,thr=0.18) Crop(2,0,-2,0)
+ Reply to Thread
Results 1 to 6 of 6
I'm pretty sure that section is interlaced, not telecined, so technically you should use hybrid=2, but frame blending for 24fps isn't great .
It seems to work better if you treat it as telecined, but TFM needs tweaking to detect the combing.
A = QTGMC().SelectEven()
TFM(MI=10, blockx=4, blocky=4, clip2=A)
crop(2, 0, -2, 0)
Although it's risky and I don't know if it'll work for the whole thing, I had some luck bobbing followed by setting a final framerate using TDecimate:
I'd encode at 59.94 fps:
Mpeg2Source("sample_track1_und.d2v", CPU2="ooooxx", Info=3) q = QTGMC(preset="fast") Interleave(TFM(field=0, cthresh=3, clip2=q.SelectEven()), TFM(field=1, cthresh=3, clip2=q.SelectOdd()))
Thanks for the help, I didn't realize that it some parts of the video were actually interlaced.
Looking at the video again I'm not sure about my "method" of reducing the blockiness of non-black edges (see attached screenshot and sample). It doesn't seem to happen with black edges. I'm now using 2 or 3 times naa() to smoothen it out a bit, but it makes the script very slow. Is there a better/specific filter designed for this type of problem?
That's pretty much what's in the video (interlaced YV12 chroma subsampling). You can use an antialiaser like Santiag() to smooth those edges.