Closed TbtBI closed 4 years ago
The error message is appropriate. In the script I can see mt_expand with parameter chroma="1" which is invalid. Allowed chroma parameters are (http://avisynth.nl/index.php/MaskTools2):
"none" or "ignore" : set u = v = 1. Since 2.2.9-
"process" : set u = v = 3.
"copy" or "copy first" : set u = v = 2.
"copy second" : set u = v = 4.
"copy third" : set u = v = 5.
"copy fourth" : set u = v = 6. Since v2.2.7
"xxx", where xxx is a number : set u = v = -xxx.
Probably either the description or the implementation is wrong
Namely this line:
"xxx", where xxx is a number : set u = v = -xxx.
Correct one:
"xxx", where xxx is a negative number : fills both u and v plane content (and not parameters) to -xxx (same as used for u and v parameters).
I suppose the script didn't want to set u and v plane content to 1. Probably it aimed to not process chroma so those parameters should be: chroma="none" or chroma="ignore". Maybe the script was prepared not for masktools2 but for an earlier implementation?
The script is from 2016. https://forum.doom9.org/showthread.php?p=1782036#post1782036 Here a doom9 user used it and I wanted to try it. But using masktools 2.20@2a0cc98 that error appeared.
Thanks for you time. Regards.
Hi, I have error "mt_expand : filler value parameter should be <=0 for chroma" when I use this script and masktools2 >2.2.12. Avisynth+ 3.4 used. Same behavior for both x86 and x64. Plugins required by the script - GRunT, RT_Stats, CallCmd. Image - https://i.vgy.me/jlS191.png