Playing multiple video files in jitter
Hello Jitter Community!
I am relatively new to MAX/MSP/Jitter, and am working my way through the tutorial. I have a relatively firm understanding of how everything works, but I am stumped by what I think should be a video problem.
I have a series of short (
So far I have used the commands read m1.mov, then append m2.mov, append m3.mov (followed by loadram). This gives me one big file, but it is difficult to get it to play only m1.mov.
I have been trying to get the addtrack to do the same thing as append, but no luck. In my mind, addtrack should add the extra movies as tracks (like a cd has track 1, 2 and 3) and then I can just say 'play track 2' somehow. But so far this has not worked, nor have I been able to find much info in the documentation about how to select and play only 1 track.
Does anyone have an idea how this could easily be implemented? Seems like it should be straight forward, but so far no luck.
Thanks in advance for any input!!
Here's a different way, but it works, and might be helpful. (Scroll to the bottom to see my solution.)
Thanks for the reply! I'll test it out Monday when I have access to my computer with MAX on it. Does your elegant solution preload the videos into memory? I'll check the circuit on Monday.
Thanks again for your help!
To open the movies automatically, just trigger the 'read' messages with a loadbang object. To read the full movies into RAM instead of reading them off of disk, just replace the 'read' messages with 'loadram' messages.
load a movie into RAM when finished reading ...
Hi Christopher, I've used your patch and found it very useful thanks, I was wondering if there would be a way of instead of having to click the different buttons on the radio group you could hit keys 1 , 2 , 3 etc for each movie.
Cheers
Joe