masktools
masktools copied to clipboard
MaskTools v2 fork
As mentioned [here](http://www.vapoursynth.com/2012/11/vapoursynth-tasks/#comment-136), mt_merge uses a slightly incorrect formula. Test script: ``` src = mt_lutspa(expr="x 255 *") mask = mt_lut(y=-255) mt_merge(mt_lut(y=-0), src, mask) mt_lutxy(last, src, "x y - abs 75...
``` c=BlankClip(pixel_type="YV12") c.ConvertToY8().mt_merge(c,c.ConvertToY8(), u=3, v=3, luma=true) ``` Outputs "luma is not supported in 422".
Masktools doesn't complain if mt_merge is called with RGB mask and just crashes at runtime. Fix this.
``` signal_expr2( c1.signal_getvalue("avg"), c2.signal_getvalue("med"), "x y + whatever" ).signal_setvalue(last) ``` After 16-bit support is implemented in masktools, add a new signal library based on the same common shared lib. Each...
Actually this should be allowed if chroma planes are in NONE mode but it might be a pain to implement. Anyway we should at least print some reasonable error message...