Mixing Hap codec movies with jit.op


    Apr 05 2018 | 2:46 pm
    Hi, I'm experimenting with colour and video. My patch, below was set up to mix standard .mov files using the filters in jit.op. For higher quality I want to use HapQ or HapQ Alpha. I know now that I can't use a playlist or 64-bit and that's why the movies are not playing here. What I don't know is how to recreate this so I can still mix and the hap movies will play. Thanks for any help - especially from someone who knows colour...

    • Apr 05 2018 | 4:58 pm
      you need to switch to texture processing via gl.slab and gl.pix. you must replace all your matrix operators with texture operators. search the file browser for jit.gl.slab-op.maxpat and cc.scalebias.jxs-help.maxpat . search the reference browser for Video And Graphics Tutorials.
      the performance improvements you will get after making this switch will be huge and well worth the effort (make sure you get rid of your pwindows, or convert them to shared contexts preview windows).
    • Apr 05 2018 | 10:14 pm
      Thanks Rob! I'm on it.
    • Apr 11 2018 | 8:21 pm
      Hi Rob, After a few days of work on this: I can get jit.gl.slab-op.maxpat to work fine with small .mp4 vids but not with hap. I can get one hap movie to run by changing the code from: jit.qt.movie 320 240 to: jit.movie @engine hap @output_texture 1 The actual movies are 1280 x 720 and when I add that it doesn't work. But then max console continuously spits out this error message: jit.gl.fbo_texture draw texture to FBO: GL Error: Invalid operation
      Here is the patch now with jit.gl.slab-op.maxpat added and a clock to change timing of various op filters.
      It seems that a lot of these Video and Graphics Tutorials are written for Max 5, so they don't help much.
      Thanks,
      Bob
    • Apr 11 2018 | 9:38 pm
      not sure what you're trying to do in the patch. maybe start here:
      the video and graphics tutorials were written for Max 7, not sure which ones you're referring to: https://cycling74.com/articles/new-video-and-graphics-tutorials-in-max-7