LinesLumaDiff
From Avisynth wiki
Abstract | |
---|---|
Author | Asd-g |
Version | v2.0.0 |
Download | LinesLumaDiff |
Category | Debug filter |
License | GPLv2 |
Discussion |
Contents |
Description
Checks if luma difference between lines are below or above given threshold and writes frame number in text file.
Requirements
- [x86/x64]: AviSynth 3.6 or greater is required in order to use this filter.
- Supported color formats: all planar YUV formats
Syntax and Parameters
- LinesLumaDiff (clip, string "output", int "left", int "top", int "right", int "bottom", float "tl", float "tt", float "tr", float "tb")
- clip =
- A clip to process. It must in YUV planar format.
- clip =
- string output =
- The path of the txt file with frames.
- string output =
- int left = 5
- int top = 5
- int right = 5
- int bottom = 5
- How many lines on each side will be checked.
- Set one (or more) of the sides to 0 to not process it.
- Must not be negative.
- int left = 5
- float tl = 0.14
- float tt = 0.14
- float tr = 0.14
- float tb = 0.14
- Threshold for each side.
- If the luma difference between the current and the neighbour line is above the threshold, frame property "_LinesDiff" with the difference is set. Optionally the frame number could be written in file by specifying "output".
- Must be between 0.0 and 1.0.
- float tl = 0.14
Examples
Check the difference between the first and second row:
AviSource("Blah.avi") LinesLumaDiff(left=0, top=1, right=0, bottom=0) propShow() # if the difference is above the threshold there will be frame property "_LinesDiff"
Changelog
Version Date Changes
v2.0.0 2021/08/22 - Set frame property `_LinesDiff`. - Changed parameter name `frames_file` to `output`.
v1.0.0 2021/03/30 - Initial release
External Links
- GitHub - Source code repository.
Back to External Filters ←