Clean SC
From Avisynth wiki
Abstract | |
---|---|
Author | tyottoenc |
Version | 2015/05/20 |
Download | Script |
Category | Scene Change Detection |
License | |
Discussion |
Contents |
Description
Clean_SC: Clean Scene Change. This function automatically replaces the frame of the scene change. It copies and replaces the most recent similar frame. Should be used after deinterlacing. If there is no similar frame, it will not be replaced.
See DecombUCF for a function that completes with a clean field.
Note: Documentation was translated from Japanese with online translators, it may be inaccurate.
Requirements
- [x86] AviSynth+ or AviSynth 2.60
- [x64] AviSynth+
- Supported color formats: YV12
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
Syntax and Parameters
- Clean_SC(clip clip, float "b_diff_th", float "b_dup_th", float "d_diff_th", float "d_dup_th", float "luma_boundary", int "show_mode")
- clip =
- Input clip.
- clip =
- float b_diff_th = 20.0
- Scene change threshold for luminance above
luma_boundary
. The smaller the threshold, the more boundaries are considered to be scene changes.
- Scene change threshold for luminance above
- float b_diff_th = 20.0
- float b_dup_th = 5.0
- Maximum allowable difference between the frame just before (and after) scene change and the frame used for overwriting (the frame adjacent to the scene change) for luminance greater than
luma_boundary
. - If this value is small, even a small amount of movement will not be missed and frame replacement will not be performed. However, you will not be able to pick up the noise.
- I recommend 5.0 for normal sources, and 10.0 for Tokyo MX and Sun TV.
- Maximum allowable difference between the frame just before (and after) scene change and the frame used for overwriting (the frame adjacent to the scene change) for luminance greater than
- float b_dup_th = 5.0
- float d_diff_th = 8.0
- float d_dup_th = 1.5
- A threshold value that is applied to luminance less than
luma_boundary
. - The value of
d_dup_th
is usually 1.6, and 2.0 for MX.
- A threshold value that is applied to luminance less than
- float d_diff_th = 8.0
- float luma_boundary = 48.0
- Luminance boundary. Default 48.
- float luma_boundary = 48.0
- int show_mode = 0
- Debug.
- int show_mode = 0
Examples
TODO
Changelog
Version Date Changes
2015/05/20 - Inital release
External Links
Back to External Filters ←