Stab: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
m category |
reformat |
||
| Line 1: | Line 1: | ||
{{FilterCat|External_filters|Scripts|Restoration_filters}} | {{FilterCat|External_filters|Scripts|Restoration_filters}} | ||
{{ | {{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]}} | ||
== 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 '' | 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 == | |||
*AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/files/AviSynth_Alpha_Releases/ later] | |||
*Supported color formats: [[YV12]] | |||
=== | === Required Plugins === | ||
Latest versions of the following filters are recommended unless stated otherwise.<br> | |||
*[[DePan]] | *[[DePan]] | ||
*[[RemoveGrain]] - for Repair | *<strike>Repair - part of the [[RemoveGrain v1.0b]] package.</strike> | ||
*[[RgTools]] - recommended drop-in replacement for Repair! | |||
== | <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. | |||
<br> | |||
<br> | |||
----------------------------------------------- | |||
'''Back to [[External_filters#Stabilization|External Filters]] ←''' | |||
Revision as of 15:52, 28 February 2015
| Abstract | |
|---|---|
| Author | g-force |
| Version | 1.0 |
| Download | Stab.avsi |
| Category | Stabilizers |
| License | |
| Discussion | Doom9 Thread |
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
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
- DePan
Repair - part of the RemoveGrain v1.0b package.- RgTools - recommended drop-in replacement for Repair!
- Stab (clip clp, int "range", int "dxmax", int "dymax", int "mirror")
- clip clp =
- Input clip.
- clip clp =
- int range = 1
- Number of previous (and also next) frames near requested frame to estimate motion.
- int range = 1
- int dxmax = 4
- Limit of x shift.
- int dxmax = 4
- int dymax = 4
- Limit of y shift.
- int dymax = 4
- 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 )
- Fill empty borders with mirrored from frame edge pixels (instead of black):
- int mirror = 0
Examples
Stab with default settings:
AviSource("Blah.avi") Stab(range=1, dxmax=1, dymax=1, mirror=0)
External Links
- Doom9 Forum - Stab discussion.
Back to External Filters ←