SPresso: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m link
Yakub2.X (talk | contribs)
Organization
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Denoisers|Spatial Denoisers}}
{{FilterCat4|External_filters|Scripts|Denoisers|Spatial_denoisers}}
[[Category:Scripts]]
{{Filter3
{{Filter3
| {{Author/Didée}}
| {{Author/Didée}}
Line 9: Line 8:
|6=[http://forum.doom9.org/showthread.php?p=867316#post867316 Doom9 Thread]
|6=[http://forum.doom9.org/showthread.php?p=867316#post867316 Doom9 Thread]
}}
}}
<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 (<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>
== Requirements ==
* 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
* Supported color formats: [[YV12]]


== Requirements ==
:- 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
:- Supported color formats: [[YV12]]
<br>
<br>
==== Required Filters: ====
==== Required Plugins ====
:*[[MaskTools2]] 2.0a48+
Latest versions of the following filters are recommended unless stated otherwise.<br>
:*[[RemoveGrain v1.0b/RemoveGrain|RemoveGrain]] - part of the [[RemoveGrain v1.0b]] package.
*[[MaskTools2]]
*[[RgTools]] - Replacement of [[RemoveGrain v1.0b]]
 
<br>
<br>
== [[Script variables|Syntax and Parameters]] ==
== [[Script variables|Syntax and Parameters]] ==
Line 51: Line 52:
:::[[RemoveGrain_v1.0b/RemoveGrain/RemoveGrain|RemoveGrain]] mode for the chroma channels (UV) channels; by default the chroma is simply copied from the input clip.
:::[[RemoveGrain_v1.0b/RemoveGrain/RemoveGrain|RemoveGrain]] mode for the chroma channels (UV) channels; by default the chroma is simply copied from the input clip.
:::To process chroma, set {{Template:FuncDef|RGmodeC}}=4 (or 19, 20, or any other compatible mode).
:::To process chroma, set {{Template:FuncDef|RGmodeC}}=4 (or 19, 20, or any other compatible mode).
<br>
<br>
== Examples ==
== Examples ==
Line 56: Line 58:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  SPresso(limit=2, bias=25, RGmode=4, limitC=4, tlimiC=50, RGmodeC=0)
  SPresso(limit=2, bias=25, RGmode=4, limitC=4, tlimiC=50, RGmodeC=0)
<br>
<br>
== Changelog ==
== Changelog ==
Line 63: Line 66:
                                 - Now uses MaskTools2 by default.<br>
                                 - Now uses MaskTools2 by default.<br>
  2005/11/28      2005/11/28      - [http://forum.doom9.org/showpost.php?p=743559 Initial release]
  2005/11/28      2005/11/28      - [http://forum.doom9.org/showpost.php?p=743559 Initial release]
<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>
-----------------------------------------------
-----------------------------------------------
'''Back to [[External_filters#Spatio-Temporal_Denoisers| External Filters]] &larr;'''
'''Back to [[External_filters#Spatio-Temporal_Denoisers| External Filters]] &larr;'''

Latest revision as of 00:35, 25 June 2018

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

Description

SPresso (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

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


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




Back to External Filters