PDA

View Full Version : Quartz Composer question



kiwi
21-05-2013, 03:55 PM
Has anyone made a quartz file, or would be able to explain how to create one that does the following;

1. Randomly select a movie file from a specified folder that is always being updated with new files.
2. Play the full length of the movie.
3. When the movie finishes select another random movie and repeat the process.

Never used quartz composer before so not sure how to do this, or if it can be done.

Thanks

technick
22-05-2013, 08:51 PM
Yes it might be possible with a few provisos...

if you make struct with file names and randomly switch between them it should be possible but that means you must fill the target folder first and just swap out files. It won't detect whats there.

If that won't work you are probably into writing a plug in in xcode to read folder contents and fill an array...

I'm really busy just now but if I have a few moments I'll have a play and see what I can create... but don't hold your breath!

technick
25-05-2013, 11:50 AM
Here is a link to a quartz project that should do what you want.


Hope it works for you.

Any questions get in touch.

https://www.dropbox.com/s/nmhe1wdjfl58z6b/random%20movie%20project.qtz

technick
25-05-2013, 12:16 PM
Also Quartz composer files must be played back in an Audio Playback mode to work properly in Catalyst

technick
25-05-2013, 12:42 PM
I've been tweaking this a bit...

Hopefully the dropbox link points to the current version.

Now it doesn't play the same movie twice in a row and should play the movie from the start every time.... which it didn't always do before.

You still have to enter the directory to be scanned manually into the patch.

There is still a small glitch between movies. This is because it is set to scan as the movie completes.

Any questions get in touch.

technick
26-05-2013, 06:57 PM
New version.

Reads movies from a sub folder called movies in the same folder that the quartz patch is called from.

https://www.dropbox.com/s/nmhe1wdjfl58z6b/random%20movie%20project.qtz

kiwi
03-06-2013, 01:08 PM
Thanks for this it's really great.
It's working in composer and in quicktime, but can get it to display in Catalyst.
Catalyst sees the file, playing it back with play mode "Play audio", frames run and the transport bar at the bottom of the layer moves... but no video.

technick
05-06-2013, 12:03 PM
Hmm

I'll have to investigate... It might be a safe mode thing....

technick
05-06-2013, 02:05 PM
Paul

The directory scanner is an unsafe patch and catalyst won't run anything unsafe.

There is a way round this but I'd rather let you know off forum...

mail me

nick@lighting-made-simple.co.uk