jit.movie alternatives to cutting to black (without using jit.brcosa)
Hi all!
I am working on a piece where I need quick control of cutting to black and then returning to the video (at normal brightness) ... At the moment I am doing this by using the texture alternative to jit.brcosa (jit.gl.pix @gen brcosa) and sending bangs to either a 0. or 1. message going to the brightness attribute of the brcosa - I'm getting this really strange problem though where after working in the patch for a while, the video goes really bright (looks overexposed) when the brightness attribute receives the 1. message. I don't really get this because I understood '1.' to be the normal level of brightness for a video, so I feel like I'm missing how it can seemingly go above that when there's no number above 1. in the patch being sent to brcosa. There are no other video effects or manipulations going on.
I am looking for an alternative so that I can cut back and forth to black without disturbing the flow of the video (which includes the option to read a video file into jit.movie without jit.world displaying the first visible frame of the video, and without having to add a single black frame to the beginning of every video file) - are there any elegant solutions to this OR a fix to the brcosa problem?
Thanks in advance!
Matt
jit.brcosa seems a bit an "overkill" to me for the task you're trying to accomplish. If all you need is pure black, try something like this:
(port it to jit.gl.pix instead of jit.gen if you need to work on textures)
Hey Matteo! Thanks for this - seems like a really nice solution (perfect for this project). I'm still relatively beginner with Max and Jitter. Can you explain what you mean by port it to jit.gl.pix? I don't think I know how to do this and would really appreciate if you could explain (if that's not too much hassle)
Yep, that's what I did in the end. Lifesaver, Matteo! Thanks a lot