Stab: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{FilterCat4|External_filters|Scripts|Restoration_filters|Stabilizers}} | ||
{{ | {{Filter3 | ||
|g-force | |g-force | ||
|1.0 | |1.0 | ||
|[http://avisynth. | |[http://avisynth.nl/images/Stab.avsi Stab.avsi] | ||
|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 == | |||
* [x86]: [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | |||
* [x64]: [[AviSynth+]] | |||
*Supported color formats: [[YV12]] | |||
=== | === Required Plugins === | ||
Latest versions of the following filters are recommended unless stated otherwise.<br> | |||
*[[DePan]] | *[[DePan]] | ||
*[[RemoveGrain]] - for Repair | *[[DePanEstimate]] | ||
*<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. | |||
*[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]] ←''' | |||
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 |
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
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Supported color formats: YV12
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
- DePan
- DePanEstimate
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.
- VideoHelp Forum - Stab modification by Dogway.
Back to External Filters ←