some tips on jitter

Dec 9, 2011 at 8:22pm

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)

#60587
Dec 9, 2011 at 9:03pm

Play the videos from a ramdisc zb(http://boredzo.org/make-ram-disk/)

pe

#218034
Dec 9, 2011 at 9:26pm

thanks ! that’s a good idea

#218035
Dec 9, 2011 at 11:28pm

or splice all your videos into one big one and jump around using frame commands. no lag ever.

#218036
Dec 10, 2011 at 4:07pm

yeah , it seems to be the best way to do it.

#218037
Dec 10, 2011 at 6:11pm

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.

– Pasted Max Patch, click to expand. –
#218038
Dec 21, 2011 at 11:48am

thanks a lot !

#218039
Dec 21, 2011 at 5:39pm

[jit.qt.movie] — (loadram 0 1000)

simple patch to show how to use loadram:

– Pasted Max Patch, click to expand. –

check [jit.qt.movie] help file -> reference

With [jit.qt.movie] — (loadram 0 1000) we were able to fire up 88 movies (400×300) faster then our shadow with a midi piano. :)

#218040
Jan 11, 2012 at 9:41am

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

http://cycling74.com/2009/09/23/the-video-processing-system-part-4/

#218041

You must be logged in to reply to this topic.