RemoveGrain v1.0b/Repair/TemporalRepair

From Avisynth wiki
Revision as of 19:51, 7 May 2019 by Pinterf (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Repair



TemporalRepair is a temporal filter, primarily useful for restoring static (non moving) details of spatial filters like RemoveGrain.

Preliminary: as of 2019 this filter is being ported to Avs+ color spaces and will support both x86 and x64 platforms. The filter will possibly appear in RgTools 0.98


- Supported color formats: YUY2, YV12

Syntax and Parameters

TemporalRepair (clip, clip, int "mode", int "smooth", bool "grey", bool "planar")

clip   =
Mandatory input clip to be repaired. Usually the processed clip.

clip   =
Mandatory input clip. Usually the original unprocessed clip.

int  mode = 2
  • 0 : default
  • 1 :
  • 2 : restores less than mode 0,1,3 and is therefore the safest mode for deinterlacing and gives fairly good compression results.
  • 3 : suitable for deinterlacing and should be chosen, if one aims to preserve the maximum amount of detail possible.
  • 4 :

int  smooth = 0
  • 0 : default
  • 1 :
  • 2 : intended to aid in deinterlacing
  • 3 : intended to aid in deinterlacing

bool  grey = false
If true chroma will not be processed nor copied.

bool  planar = false
See SSETools Interleaved2Planar.


TemporalRepair with default values:

Unprocessed = AviSource("Blah.avi")
Processed   = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)
TemporalRepair(Processed, Unprocessed, mode=2, smooth=0, grey=false, planar=false)


Back to Repair

Personal tools