Log in

View Full Version : Deinterlacing Artifacts, Ghosting ?!


darkwolf
4th May 2010, 09:18
Hi,

Source Bluray NTSC
Scan Type: MBAFF
Frame rate: 29.970 fps

Can't seem to deinterlace this source without artifacts or ghosting.. anyone could help me out please.

I tried almost all the pluggins i knew for deinterlacing without success.

This is the best i could get:
http://i925.photobucket.com/albums/ad95/Ben1979/test.jpg

Check the red line ...

http://i925.photobucket.com/albums/ad95/Ben1979/test2.jpg

Some kind of black line\shadow around the plane and both guys.



Best result i could manage was with this:

DirectShowSource("C:\x\1\test.m2ts", fps=29.970, audio=false, convertfps=true)
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 4, 0, -4, 0)

LanczosResize(1280,720) # Lanczos (Sharp)

ConvertToYV12()

End result is for a mkv...

If needed i could upload a small sample of the m2ts (If i could find a place to send it)

Thanks

Didée
4th May 2010, 10:18
First of all, get rid of DirectShowSource. It looks like an incorrect YV12i<>YUY2i conversion has happened already upon loading of the source. Figure which codec is used for the video track inside the *.m2ts, then use a dedicated decoder.

darkwolf
4th May 2010, 17:41
This is what look like the source:

http://i925.photobucket.com/albums/ad95/Ben1979/Source.jpg


Any sugestion on what i could try to get a proper deinterlacing .. or how i can fix this source.

As sugested i used LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
dss2("C:\x\1\test.m2ts", fps=29.970)

But still have the same issue.

poisondeathray
4th May 2010, 17:52
posting a video sample of the source might help

free hosting sites: mediafire.com, sendspace.com

darkwolf
4th May 2010, 18:03
There a sample file:

http://www.mediafire.com/?m0jomqknrmn

darkwolf
4th May 2010, 18:15
Well seem like i fixed it using dgavcindex.

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("C:\x\1\ciboire.dga")
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
Yadif(order=-1)
crop( 4, 0, -4, 0)

LanczosResize(1280,720) # Lanczos (Sharp)

Seem perfect now.

I would really like to know what I did wrong when i used directshow or dss2.

n0an
4th May 2010, 18:20
I would suggest you demux it to H.264 > then create a .dga file with dgindexavc (Megui > tools dir). Decode with AVCSource(). I tried "yadif(order=1, mode=0)" and it looks nice.

EDIT

I was typing while you replaced with a .dga :).

poisondeathray
4th May 2010, 18:25
what decoder were you using for directshow? that might have been the culprit

e.g. using directshowsource + ffdshow worked fine with your sample

beware of blocky decoding artifacts when using dgavcindex with some PAFF streams - this is a known issue

darkwolf
4th May 2010, 18:48
graphedit show me "Microsoft DTV-DVD video decoder" as video renderer for the m2ts.

might be why my directshow wasn't working right.

But still doesn't explain the weird behavior with dss2 using haali media splitter...

I'll install ffdshow.

poisondeathray
4th May 2010, 18:52
on win7 you need clsid's codec tweaker to override MS filters

http://forum.doom9.org/showthread.php?t=146910

darkwolf
4th May 2010, 19:10
Yah i knew how to get them working and override M$ one.

Installed ffdshow & did another test with directshow all working fine now.

Moral of the story don't use M$ codec !!

thanks guys...

henryho_hk
5th May 2010, 02:42
Try also ffvideosource and ffaudiosource.