jit.qt.movie: Can find file ..

Thinksamuel's icon

When trying to read and play a file, the Max window always tells me he cannot find the fie. The files are in the same folder as the patch however. What is wrong?

936.forum.maxpat
Max Patch
glBeatriz's icon

Maybe you are not indicating the movie file extension, like e.g. "moviename.mov"? Also you should check the spaces in the name of the file like "my movie.mov", in this case you should indicate to jit.qt.movie the message [read "my movie.mov"], with quotes

efe's icon

if you want to access directly a file you must search its path. You can do that by opening your terminal and dragging the file on it. Copy the path and place it after 'read'. you will get something similar to this:
read /Users/blablabla/jitter_materials/images_impression/Van_Gogh_7.jpg
let us know if it works
-emmanuel

Thinksamuel's icon

@ efe: Your solution works, however, this patch is part of an installation . I am making the patch here and will pass it on as a standalone to my client who does not have max. Is there another solution possible?

MIB's icon

Here is something that I have used in the past. Drag the media folder onto the bpatcher and the contents will be loaded into the jit.cellblock. Click on the filename to play the movie/sound/pic....

944.loadMedia.zip
zip
Thinksamuel's icon

When I drag a folder on top of it, I only get one cell, not various cells (the folder contains 3 films)

MIB's icon

Works fine here (MacBook Pro, OS 10.5.8). See if the "media" folder that comes with max works for you (I get 27 files loaded). Maybe I should also mention that right now only .mov files are accepted. If you have different file formats you need to change the "types" message sent to the [folder] object.

Hope that helps.

Thinksamuel's icon

Ok, It worked, I had some other types. This time I only used mov

Thinksamuel's icon

@MIB: I was wondering if I could use mpeg4 files; They are smaller in filesize so I would prfer using them. I just have to load a message that says mp4 right?

Rob Ramirez's icon

to use mpeg4, you will have to edit max-fileformats.txt to add mp4.
can be something like:
max fileformat .mp4 MP4 0 Video moviefile;

MIB's icon

what robtherich said I guess :)
never actually tried that before...

Thinksamuel's icon

Can you tell me where to find the max-fileformats.txt. Spotlight cannot find it.

Rob Ramirez's icon

/Applications/Max5/Cycling '74/init/max-fileformats.txt

Thinksamuel's icon

I changed the fileformats.txt but when I choose mp4 i only get an aiff file named D in the list.