jit.qt.movie having difficulty locating files

Oct 9, 2008 at 4:47am

jit.qt.movie having difficulty locating files

Hello everyone,

I’m trying to use a paste message with jit.qt.movie. The problem is that jit.qt.movie cannot locate the image file I’m trying to paste.

When I send the message “paste eyesframe20.mov 0 20 200 250″ i get this error message in the max window: “jit.qt.movie: can’t find file eyesframe20.mov”

the file is sitting in the same folder as my patch!

Anyone know how to get jit.qt.movie to look in a certain folder to find the file?

Thanks!

#40237
Oct 9, 2008 at 3:25pm

is the image file in the max search path?

if it isnt, it wont be able to find the file unless you specify a full path…

hth,

j

#142214
Oct 9, 2008 at 5:21pm

Yeah, I already tried that…Thanks!

#142215
Oct 10, 2008 at 9:00pm

unfortunately it’s still not working. please have a look at my patch if you think you might have some ideas about how to get this process to work! The idea is to take stills from a video stream and swap them into another, pre-existing video stream, gradually replacing the contents of the pre-existing video.

patch follows:

{
“boxes” : [ {
"box" : {
"maxclass" : "comment",
"text" : " turn on metro to play the movie",
"linecount" : 2,
"fontsize" : 12.0,
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 358.0, 109.0, 158.0, 34.0 ],
“id” : “obj-15″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “2. here we try to paste that still into a pre-existing video stream”,
“linecount” : 3,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 456.0, 26.0, 154.0, 48.0 ],
“id” : “obj-14″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “1. bang here to take a still from an incoming video stream”,
“linecount” : 3,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 21.0, 237.0, 150.0, 48.0 ],
“id” : “obj-11″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “int”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 608.0, 164.0, 32.5, 20.0 ],
“outlettype” : [ "int" ],
“id” : “obj-5″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “jit.window movie 0 0 1100 800″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 523.0, 442.0, 171.0, 20.0 ],
“outlettype” : [ "bang", "" ],
“id” : “obj-44″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “getvoclist”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 710.0, 377.0, 61.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-43″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “close”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 650.0, 374.0, 39.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-41″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “open”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 585.0, 372.0, 37.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-39″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “jit.qt.videoout”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 522.0, 410.0, 81.0, 20.0 ],
“outlettype” : [ "jit_matrix", "" ],
“id” : “obj-37″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “+ 50″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 789.0, 182.0, 34.0, 20.0 ],
“outlettype” : [ "int" ],
“id” : “obj-36″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “* 50″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 789.0, 144.0, 32.5, 20.0 ],
“outlettype” : [ "int" ],
“id” : “obj-35″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 685.0, 133.0, 50.0, 20.0 ],
“outlettype” : [ "int", "bang" ],
“id” : “obj-33″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “delay 1000″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 608.0, 115.0, 69.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-32″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive framenumber”,
“fontsize” : 12.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 608.0, 77.0, 124.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-31″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “sprintf paste eyesframe%i.mov 0 20 %i %i”,
“fontsize” : 12.0,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 573.0, 213.0, 235.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-30″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “jit.qt.movie 320 240 @editmode 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 521.0, 291.0, 189.0, 20.0 ],
“outlettype” : [ "jit_matrix", "" ],
“id” : “obj-29″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “metro 5″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 519.0, 149.0, 51.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-28″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 519.0, 112.0, 20.0, 20.0 ],
“outlettype” : [ "int" ],
“id” : “obj-27″
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “read Eyes_24fps.mov”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 386.0, 236.0, 127.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-25″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “jit.pwindow”,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 208.0, 582.0, 80.0, 60.0 ],
“outlettype” : [ "", "" ],
“id” : “obj-23″
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 86.0, 282.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-22″
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 332.0, 439.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-20″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “delay 100″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 323.0, 402.0, 63.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-18″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 249.0, 390.0, 50.0, 20.0 ],
“outlettype” : [ "int", "bang" ],
“id” : “obj-17″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “urn 300″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 249.0, 344.0, 51.0, 20.0 ],
“outlettype” : [ "int", "bang" ],
“id” : “obj-13″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “clear”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 270.0, 297.0, 37.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-12″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “delay 500″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 178.0, 316.0, 63.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-10″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send framenumber”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 63.0, 434.0, 111.0, 20.0 ],
“id” : “obj-9″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “sprintf exportimage eyesframe%i.mov jpeg”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 173.0, 471.0, 237.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-8″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “jit.qt.grab 1600 1200″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 198.0, 519.0, 120.0, 20.0 ],
“outlettype” : [ "jit_matrix", "" ],
“id” : “obj-7″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “getvdevlist”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 234.0, 66.0, 67.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-6″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “close”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 144.0, 85.0, 39.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-4″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “open”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 99.0, 116.0, 37.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-2″,
“fontname” : “Arial”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-5", 0 ],
“destination” : [ "obj-30", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-32", 0 ],
“destination” : [ "obj-5", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-5", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-2", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-6", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-22", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-12", 0 ],
“destination” : [ "obj-13", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 1 ],
“destination” : [ "obj-18", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-18", 0 ],
“destination” : [ "obj-20", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-20", 0 ],
“destination” : [ "obj-13", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-17", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-9", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 1 ],
“destination” : [ "obj-12", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-7", 0 ],
“destination” : [ "obj-23", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-25", 0 ],
“destination” : [ "obj-29", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-27", 0 ],
“destination” : [ "obj-28", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-28", 0 ],
“destination” : [ "obj-29", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-33", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-35", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-35", 0 ],
“destination” : [ "obj-36", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-36", 0 ],
“destination” : [ "obj-30", 2 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-35", 0 ],
“destination” : [ "obj-30", 1 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-30", 0 ],
“destination” : [ "obj-29", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-39", 0 ],
“destination” : [ "obj-37", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-41", 0 ],
“destination” : [ "obj-37", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-43", 0 ],
“destination” : [ "obj-37", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-37", 0 ],
“destination” : [ "obj-44", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 1 ],
“destination” : [ "obj-25", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-8", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-8", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-29", 0 ],
“destination” : [ "obj-37", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-10", 0 ],
“destination” : [ "obj-13", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-22", 0 ],
“destination” : [ "obj-10", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
]
}

#142216

You must be logged in to reply to this topic.