Santiag
From Avisynth wiki
(Difference between revisions)
(santiag) |
m (minor reformatting, category) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat4|External_filters|Scripts|Restoration_filters|Anti-aliasing}} |
− | + | ||
{{Filter3 | {{Filter3 | ||
| {{Author/cretindesalpes}} | | {{Author/cretindesalpes}} | ||
Line 9: | Line 9: | ||
| 6=[http://forum.doom9.org/showthread.php?p=1393006#post1393006 Doom9 Thread] | | 6=[http://forum.doom9.org/showthread.php?p=1393006#post1393006 Doom9 Thread] | ||
}} | }} | ||
+ | |||
+ | |||
== Description == | == Description == | ||
− | + | Simple anti-aliasing with independent horizontal and vertical strength.<br> | |
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | + | * [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later | |
− | + | * [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | |
− | + | * Supported color formats: [[YV12]] | |
<br> | <br> | ||
==== Required Plugins ==== | ==== Required Plugins ==== | ||
− | + | *[[eedi2]]** | |
− | + | *[[eedi3]]** | |
− | + | *[[MaskTools2]] | |
− | + | *[[nnedi3]] | |
− | + | *[[SangNom2]]** | |
− | + | : **Only required if specifically set by the <tt>{{Template:FuncDef|type}}</tt> parameter. | |
<br> | <br> | ||
Line 146: | Line 148: | ||
*[http://forum.videohelp.com/threads/323127-Improve-the-quality-of-video-animation?p=2011595&viewfull=1#post2011595 VideoHelp Forum] - Original v1.0 santiag script (for reference only). | *[http://forum.videohelp.com/threads/323127-Improve-the-quality-of-video-animation?p=2011595&viewfull=1#post2011595 VideoHelp Forum] - Original v1.0 santiag script (for reference only). | ||
*[http://pastebin.com/Kx8KS3uy Pastebin] - Santiag v1.3 (for reference only) | *[http://pastebin.com/Kx8KS3uy Pastebin] - Santiag v1.3 (for reference only) | ||
− | |||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters#Anti-aliasing|External Filters]] ←''' | '''Back to [[External_filters#Anti-aliasing|External Filters]] ←''' |
Revision as of 18:24, 20 September 2014
Abstract | |
---|---|
Author | cretindesalpes |
Version | v1.4 |
Download | santiag v1.4 script |
Category | Anti-aliasing |
License | |
Discussion | Doom9 Thread |
Contents |
Description
Simple anti-aliasing with independent horizontal and vertical strength.
Requirements
- AviSynth 2.6.0 Alpha5 or later
- Progressive input only
- Supported color formats: YV12
Required Plugins
- eedi2**
- eedi3**
- MaskTools2
- nnedi3
- SangNom2**
- **Only required if specifically set by the type parameter.
Syntax and Parameters
- santiag (clip c, int "strh", int "strv", string "type", int "nns", int "aa", int "aac", int "threads", int "nsize", int "vcheck", int "fw", int "fh", bool "halfres", string "scaler_post", int "maskt")
- clip c =
- Input clip to be processed.
- clip c =
- int strh = 1
- Horizontal anti-aliasing strength.
- Set between 0 and 3, anything over these values there is not much improvement and it generates artifacts.
- int strh = 1
- int strv = 1
- Vertical anti-aliasing strength.
- Set between 0 and 3, anything over these values there is not much improvement and it generates artifacts.
- int strv = 1
- string type = "nnedi3"
- Choose the interpolation method:
- "eedi2"
- "eedi3"
- "nnedi3"
- "sangnom"
- Choose the interpolation method:
- string type = "nnedi3"
- int nns = 1
- Sets the number of neurons in the predictor neural network in nnedi3.
- Possible settings are 0, 1, 2, 3, and 4. 0 is fastest. 4 is slowest, but should give the best quality.
- This is a quality vs speed option; however, differences are usually small.
- int nns = 1
- 0 - 16
- 1 - 32
- 2 - 64
- 3 - 128
- 4 - 256
- This parameter only has an effect when type="nnedi3".
- int aa = 48
- Luma antialiasing strength for SangNom2.
- This parameter only has an effect when type="sangnom".
- int aa = 48
- int aac = 0
- Chroma antialiasing strength for SangNom2.
- This parameter only has an effect when type="sangnom".
- int aac = 0
- int nsize = 6
- Sets the size of the local neighborhood around each pixel that is used by the predictor
- neural network in nnedi3. Possible settings (x_diameter x y_diameter):
- int nsize = 6
- 0 - 8x6
- 1 - 16x6
- 2 - 32x6
- 3 - 48x6
- 4 - 8x4
- 5 - 16x4
- 6 - 32x4
- What setting to use really depends on the amount of aliasing (lost information) in the source. If the source was
- heavily low-pass filtered before interlacing then aliasing will be low and a large x_diameter setting won't be needed, and vice versa.
- This parameter only has an effect when type="nnedi3".
- int vcheck = 2
- Possible values:
- int vcheck = 2
- 0 - no reliability check
- 1 - weak reliability check
- 2 - med reliability check
- 3 - strong reliability check
- This parameter only has an effect when type="eedi3".
- int fw =
- int fh =
- fw (width) and fh (height) allows to set a new output resolution.
- Center shift correction and resampling happen in one call using the internal AviSynth resizer specified by scaler_pos.
- If fw and fh are not specified, they default to the width and height of the input clip.
- int fw =
- bool halfres = false
- True or false.
- bool halfres = false
- string scaler_pos = "Spline36Resize"
- Resize method for mandatory center shift correction (subpixel shifting).
- string scaler_pos = "Spline36Resize"
- "BicubicResize"
- "BilinearResize"
- "BlackmanResize"
- "GaussResize"
- "LanczosResize"
- "Lanczos4Resize"
- "PointResize"
- "SincResize"
- "Spline16Resize"
- "Spline36Resize"
- "Spline64Resize"
- int maskt =
- threshold for mt_binarize. Sensible range is 0 to 255; 0 means full processing, higher values equals less processing.
- If the value of maskt is greater than 0 an edge mask will be created. This mask will be used by eedi3 via the mclip parameter.
- int maskt =
- By default this parameter is not defined and only has an effect when type="eedi3".
Examples
santiag with default settings:
AviSource("Blah.avi") santiag(strh=1, strv=1, type="nnedi3", nns=1, threads=0, nsize=6, halfres=false, scaler_post="Spline36Resize")
Changelog
Version Date Changes
v1.4 11/22/2013 - update to use SangNom2 and updated eedi3 (v0.9.2). v1.3 01/20/2012 - update v1.2 ??/??/???? - ???? v1.1 ??/??/???? - ???? v1.0 04/19/2010 - public release
External Links
- VideoHelp Forum - Original v1.0 santiag script (for reference only).
- Pastebin - Santiag v1.3 (for reference only)
Back to External Filters ←