Log in

View Full Version : Good way of combating blocking around moving edges (what filter?).


nikosvault
5th December 2009, 23:15
Well the title explains it all.

I’m encoding a number of sports DVD's and this is the final problem I have.

Here is a sample:

http://www.megaupload.com/?d=TA4VQZU5

MadRat
6th December 2009, 10:57
I didn't really notice any blocking but it does look like there's some like... really bad halos on it. I wonder if that's ghosting...
Anyway I'm afraid I couldn't get rid of it with everything I tried.

Revgen
6th December 2009, 11:47
Are these DVD's interlaced or progressive?

The AVI is progressive. Those may be deinterlacing artifacts. You could try an anti-aliasing filter or function.

nikosvault
6th December 2009, 13:24
They are interlaced. Most of these DVD’s are from a switz company called Pontel. PAL versions of American sports events. I used MCBOB and lowered the motion thresholds to eliminate some aliasing. The edge enhancement is impossible to remove as far as I’m concerned, but I do see some unwanted blocking/aliasing/ or whatever you want to call it, around moving players (especially Steve Kerr).

loadplugin("C:\AviSynth 2.5\plugins\DirectShowSource.dll")
loadplugin("C:\AviSynth 2.5\plugins\RepairSSE2.dll")
loadplugin("C:\AviSynth 2.5\plugins\mvtools.dll")
loadplugin("C:\AviSynth 2.5\plugins\medianblur.dll")
loadplugin("C:\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")
loadplugin("C:\AviSynth 2.5\plugins\nnedi.dll")
loadplugin("C:\AviSynth 2.5\plugins\mt_masktools-26.dll")
loadplugin("C:\AviSynth 2.5\plugins\ColorMatrix.dll")
import("C:\AviSynth 2.5\plugins\LimitedSharpenFaster.avsi")
import("C:\AviSynth 2.5\plugins\mcbob.avs")
DirectShowSource("C:\AviSynth 2.5\plugins\1.mpg")
converttoYv12(interlaced=true)
ColorMatrix(interlaced=true)
AssumeTFF()
MCBob()
lanczos4resize(768,576)
Crop(12,12,-12,-6)
LimitedSharpenfaster(ss_x=1.0,ss_y=1.0,Smode=3,strength=40)
Lanczos4Resize(960, 720)
AddBorders(160,0,160,0)


Here is the original VOB clip via a straight mpg copy from Avidemux.

http://www.megaupload.com/?d=EPQHSVDE

Revgen
8th December 2009, 00:49
What you have there is ringing/haloing. It's pretty heavy too.

I tried HQDering and got some noticeable improvement, but it doesn't entirely eliminate them.

You can get later versions of HQDering here. http://forum.doom9.org/showthread.php?t=129774