In which way does it "not work"? Do you have any error messages?
I suppose it doesn't know color constants?
Code:
---------------------------
VirtualDub Error
---------------------------
Avisynth open failure:
I don't know what 'color_black' means.
(H:\Video\black-white.avs, line 1)
---------------------------
OK
---------------------------
That should be fixable by providing a color names import scriptlet (
colors_rgb.avsi in plugins+ / plugins64+).
My former AviSynth 2.56 installation seems to have provided this file in AviSynth 2.5\plugins already.
But the
color constants known in legacy AviSynth 2.55+ are RGB colors, not YUV.
__
Actually, nope ... sorry. The file "colors_rgb.avsi" does exist in all my plugin directories for all AviSynth flavours, but is not auto-loaded. I have to Import() it explicitly to make it work.