PDA

View Full Version : Get Rid of Scanline,Black Artifacts


Ranguvar
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)
ColorMatrix(hints=true,interlaced=true)
edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,full=false,edeint=edeintted)
crop( 10, 0, -8, 0)
Spline36Resize(704,400) # Spline36 (Neutral)
mergechroma(blur(1.3)) # Little Noise
Tweak(bright=1.1)

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

Pics:

http://img127.imageshack.us/img127/8674/artifacts1is7.png
http://img221.imageshack.us/img221/6497/artifacts2vr3.png
http://img403.imageshack.us/img403/7719/artifacts3hw6.png

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

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

Ranguvar
18th September 2007, 00:17
Sure...

Ranguvar
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.

Thanks!

Guest
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:

http://neuron2.net/decomb/decombnew.html

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

Ranguvar
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.

Ranguvar
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)
ColorMatrix(hints=true,interlaced=true)
ConvertToYUY2()
GuavaComb(mode = "NTSC", Recall = 20)
AssumeTFF()
Telecide(guide=0,post=2)
crop( 12, 0, -8, 0)
Spline36Resize(704,400) # Spline36 (Neutral)
Tweak(bright=4.5)
ConvertToYV12()

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

Guest
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. :)

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

@neuron2: Will do :)

Ranguvar
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?

Guest
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.

scharfis_brain
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.

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

scharfis_brain
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?

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

Ranguvar
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? ;-)

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

Ranguvar
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! :)

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

Ranguvar
1st October 2007, 02:50
I will!

...Come Christmas :P