Eliminating video lag and stuttering in patch using Jitter

thekalousound's icon

Sorry, last post didn't work.

Hello all,

I am quite a novice using Max and even more so Jitter objects. I am trying to trigger short video clips using a MIDI controller, and the MIDI process seems to work fine but the videos really lag and stutter.

As I say, they are short clips (around 2 seconds) and in .mov format. While they are high quality (1280×720) due to the length the files are relatively small, around 2mb. I have tried making the files even smaller and decreasing the video quality, but this seems to have no effect on the latency and stuttering.

I think maybe the delay is due to jitter loading the videos straight from the hard drive and that maybe a buffer would be the way to go, but my patch is already stretching my knowledge of Max, and I’m sure someone else has come up against this problem before, so any help would be of use, especially code.

If your interested, this is a page about the project this patch will be for http://www.kalou.co.uk/busk.html

Many thanks

pm's icon

Have a look on Video processing part 4, which you can find under the "Learn" tab on this site.

The article proposes a way to load in ram a small portion of your movie, an operation that can solve your loading latency problem.

Otherwise, have a look on Vade's Jitter optimization and Apple Intermediate Codec, which is very efficient.

thekalousound's icon

Okay, thank you. I will look into both of those suggestions.

I did actually see the Video Processing page, but wasn't sure how to implement it into my patch. It's probably just a matter of reading slower.