Stab

From Avisynth wiki
Jump to: navigation, search
Abstract
Author g-force
Version 1.0
Download Stab.avsi
Category Stabilizers
License
Discussion Doom9 Thread

Contents

Description

Simple Script to remove small high frequency jitter that appears often on old/bad transfers.

An unresolved bug in this filter can produce green tinting in seemingly random output frames. Still a suitable and effective tool for black and white footage: scripts should apply Greyscale() following Stab(). This filter may not be suitable for color footage; apply with caution.

Requirements

  • AviSynth 2.5.8 or greater
  • Supported color formats: YV12

Required Plugins

Latest versions of the following filters are recommended unless stated otherwise.


Syntax and Parameters

Stab (clip clp, int "range", int "dxmax", int "dymax", int "mirror")


clip  clp =
Input clip.


int  range = 1
Number of previous (and also next) frames near requested frame to estimate motion.


int  dxmax = 4
Limit of x shift.


int  dymax = 4
Limit of y shift.


int  mirror = 0
Fill empty borders with mirrored from frame edge pixels (instead of black):
  • 0 - no mirror (default)
  • 1 - top
  • 2 - bottom
  • 4 - left
  • 8 - right
  • sum any of above - combination (15 - all )


Examples

Stab with default settings:

AviSource("Blah.avi")
Stab(range=1, dxmax=1, dymax=1, mirror=0)


External Links




Back to External Filters

Personal tools