MaxCLLFind
From Avisynth wiki
(Difference between revisions)
(MaxCLLFind: add documentation) |
m (add Deep_color_tools category) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat6|External_filters|Plugins|Plugins_x64|Other_filters|Debugging/Diagnostic_filters|Deep_color_tools}} |
{{Filter3 | {{Filter3 | ||
| [https://github.com/TomArrow Tom Arrow] | | [https://github.com/TomArrow Tom Arrow] |
Revision as of 00:53, 26 June 2020
Abstract | |
---|---|
Author | Tom Arrow |
Version | v0.35 |
Download | MaxCLLFindAVS.v0.35.zip |
Category | Debug filter |
License | ? |
Discussion | Doom9 Thread |
Contents |
Description
PQ HDR Analyzer plugin for AviSynth+, analyzes MaxCLL and MaxFALL and writes that to a text file after closing the application that is calling AviSynth+.
The created textfile's name is "MaxCLLFind_Results0.txt". It will be overwritten if it already exists.
Requirements
Syntax and Parameters
- MaxCLLFind (clip, int "maxFallAlgorithm")
- clip =
- Input clip, must be 16-bit RGB (RGB64).
- clip =
- int maxFallAlgorithm = 0
- The default MaxFALL algorithm uses the SMPTE recommendation of averaging max(R,G,B) across all pixels, meaning the brightest channel of each pixel goes into the average.
- If you want the average of all channels of all pixels (not the official recommendation) instead, do this:
maxFallAlgorithm=1
- This is more for your own curiosity and might lead to playback problems like flickering if used as actual HDR metadata, since it typically leads to typically slightly lower average intensity readings and if the TV bases its own dimming on the official recommendation, it might dim the image when it reaches a higher FALL than your calculated MaxFALL, which will almost certainly happen.
- int maxFallAlgorithm = 0
Examples
clip.MaxCLLFind()
Load in VirtualDub and click Play. After video is finished playing, close VirtualDub. The plugin also writes the Average FALL (frame average light level) into the text file. If you want this result to be accurate, make sure to not load any frame more than once.
If your HDR clip isn't RGB64, convert it first. This plugin only accepts RGB64 input.
For example, let's say you are loading a HDR HEVC YUV file, do this:
clip = clip.ConvertToRGB64(matrix="Rec2020") clip.MaxCLLFind()
External Links
- GitHub - Source code repository.
Back to External Filters ←