DeBlock

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Requirements)
(Syntax and Parameters)
Line 33: Line 33:
 
::{{Par2|bOffset|int|0}}
 
::{{Par2|bOffset|int|0}}
 
:::Another quant modifier, for block detecting and for deblocking's strength. There again, the higher, the stronger.
 
:::Another quant modifier, for block detecting and for deblocking's strength. There again, the higher, the stronger.
 +
 +
::{{Par2|planes|string|"yuv"}}
 +
:::Specifies which planes to process between y, u and v.
 
<br>
 
<br>
 
:*If {{FuncDef3|quant}} + {{FuncDef3|aOffset}} is less than 16, the filter does nothing at all. The same goes for {{FuncDef3|quant}} + {{FuncDef3|bOffset}}.
 
:*If {{FuncDef3|quant}} + {{FuncDef3|aOffset}} is less than 16, the filter does nothing at all. The same goes for {{FuncDef3|quant}} + {{FuncDef3|bOffset}}.

Revision as of 18:44, 6 June 2018

Abstract
Author Manao,Fizick
Version 1.2
Download deblock12.zip
Category Deblocker
License GPLv2
Discussion Doom9 Thread

Official documentation: http://avisynth.org.ru/mvtools/deblock.html

Contents

Description

It performs deblocking on the picture, using the deblocking filter of H264. It's useful to deblock the result of MVCompensate of MVTools plugin, etc.


Requirements

  • AviSynth 2.6.0 or later
  • Supported color formats: All planar formats


Syntax and Parameters

Deblock (clip, int "quant", int "aOffset", int "bOffset")


clip   =
Input clip.
int  quant = 25
The higher the quant, the stronger the deblocking. Range is from 0 to 60.
int  aOffset = 0
Quant modifier to the blocking detector threshold. Setting it higher means than more edges will deblocked.
int  bOffset = 0
Another quant modifier, for block detecting and for deblocking's strength. There again, the higher, the stronger.
string  planes = "yuv"
Specifies which planes to process between y, u and v.


  • If quant + aOffset is less than 16, the filter does nothing at all. The same goes for quant + bOffset.


Examples

Deblock with default settings:

MPEG2Source("Blocky.dv2")
Deblock(quant=25, aOffset=0, bOffset=0)


To deblock the motion compensation (MVTools plugin):

vectors = source.MVAnalyse(isb = false, lambda = 1000)
compensation = source.MVCompensate(vectors, mode = 0)
compensation.Deblock()


External Links




Back to External Filters


Personal tools