STPresso
From Avisynth wiki
Abstract | |
---|---|
Author | Didée |
Version | 2012/01/15 |
Download | STPresso script |
Category | Spatial-Temporal Denoisers |
License | |
Discussion | Doom9 Thread |
Contents |
Description
The goal of STPresso (Spatio-Temporal Pressdown) is to "dampen the grain just a little, to keep the original look, and make it fast". In other words it makes a video more compressible without losing detail and original grain structure.
STPresso is recommended for content up to 720p because "the spatial part might be a bit too narrow for 1080p encoding (since it's only a 3x3 kernel)".
Requirements
- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
- FluxSmooth
- MaskTools2
RemoveGrain - part of the RemoveGrain v1.0b package.- RgTools - recommended drop-in replacement for RemoveGrain!
Syntax and Parameters
- STPresso (clip clp, int "limit", int "bias", int "RGmode", int "tthr", int "tlimit", int "tbias", int "back")
- clip clp =
- Input clip.
- clip clp =
- int limit = 3
- Spatial limit: the spatial part won't change a pixel more than this.
- int limit = 3
- int bias = 24
- The percentage of the spatial filter that will apply.
- int bias = 24
- int RGmode = 4
- The spatial filter is RemoveGrain, this is its mode.
- int RGmode = 4
- int tthr = 12
- Temporal threshold for FluxSmooth; Can be set "a good bit bigger" than usually.
- int tthr = 12
- int tlimit = 3
- The temporal filter won't change a pixel more than this.
- int tlimit = 3
- int tbias = 49
- The percentage of the temporal filter that will apply.
- int tbias = 49
- int back = 1
- After all changes have been calculated, reduce all pixel changes by this value. (Shift "back" towards original value)
- int back = 1
Examples
STPresso with all default values:
AviSource("Blah.avi") STPresso(limit=3, bias=24, RGmode=4, tthr=12, tlimit=3, tbias=49, back=1)
Changelog
Version Date Changes
2012/01/15 2012/01/15 - Initial release
External Links
- Doom9 Forum - STPresso discussion.
Back to External Filters ←