Srestore

From Avisynth

Jump to: navigation, search
Abstract
Author MOmonster
Version 2.63
Download srestore.avs
Category Deblenders
Requirements
  • YV12
License

srestore(clip source, float frate, int dmode, omode, float blocks, int mthresh, int bthresh, bool chroma, int cache, float rr, clip dclip)


Contents

[edit] Abstract

Srestore is the replacement function for mrestore, Cdeblend, FixBlendIVTC and DupHq from the R_pack. It is an AviSynth script function that uses conditional frame evaluation for the output calculation. Generally it was written to undo norm-conversions with blends, but the last version can be useful for decimation ratios between 5 and 1 using the frate parameter.

[edit] Requires Filters

  • MaskTools2
  • TIVTC Version 1.04 or higher (only for cache>0, not default)
  • RemoveGrain (only for double-blend-removal, not default)
  • Average (only for double-blend-removal, not default)

[edit] Examples

 bobbed (or progressive) source
        srestore()
        ------
        or:
        ord = last.getparity() ? 1 : 0
        leakkernelbob(ord,4,true,true)
        srestore(dclip=last.crop(8,16,-8,-24))

        ------
        or:
        d = last.bob(-0.2,0.6).reduceflicker(strength=1)
        tdeint(mode=1)		      		#or for example yadif(mode=1)
        srestore(dmode=-4,dclip=d)

[edit] External Links

Personal tools