View Full Version : Get Rid of Scanline,Black Artifacts

17th September 2007, 23:19
Despite using the correct deinterlacer, according to meGUI's analysation, my video still has scanline artifacts. I've tried all the different deinterlacers, and checked to see if any other filters are causing the problem.

Is there a smoother or other AviSynth filter that will reduce these?

Also, I seem to have weird black glitches.

The scanline isn't so noticable in full speed, but the black things are.

My AviSynth script:

DGDecode_mpeg2source("C:\MyVideos\_Xbox 360_20070917_164242.d2v",info=3)
edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
crop( 10, 0, -8, 0)
Spline36Resize(704,400) # Spline36 (Neutral)
mergechroma(blur(1.3)) # Little Noise

__film = last
__t0 = __film.trim(3578, 3665)



The video was compressed to MPEG-2 CBR @ 6MB/s.

17th September 2007, 23:58
We need an unprocessed source clip, not PNGs of your encoding result.

18th September 2007, 00:17

18th September 2007, 01:32
I'm pretty sure it has said artifacts.

MPEG-2 Clip: http://www.hotlinkfiles.com/files/382859_il8nx/Test.mpg
AviSynth Clip: http://www.hotlinkfiles.com/files/382860_9tljd/HeadShot.avs

Please don't download if you don't intend to help - I have limited bandwidth.


18th September 2007, 04:56
That is progressive material with a one-field phase shift, which misaligns the fields. You need a field matcher, not a deinterlacer. Try this simple script and let me know how it works for you:

Telecide() You can find Telecide in the Decomb package here:


You can also use TFM(), but don't use TDeint(), because as I said you need a field matcher, not a deinterlacer.

18th September 2007, 21:02
Aha. Thanks loads!

Perhaps someone should let the people who make meGUI know, their analyser is bad in this case, if it can be fixed.

18th September 2007, 22:25
Just wanted to say, everything is perfect now.

My final script:

DGDecode_mpeg2source("C:\MyVideos\_Xbox 360_20070916_132846.index\_Xbox 360_20070916_132846.d2v",info=3)
GuavaComb(mode = "NTSC", Recall = 20)
crop( 12, 0, -8, 0)
Spline36Resize(704,400) # Spline36 (Neutral)

18th September 2007, 23:54
you forgot interlaced=true within you converttoyuy2() call.

19th September 2007, 00:41
Perhaps someone should let the people who make meGUI know, their analyser is bad in this case, if it can be fixed. That someone could be you. :)

20th September 2007, 02:14
@scharfis_brain: Thanks!

@neuron2: Will do :)

20th September 2007, 21:08
Wait a sec - Should I be using interlaced=true in ColorMatrix and ConvertToYUY2 if it's just frame-shifted like neuron said?

20th September 2007, 22:43
Did you do the MPEG2 encoding? It all depends on how it was done.

Personally, I would do the fieldmatching first in YV12, then convert to YUY2 progressively if needed for the other filters.

20th September 2007, 23:31
but his comb filter is YUY2 only.
and comb filtering can only take place before IVTC.

so only replacing or removing guavacomb is an option to be able to fieldmatch in YV12.

20th September 2007, 23:33
OK, then maybe AutoYUY2() instead of ConvertToYUY2()?

21st September 2007, 00:20
nope. That would destroy the temporal timing of the rainbowing, cause autoyuy2() will upsample the chroma progressively.

but there are derainbowing filters that will work natively with YV12. I am sure. But I am just far too lazy to search for them.
Hasn't tritical made one, has he?

21st September 2007, 00:31
Well, I would capture with S-Video and ditch the SW comb filter. :)

21st September 2007, 12:01
I'm hopefully getting an S-Video cable soon :)
And yeah, I did the MPEG-2 encoding. The card I have is a bit weird though, it doesn't have standard WDM drivers - no matter what, it compresses to MPEG-2. Otherwise I'd be using DV.

I don't really see any quality decrease from the colorspace conversion, though. One or two small artifacts (when a COG brings the sniper up, there is a blue halo where the scope of the sniper will be be for about two frames, but it's barely noticeable at full speed, and indeed looks kinda cool :))

I'll try DeRainbow (can't believe I missed that one!). Might do better, since GuavaComb is designed for static scenes, although Recall = 20 makes it work not bad at all.

Oh, here: http://stage6.divx.com/Gears-of-War-Recordings/video/1655964/GoW---Sniper/Headshot-Montage-Teaser---01---Ranguvar
The shots near the end, see, lot less rainbowing? ;-)

21st September 2007, 14:37
Get the S-Video cable! There will be no rainbowing at all.

30th September 2007, 02:02
Good news, I'm getting something better!

The HAVA Platinum Pro, while it does a lot I don't need, will cap from 720p component into Ethernet, and also will split the component so I can play in HD at the same time! :)

30th September 2007, 05:56
Cool! Please tell us how it works out for you.

1st October 2007, 02:50
I will!

...Come Christmas :P