tbr
29th January 2003, 18:52
Hello,
I'm new to this forum. For some time I've experimented with avisynth 2.07. My application is converting DV video clips into Xvid. I've found that TomsMoComp works very well most of the time (Thanks, trbarry). The only drawback are strange artifacts around subtitles, even in still clips.
This avisynth script is to demonstrate the problem:
LoadPlugin("c:\Programme\AviSynth2\plugins\TomsMoComp.dll")
MessageClip("Test to visualize artifacts", 320, 32, false, $FFFFFF, $000000, $FFFFFF)
a=ConvertToYUY2()
b=a.TomsMoComp(0, 15, 0)
c=Subtract(a, b)
StackVertical(a.LanczosResize(640, 64), b.LanczosResize(640, 64), c.LanczosResize(640, 64))
I will attach a jpg that shows the original clip (top), the deinterlaced clip (middle) and the difference (bottom). I didn't take the first frame (which is even worse).
What causes these artifacts? As far as I understand the way TomsMoComp works, artifacts in the first frame may be caused by interpolation (WeirdBob). So far, so good - even if it would be nice when you could force a "weave" for the first frame or after scene changes. But from the second frame on, the deinterlacer should detect that there is no motion and just weave the two fields of the frame. So maybe TomsMoComp makes a wrong interpolate/weave decision? Or am I doing something wrong?
Regards,
tbr
I'm new to this forum. For some time I've experimented with avisynth 2.07. My application is converting DV video clips into Xvid. I've found that TomsMoComp works very well most of the time (Thanks, trbarry). The only drawback are strange artifacts around subtitles, even in still clips.
This avisynth script is to demonstrate the problem:
LoadPlugin("c:\Programme\AviSynth2\plugins\TomsMoComp.dll")
MessageClip("Test to visualize artifacts", 320, 32, false, $FFFFFF, $000000, $FFFFFF)
a=ConvertToYUY2()
b=a.TomsMoComp(0, 15, 0)
c=Subtract(a, b)
StackVertical(a.LanczosResize(640, 64), b.LanczosResize(640, 64), c.LanczosResize(640, 64))
I will attach a jpg that shows the original clip (top), the deinterlaced clip (middle) and the difference (bottom). I didn't take the first frame (which is even worse).
What causes these artifacts? As far as I understand the way TomsMoComp works, artifacts in the first frame may be caused by interpolation (WeirdBob). So far, so good - even if it would be nice when you could force a "weave" for the first frame or after scene changes. But from the second frame on, the deinterlacer should detect that there is no motion and just weave the two fields of the frame. So maybe TomsMoComp makes a wrong interpolate/weave decision? Or am I doing something wrong?
Regards,
tbr