Lag related to jit.record


    Jan 11 2019 | 4:05 pm
    Hi there !
    I created a basic video sampler that grabs video from various inputs (essentially cameras) in 1080p and allows me to play later the recorded samples. In parallel, there is always video monitoring of the camera and i can crossfade between my samples and my live monitoring.
    Although it works quite well, i've noticed whenever I press the stop button of the recorder (which means, i guess, max writes the movie file), I get a lag in my video output, like a stutter. It seems to affect the whole rendering process.
    Do you know if it's a normal thing linked to the way max treats video recording itself, or do I need to set specific parameters to avoid that ?
    Thank you a lot for that,

    • Jan 11 2019 | 5:10 pm
      probably unavoidable. My suggestion would be to run a separate process (meaning separate instance of Max) for the recording. you can use syphon or spout to pass frames, and udpsend/receive to communicate between the instances. basic example below:
      SENDER patch
      RECEIVER patch
    • Jan 11 2019 | 5:59 pm
      Thank you for the suggestion Rob !
      I'll try to sort this out asap and I'll get back to you.