Stab

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (category)
m (Requirements)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Scripts|Restoration_filters}}
+
{{FilterCat4|External_filters|Scripts|Restoration_filters|Stabilizers}}
{{Filter
+
{{Filter3
 
|g-force
 
|g-force
 
|1.0
 
|1.0
Line 6: Line 6:
 
|Stabilizers
 
|Stabilizers
 
|
 
|
|}}
+
|6=[http://forum.doom9.org/showthread.php?t=143380 Doom9 Thread]}}
 
+
{{Template:FuncDef|Stab( )}}
+
 
+
== Abstract ==
+
  
 +
== Description ==
 
Simple Script to remove small high frequency jitter that appears often on old/bad transfers.
 
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.
+
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.
 +
<br>
 +
<br>
 +
== Requirements ==
 +
* [x86]: [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6]
 +
* [x64]: [[AviSynth+]]
 +
*Supported color formats: [[YV12]]
  
=== Requires Filters ===
+
=== Required Plugins ===
 +
Latest versions of the following filters are recommended unless stated otherwise.<br>
 
*[[DePan]]
 
*[[DePan]]
*[[RemoveGrain]] - for Repair.dll
+
*[[DePanEstimate]]
 
+
*<strike>Repair - part of the [[RemoveGrain v1.0b]] package.</strike>
== Description ==
+
*[[RgTools]] - recommended drop-in replacement for Repair!
None yet.
+
<br>
  
 +
== [[Script variables|Syntax and Parameters]] ==
 +
:{{Template:FuncDef|Stab (clip clp, int "range", int "dxmax", int "dymax", int "mirror")}}
 +
<br>
 +
::{{Par2|clp|clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2|range|int|1}}
 +
:::Number of previous (and also next) frames near requested frame to estimate motion.
 +
<br>
 +
::{{Par2|dxmax|int|4}}
 +
:::Limit of x shift.
 +
<br>
 +
::{{Par2|dymax|int|4}}
 +
:::Limit of y shift.
 +
<br>
 +
::{{Par2|mirror|int|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 )
 +
<br>
 
== Examples ==
 
== Examples ==
 
+
Stab with default settings:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  Stab()
+
  Stab(range=1, dxmax=1, dymax=1, mirror=0)
 
+
<br>
== Links ==
+
==External Links ==
 +
*[http://forum.doom9.org/showthread.php?t=143380 Doom9 Forum] - Stab discussion.
 +
*[http://forum.videohelp.com/threads/371336-Stabilization-Tools-Pack-v1-8?p=2386195&viewfull=1#post2386195 VideoHelp Forum] - Stab modification by Dogway.
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Stabilization|External Filters]] &larr;'''

Latest revision as of 18:08, 5 May 2020

Abstract
Author g-force
Version 1.0
Download Stab.avsi
Category Stabilizers
License
Discussion Doom9 Thread

Contents

[edit] 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.

[edit] Requirements

[edit] Required Plugins

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


[edit] 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 )


[edit] Examples

Stab with default settings:

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


[edit] External Links




Back to External Filters

Personal tools