Forums > Jitter

jit.qt.movie and jit.qt.record

February 8, 2010 | 12:56 am

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.


February 8, 2010 | 1:02 am

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

lh


February 8, 2010 | 1:05 am

Thank you. I will try


February 8, 2010 | 4:11 pm

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


February 8, 2010 | 4:42 pm

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]


February 8, 2010 | 5:33 pm

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

lh


February 10, 2010 | 5:08 pm

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?


February 11, 2010 | 12:10 am

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

or even

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


February 12, 2010 | 11:55 pm

thank you. Jesse it works like a charm :)


April 16, 2010 | 6:57 pm

Greetings,
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.

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

regards


Viewing 10 posts - 1 through 10 (of 10 total)