STPresso

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(STPresso)
 
(minor formatting)
 
(4 intermediate revisions by one user not shown)
Line 2: Line 2:
 
[[Category:Scripts]]
 
[[Category:Scripts]]
 
{{Filter3
 
{{Filter3
| {{Author/Didée}}
+
|{{Author/Didée}}
| 2012/01/15
+
|2012/01/15
|
+
|3=[http://forum.doom9.org/showpost.php?p=1551871&postcount=2 STPresso script]
| Spatial-Temporal Denoisers
+
|4=Spatial-Temporal Denoisers
|
+
|5=
|}}
+
|6=[http://forum.doom9.org/showthread.php?t=163819 Doom9 Thread]
<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 (<u>'''S'''</u>patio<u>-'''T'''</u>emporal <u>'''Press'''</u>d<u>'''o'''</u>wn) 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 content up to 720p because "the spatial part might be a bit too narrow for 1080p encoding (since it's only a 3x3 kernel)".
:content because "the spatial part might be a bit too narrow for 1080p encoding (since it's only a 3x3 kernel)"
+
<br>
 
<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>
+
 
==== Required Filters: ====
+
=== Required Plugins ===
:*[[FluxSmooth]]
+
Latest versions of the following filters are recommended unless stated otherwise.<br>
:*[[MaskTools2]] 2.0a48+
+
*[[FluxSmooth]]
:*[[RemoveGrain v1.0b/RemoveGrain|RemoveGrain]] - part of the [[RemoveGrain v1.0b]] package.
+
*[[MaskTools2]]
 +
*<strike>RemoveGrain - part of the [[RemoveGrain v1.0b]] package.</strike>
 +
*[[RgTools]] - recommended drop-in replacement for RemoveGrain!
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
Line 62: Line 65:
 
== External Links ==
 
== External Links ==
 
- [http://forum.doom9.org/showthread.php?t=163819 Doom9 Forum] - STPresso discussion.<br>
 
- [http://forum.doom9.org/showthread.php?t=163819 Doom9 Forum] - STPresso discussion.<br>
<br>
 
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Spatio-Temporal_Denoisers| External Filters]] &larr;'''
 
'''Back to [[External_filters#Spatio-Temporal_Denoisers| External Filters]] &larr;'''

Latest revision as of 07:11, 22 February 2015

Abstract
Author Didée
Version 2012/01/15
Download STPresso script
Category Spatial-Temporal Denoisers
License
Discussion Doom9 Thread

Contents

[edit] 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)".

[edit] Requirements

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

[edit] Required Plugins

Latest versions of the following filters are recommended unless stated otherwise.


[edit] 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)


[edit] Examples

STPresso with all default values:

AviSource("Blah.avi")
STPresso(limit=3, bias=24, RGmode=4, tthr=12, tlimit=3, tbias=49, back=1)


[edit] Changelog

Version         Date            Changes
2012/01/15 2012/01/15 - Initial release


[edit] External Links

- Doom9 Forum - STPresso discussion.



Back to External Filters

Personal tools