Calculate(tracking) the kinetic-amount of a movie

    Feb 09 2019 | 4:07 am
    Absolutely newbie here. First time in front of jitter... I'm working on an Ableton Live project and I'd like to control a MIDI parameter with the value of the "kinetic amount" of a video. (Ideally I'd like to make a M4L plug that can do this with the video that's currently on the timeline.) I tried to give a rapid look to the tutorials but I found only a color tracking thing, while I'm interested into something very near to THIS. In that example I see that the camera (for my purpose I'd use a movie instead) is splitted into 6 sections, and each subpatces ([p section 1], [p section 2], etc.) outputs a single value. That value seems to me the kinetic amount of the corresponding section. Now, is there someone so really kind to direct me how to realize this patch? (Please, remember that I'm very new to Jitter.) Thanks in advance.

    • Feb 12 2019 | 8:14 pm
      "kinetic amount" is usually calculated with a technique called frame-differencing, where each frame is subtracted from the previous and the absolute value is used to indicate the amount of motion between frames. this output can be thresholded and smoothed (using jit.op and jit.slide), and then sent to jit.3m to convert to a floating point number that can be used to control whatever you like:
    • Feb 12 2019 | 8:20 pm
      WOW thank you so much Rob!!! Exactly what I was searching for!