jit.qt.movie and jit.qt.record

Feb 8, 2010 at 12:56am

jit.qt.movie and jit.qt.record

Question 1:
I am trying to let jit.qt.movie RANDOMLY open one quicktime movie from a list of movies stored in one folder in the computer hard drive, which I send the READ message to jit.qt.movie

Question 2:

I am also trying to let jit.qt.record record the clip directly to a folder in the harddrive when I send the WRITE message to jit.qt.record
For example, the first time I hit WRITE message, movie 01.mov will be saved. The second time I hit WRITE message, movie 02.mov will be saved, etc.

Any ideas? Can I preset something in the inspector?

Thanks a lot.

Feb 8, 2010 at 1:02am

Here are some objects you might want to look at. Question one: [opendialog], [folder], [umenu] and [random]. Question two: [sprintf] and [counter].


Feb 8, 2010 at 1:05am

Thank you. I will try

Feb 8, 2010 at 4:11pm

Again,while learning [folder] object, there is a TYPES message that I can send to [folder] to specify the types of the file to show in the [umenu] connected to [folder]. What is the message for .mov file? e.g. .txt file is TYPES TEXT, maxmsp patch file is TYPES JSON

Feb 8, 2010 at 4:42pm

BTW. I tried TYPES MOV, TPYES QMOV, TYPES .MOV, none of these works. If I do not put an augment to TYPES, no file will show up in the [umenu]

Feb 8, 2010 at 5:33pm

The list of codes for file types is listed in max-fileformats.txt in Cycling ’74 > init. You’re probably looking for “MooV”.


Feb 10, 2010 at 5:08pm

Thank you all. I got it working.
However, while I was using [sprintf], I tried [sprintf "Mac Harddrive:/Users/Desktop/%lb.mov"] and feed the result to message {write $1}. The quote mark ” ” is not showing when I feed the message. I could not figure out why? Without the quote mark ” “, message {write } can not recognize the path for the file.
Any one knows how to fix this?

Feb 11, 2010 at 12:10am

try [sprintf "Mac Harddrive:/Users/Desktop/%lb.mov"]

or even

[sprintf write "Mac Harddrive:/Users/Desktop/%lb.mov"]

Feb 12, 2010 at 11:55pm

thank you. Jesse it works like a charm :)

Apr 16, 2010 at 6:57pm

I’m trying to do something similar but having trouble understanding how to set it up.
Here’s a link to my post. Can anyone post a sample patch so I can see how this done?
It would be greatly appreciated.




You must be logged in to reply to this topic.