You shouldn't be using a separate variable vi_luma.
Just assign to vi.pixel_type.
Otherwise you will need to provide your own version of GetVideoInfo() - which you haven't done, so Avisynth thinks the output clip is the same type as the input.
__________________
GScript and GRunT - complex Avisynth scripting made easier
|