Randomize Videos after Playback

Jul 11, 2012 at 11:39pm

Randomize Videos after Playback

I’m a new user to Jitter/Max (took a class on it here in Graduate studies but not too in-depth) and wish to make/use the following:

- Create a project that plays a single random quicktime movie (roughly about 50 videos all at different lengths), and when that video is finished playing it randomly plays another clip, and repeats that loop over and over again until the program is terminated.

In my mind it should be an easy setup that just takes time, I just don’t know what is best to use to make such a thing unless something out there already exists

#47921
Jul 12, 2012 at 8:34am

after one movie is finished you need a bang to trigger the next one that has to be selected with a random (or urn) object:

http://cycling74.com/forums/topic.php?id=27890

Have a look at the helpfiles of random and urn. Most easy would be, if you name your movies 1 – 50, or if you write the movie names in a coll object with indexes 1 -50 (or 0 – 49)

#172328
Jul 12, 2012 at 6:30pm

good point. thanks. I’ve used the numbering method for other programs I’ve coded outside of jitter so that makes the most sense to me. I’ll mess with it today. Thanks so much :)

#172329
Jul 13, 2012 at 4:12am

Ok I got it working but everytime the video’s load there is a slight pause with a white space between… I need it to work without the pause of white screen happening…?

– Pasted Max Patch, click to expand. –

just add 3 .mov files named “0.mov” “1.mov” “2.mov”

any help with this?

#172330

You must be logged in to reply to this topic.