Log in

View Full Version : Deblock_QED help


Daodan
16th February 2006, 10:44
I've seen some topics around the forums about this function from Didee, and I tried to use it on a rather blocky (sometimes) HD source.
I used this settings:
Deblock_QED(quant1=18,aOff1=16,quant2=28,aOff2=11)
(suggested by Didee for HD material somewhere).
The problem is I don't seem to get it working. It sais something like: crop can't be used to shift or enlarge image. I tried putting Deblock before or after crop, and all the same.
Can anybody help me here?

Didée
16th February 2006, 10:59
Yep, the way it's written now, the function only supports input up to 768*576 resolution.

To process HD input, go to this section of the function:

block = stackhorizontal( block,block,block)
block = stackvertical( block,block,block)
# block = stackhorizontal( block,block,block)
# block = stackvertical( block,block,block)
block = block .crop(0,0,ox,oy)
and remove those two "#" comment signs.
Respectively ... in case these two lines don't exist at all, you have to insert them. (Not sure ATM if these lines are present in the version I put online, or only in my local devel version ...)

If you crop before Deblock_QED, you've to crop at least in MOD8 steps. However cropping MOD16 borders is definetly recommended.

Daodan
16th February 2006, 11:18
Thanks. It works fine now. Indeed, the two lines weren't there.