jit.qt.movie: Can find file ..

Aug 7, 2010 at 1:24pm

jit.qt.movie: Can find file ..

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?

  1. forum.maxpat
Aug 7, 2010 at 3:20pm

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

Aug 7, 2010 at 3:35pm

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

Aug 7, 2010 at 4:38pm

@ 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?

Aug 9, 2010 at 9:35pm

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….

  1. loadMedia.zip
Aug 9, 2010 at 11:28pm

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

Aug 10, 2010 at 12:08am

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.

Aug 10, 2010 at 12:12am

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

Aug 22, 2010 at 4:39pm

@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?

Aug 23, 2010 at 4:34pm

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;

Aug 24, 2010 at 3:09am

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

Aug 24, 2010 at 8:19am

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

Aug 24, 2010 at 3:46pm

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

Aug 24, 2010 at 5:06pm

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


You must be logged in to reply to this topic.