Log in

View Full Version : Deblock help with Deblock_QED :3


Gaby83
8th November 2010, 13:13
Hi Doom9 guys and girls (if there is any girl), today I came with a very very blocky video that I would like repair if posible, but, I cant figure out how to set Deblock_QED settings.
I'm not lazy, just dumb, I been trying for days and I with no good results, so, I just hope if can you help me to set it right or maybe give me some advices (but please dont say "throw to trash that shitty video") any help will be much apreciate it.

Thank you very much, and sorry about my english, its not my first language :3

Oh yeah, this are the settings I'm using:
Deblock_QED(quant1=30,quant2=24,aOff1=8,bOff1=10,aOff2=8,bOff2=10)

But at this point, I've tried so much that I dont really know what am I doing, xD well, I just need help :3

Here's a cut of the source video:
(1mb) http://www.mediafire.com/?asdexp3cgm6grww

:thanks:

Extra info xD:
I use divx and/or xvid.
Encode speed doesn't matter at all.

Usedocne
8th November 2010, 16:41
Try updating your Deblock_QED script (http://forum.doom9.org/showthread.php?p=1402777#post1402777). The earlier version was a bit too weak at deblocking - see here (http://forum.doom9.org/showthread.php?p=1450867#post1450867).

Didée
8th November 2010, 17:14
Wrong filter for this crappy mess. You don't use razorblades to fell a tree.

Try ...

Deblock(50)

or

FFt3DFilter(sigma=16,sigma2=6,sigma3=3,sigma4=1,bw=32,bh=32,ow=16,oh=16,bt=1,plane=4)

or (the favorite!)

bicubicresize(width/2,height/2).bicubicresize(width,height,1,0)


Blur as much as you only can. And then blur even more. On top of that, use more blurring.

When done, delete everything.

Gaby83
9th November 2010, 02:12
Ouch, too much blur hahahaha, thank you very much both of you, I think I'll use the favorite bicubicresize... its blury but better than blocky xD Thank you Didée :)

Usedocne
12th November 2010, 22:11
MCTemporalDenoise(settings="high") (http://forum.doom9.org/showthread.php?p=1162204#post1162204) gives quite a good result.

Hagbard23
18th November 2010, 17:44
Wrong filter for this crappy mess. You don't use razorblades to fell a tree.

Try ...

Deblock(50)

or

FFt3DFilter(sigma=16,sigma2=6,sigma3=3,sigma4=1,bw=32,bh=32,ow=16,oh=16,bt=1,plane=4)

or (the favorite!)

bicubicresize(width/2,height/2).bicubicresize(width,height,1,0)


Blur as much as you only can. And then blur even more. On top of that, use more blurring.

When done, delete everything.

He he...nice ...

@Gaby83: Better forget the Bicubic Thing and use the Deblock(50) option or FFT3DFilter/GPU...

P.S.: Huhhh...sample content seems horrible... ;)

bcn_246
1st December 2010, 02:51
Have you tried using the MSU SmartDeblocking filter? Personally I have found it to be very good at dealing with blocking, especially in nasty cases.

It is a VirtualDub filter but you can run it from AvisYnth...

Get the filter here (http://compression.ru/video/deblocking/src/msu_smartdeblock.zip) then extract the 'MSU_SmartDeblock_0.8.vdf' file to your AviSynth plugins directory. Then save the following code as 'MSUSmartDeBlock.avsi" (or something else, just needs to end in .avsi to auto-load), again to your plug-ins directory. (You might need to edit the path of the filter). You can then use 'MSUSmartDeblocking()' im your script.


function MSUSmartDeblocking(clip clp, bool "block_preprocessor", bool "preprocess_unaligned", bool "preprocess_chroma", bool "process_chroma")
{
LoadVirtualDubPlugin("C:\Program Files\AviSynth 2.5\plugins\MSU_SmartDeblock_0.8.vdf","MSUSmartDeblocking", 0)
return clp.ConvertToRGB32().MSUSmartDeblocking(
\ default(block_preprocessor,true) ? 1:0,
\ default(preprocess_unaligned,true) ? 1:0,
\ default(preprocess_chroma,true) ? 1:0,
\ default(block_preprocessor,true) ? 1:0)
\ ConvertToYV12()
}


You might also want to consider using AddGrain (or GradFun2DB) to mask some of de-blocked pictures softness. Re-sharpening it is a poor idea, it will likely just re-block the image.

- Ben