View Single Post
Old 11-06-2018, 04:51 AM   #15
wwwmaze
Human being with feelings
 
Join Date: Oct 2009
Posts: 115
Default

This one lets you specify RGBA color-space and set inputs manually (set both to -1 for next and second next video track):
Code:
//@param1:blend 'blend' 0.5 0 1 0.5 0.01
//@param2:mode 'blend mode' 0 0 19 0 1
//@param4:sub 'subtraction' 0 0 1 0 1
//@param6:in1 'in 1 (-1=next video track)' -1 -1 50 0 1
//@param7:in2 'in 2 (-1=second next)' -1 -1 50 0 1
//@param9:csp 'colorspace (1=RGBA)' 0 0 1 0 1

csp ? colorspace='RGBA';
gfx_blit(in1==-1 ? input_track(0) : in1);
gfx_a=blend*(sub?-1:1);
gfx_mode=sub?1:mode;
gfx_blit(in2==-1 ? input_track(1) : in2);
wwwmaze is offline   Reply With Quote