Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
2nd August 2022, 18:43 | #1 | Link |
Doom9ing since 2001
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 2,002
|
Overlaying color plane mix/max values
I'm trying to overlay color plane min/max/range values, and the script I had which used to work in Avisynth 2.6 and maybe older Avisynth+ versions no longer works because I'm guessing something must've changed in the syntax.
This used to work at some point: Code:
ScriptClip(last, """Subtitle("YMin=" + string(YPlaneMin(threshold=0.5)) + " : YMax=" + string(YPlaneMax(threshold=0.5)) + " : YRange=" + string(YPlaneMinMaxDifference(threshold=0.5)) + "\n" + "YMin=" + string(YPlaneMin(threshold=0.5)/(Pow(2,BitsPerComponent)-Pow(2,BitsPerComponent)*0.08203125)) + " : YMax=" + string(YPlaneMax(threshold=0.5)/(Pow(2,BitsPerComponent)-Pow(2,BitsPerComponent)*0.08203125)) + " : YRange=" + string(YPlaneMinMaxDifference(threshold=0.5)/(Pow(2,BitsPerComponent)-Pow(2,BitsPerComponent)*0.08203125)), align=9, lsp=1)""") |
|
|