Making a interactive multiangle music video, but everything is laggy

Apr 9, 2013 at 4:33pm

Making a interactive multiangle music video, but everything is laggy

Hi everyone, im in the middle of my interactive multiangle music video production and I have some problems. The video laggs very much. The patch im using right now is playing all the angles/videos at the same time but only one angle/video is showing and the others are played in the background. This works on good computers but not on bad old ones. Is there anyway to do what i want without playing all the videos at the same time? For exampel if you choose angle 1 then the video that shows angle1 is loaded into max and it plays it and after a while you chose angle 2 then the video that shows angle 2 is loaded into max and it plays angle 2 at the same time/frame that you made the angle switch.

Here is my code:

– Pasted Max Patch, click to expand. –
Apr 9, 2013 at 6:00pm

the short answer is to create as many objects as you have movies, set @autostart 0, and send the current playing movie’s time value to the next movie after stopping the current movie, and before starting the second movie. making an abstraction to manage this is recommended.

the longer answer is to use poly~
check out the video processing tutorial for more info on this technique:

as always, optimize your videos with colormode uyvy and opengl (search the forum for “video optimizations” or something similar).
if you are on OS X and Max 6, you can use the external:

here’s a patch to get you started:

– Pasted Max Patch, click to expand. –
Apr 9, 2013 at 6:15pm

but i want everything to be on the same video window, not multiple :/

Apr 9, 2013 at 6:25pm

the best way to learn max, is to take these patches and edit them, and try and understand what’s going on in them.
did you try to combine the outputs into a single jit.window or jit.pwindow?

normally, you don’t want to do this (combine multiple jitter matrix outs to a single in), but in this case, since only one object is outputting matrices at any one time, you can do this.

Apr 9, 2013 at 6:38pm

im sorry really long time since i worked with max, please help me more

Apr 9, 2013 at 6:42pm

basically what i wanna do is

have 1 vide window

start the video

change to another angle/video

it pauses the current angle/video im watching and the time it pauses on is stored

the chosen angle/video is loaded into the video window and starts to play at the stored time from the first angle

May 23, 2013 at 10:04am

Maybe you want to check this out :



You must be logged in to reply to this topic.