STPresso

From Avisynth wiki
Jump to: navigation, search
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.


Syntax and Parameters

STPresso (clip clp, int "limit", int "bias", int "RGmode", int "tthr", int "tlimit", int "tbias", int "back")


clip  clp =
Input clip.


int  limit = 3
Spatial limit: the spatial part won't change a pixel more than this.


int  bias = 24
The percentage of the spatial filter that will apply.


int  RGmode = 4
The spatial filter is RemoveGrain, this is its mode.


int  tthr = 12
Temporal threshold for FluxSmooth; Can be set "a good bit bigger" than usually.


int  tlimit = 3
The temporal filter won't change a pixel more than this.


int  tbias = 49
The percentage of the temporal filter that will apply.


int  back = 1
After all changes have been calculated, reduce all pixel changes by this value. (Shift "back" towards original value)


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

Personal tools