Fading camera feed with movie/pictures

ratatatata's icon

I'm looking for some help into being able to fade between a camera feed with openGL effects applied to it similar to Masato Tsutsui's patch and a movie/image file. I've tried implementing the video processing system replacing the camera input with the output of the effected camera feed but I'm struggling get both feeds into one window. I need to find out where the camera feed output is coming from and feed that into the fade system.

any help would be appreciated.

masato-3-with-maschine.maxpat
Max Patch
Tobias Rosenberger's icon
Max Patch
Copy patch and select New From Clipboard in Max.

best capture the camera part with jit.gl.node so that you have it as a texture, which you can xfade with the moviefile then. the xfadings needs to be in the same rendercontext as the captured texture.
see attached: