View Single Post
Old 11-06-2018, 03:29 AM   #7
wwwmaze
Human being with feelings
 
Join Date: Oct 2009
Posts: 99
Default

Quote:
Originally Posted by Eliseat View Post
color spaces
Thx for that and for testing. Inserting colorspace='RGBA' helps:
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

// blends the next 2 video tracks
colorspace='RGBA';
gfx_blit(input_track(0));
gfx_a=blend*(sub?-1:1);
gfx_mode=sub?1:mode;
gfx_blit(input_track(1));

Though I'm not sure if I'm really supposed to change that, according to the docs:
Quote:
colorspace: current rendering colorspace, e.g. 'RGBA', 'YV12', or 'YUY2'. you can override this with extreme caution.
Quote:
Originally Posted by Eliseat View Post
It also does not blend drawn colors from other tracks. (Tried to blend in "solid color" from reaper blog.) Only video signals work.
Hmm this seems to work here.
wwwmaze is offline   Reply With Quote