some tips on jitter
although the tutotials are well done, after a few days patching in jitter, i have the feeling i need to get a few tips, starting with that one:
is jit.qt.movie the best solution to build a midi triggered video patch ? i can't get rid of a (short though) latency on the start of my video loops when i switch from a video to another with midi notes.
would you have a tip for me ? (i've read the Vade article about video optimization)
Play the videos from a ramdisc zb(http://boredzo.org/make-ram-disk/)
pe
thanks ! that's a good idea
or splice all your videos into one big one and jump around using frame commands. no lag ever.
yeah , it seems to be the best way to do it.
Just checking: You should be loading your movies before you try to show them, rather than at the time you're trying to show them.
Making one big movie, reading it in, and looping the desired segment is one pretty good way to do that.
Or if you have multiple short movies you want to show as loops, you can use two jit.qt.movie objects, but only play/show one of them at a time, and while you're showing that one you can read the next movie into the one you're not playing/showing. Here's a simplified example using just two preloaded movies, but you could add a way of reading a new movie into whichever one you're not playing.
thanks a lot !
[jit.qt.movie] — (loadram 0 1000)
simple patch to show how to use loadram:
check [jit.qt.movie] help file -> reference
With [jit.qt.movie] — (loadram 0 1000) we were able to fire up 88 movies (400x300) faster then our shadow with a midi piano. :)
just a warning,
i exported a qt movie (photo-jpeg 75%) via adobe media encoder CS5.5
using the loadram edges method i got memory leaks that eventually crashed max.
re-exporting via QTplayer the memory handeling was ok.
windows7/64bit/max6/max5
also you might want to check andrew B.
same concept+polybank
The Video Processing System, Part 4 « Cycling 74
https://cycling74.com/tutorials/the-video-processing-system-part-4/