STPresso

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (link)
m (minor formatting)
Line 11: Line 11:
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:The goal of STPresso is to "dampen the grain just a little, to keep the original look, and make it fast". In other words it
+
The goal of STPresso 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. <br>
:makes a video more compressible without losing detail and original grain structure. STPresso is recommended for 720p  
+
STPresso is recommended for 720p content because "the spatial part might be a bit too narrow for 1080p encoding (since it's only a 3x3 kernel)". Finally, STPresso stands for <u>'''S'''</u>patial <u>'''T'''</u>emporal <u>'''Press'''</u>d<u>'''o'''</u>wn.
:content because "the spatial part might be a bit too narrow for 1080p encoding (since it's only a 3x3 kernel)". Finally,
+
<br>
:STPresso stands for <u>'''S'''</u>patial <u>'''T'''</u>emporal <u>'''Press'''</u>d<u>'''o'''</u>wn.
+
 
<br>
 
<br>
 
 
== Requirements ==
 
== Requirements ==
:- AviSynth 2.5.8 or later
+
* AviSynth 2.5.8 or later
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
+
* [[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]]
+
* Supported color formats: [[YV12]]
 
<br>
 
<br>
 
==== Required Filters: ====
 
==== Required Filters: ====
:*[[FluxSmooth]]
+
*[[FluxSmooth]]
:*[[MaskTools2]] 2.0a48+
+
*[[MaskTools2]] 2.0a48+
:*[[RemoveGrain v1.0b/RemoveGrain|RemoveGrain]] - part of the [[RemoveGrain v1.0b]] package.
+
*[[RemoveGrain v1.0b/RemoveGrain|RemoveGrain]] - part of the [[RemoveGrain v1.0b]] package.
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==

Revision as of 05:17, 19 September 2014

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 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 720p content because "the spatial part might be a bit too narrow for 1080p encoding (since it's only a 3x3 kernel)". Finally, STPresso stands for Spatial Temporal Pressdown.

Requirements

  • AviSynth 2.5.8 or later
  • Progressive input only
  • Supported color formats: YV12


Required Filters:


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