Problem with off-colour jit.qt.grab

Nick Donovan's icon

Can anyone help, I am trying to send the output from my jit.qt.grab (webcam) to a video plane some recorded video is playing in (so that I can mix between them with some sliders) but the output is coming out all purple and pink. I think the sub patch may be creating a problem (oh, I'm using wipex from auvi too in the sub patch). Any help would be appreciated -

Max Patch
Copy patch and select New From Clipboard in Max.

Nick

MIB's icon

well, in your subpatch you have a jit.gl.slab that converts from uyvy to rgb, but your video is NOT in uyvy!! Add @colormode uyvy to your jit.qt.grab and it works just fine...

Nick Donovan's icon

You are, as usual, brilliant, MIB. Thanks