SPresso

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (link)
m (minor formatting)
Line 11: Line 11:
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:SPresso which stands for <u>'''S'''</u>patial <u>'''Press'''</u>d<u>'''o'''</u>wn is a purely spatial script designed to achieve better compressibility without doing  
+
SPresso which stands for <u>'''S'''</u>patial <u>'''Press'''</u>d<u>'''o'''</u>wn is a purely spatial script designed to achieve better compressibility without doing too much harm to the original detail.<br>
:too much harm to the original detail. SPresso was not designed for 1080p processing/encoding; due to its 3x3 kernel it works  
+
SPresso was not designed for 1080p processing/encoding; due to its 3x3 kernel it works better on standard definition (SD) content like DVDs and possibly on 720p.<br>
:better on standard definition (SD) content like DVDs and possibly on 720p. On noisy DVD/SD sources, compression gain usually
+
On noisy DVD/SD sources, compression gain usually is from 2% to 3% (light settings -> changes almost invisible) up to 10 to 12% (stronger settings -> slight, gentle softening, not very obvious).
:is from 2% to 3% (light settings -> changes almost invisible) up to 10 to 12% (stronger settings -> slight, gentle softening, not very obvious).
+
<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>
 
<br>
==== Required Filters: ====
+
==== Required Plugins: ====
:*[[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]] ==
Line 65: Line 64:
 
<br>
 
<br>
 
== External Links ==
 
== External Links ==
- [http://forum.doom9.org/showthread.php?p=867316#post867316 Doom9 Forum] - SPresso discussion.<br>
+
*[http://forum.doom9.org/showthread.php?p=867316#post867316 Doom9 Forum] - SPresso 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;'''

Revision as of 06:25, 20 September 2014

Abstract
Author Didée
Version 2006/09/04
Download SPresso script
Category Spatial-Temporal Denoisers
License
Discussion Doom9 Thread


Contents

Description

SPresso which stands for Spatial Pressdown is a purely spatial script designed to achieve better compressibility without doing too much harm to the original detail.
SPresso was not designed for 1080p processing/encoding; due to its 3x3 kernel it works better on standard definition (SD) content like DVDs and possibly on 720p.
On noisy DVD/SD sources, compression gain usually is from 2% to 3% (light settings -> changes almost invisible) up to 10 to 12% (stronger settings -> slight, gentle softening, not very obvious).

Requirements

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


Required Plugins:


Syntax and Parameters

SPresso (clip clp, int "limit", int "bias", int "RGmode", int "limitC", int "biasC", int "RGmodeC")


clip  clp =
Input clip.


int  limit = 2
Limit the maximum change for any given pixel.


int  bias = 25
Something like "aggessivity": '20' is a very light setting, '33' is already quite strong.


int  RGmode = 4
RemoveGrain mode for the luma (Y) channel. The default of "4" is the best in most cases.
Mode 19 and 20 might work better in other cases; if set to 0, luma will be copied from the input clip.


int  limitC = 4
Same as limit but for chroma.


int  biasC = 50
Same as bias but for chroma.


int  RGmodeC = 0
RemoveGrain mode for the chroma channels (UV) channels; by default the chroma is simply copied from the input clip.
To process chroma, set RGmodeC=4 (or 19, 20, or any other compatible mode).


Examples

SPresso with all default values:

AviSource("Blah.avi")
SPresso(limit=2, bias=25, RGmode=4, limitC=4, tlimiC=50, RGmodeC=0)


Changelog

Version         Date            Changes
2006/09/04 2006/09/04 - Corrected a BIG bug
2006/08/24 2006/08/24 - Added chroma processing - Now uses MaskTools2 by default.
2005/11/28 2005/11/28 - Initial release


External Links




Back to External Filters

Personal tools