need help to save video files automatically

jose maria marin's icon

I need to save video frames automatically from a jit.qt.grab. I need to give them names and save to disk automatically. I made a shooter that makes the photo when someone is in front of the camera and now i need to save every fotos with different names into a folder. Allways automatically...

Please help

Peace!

th's icon

hi
jit.qt.grab has exportimage message. you can for example program random name generator and save pics like this - they all will have random names. I used it because jit.qt.record doesn't rewrite files with same name.. maybe I did something wrong...

th jansen

jose maria marin's icon

i already find a way to give consecutive numbers to the files, using sprintf object. this is the patch, but i don?t know how to change the destination folder of the files. they goes to the max help folder (default folder).

th's icon

they should go to the folder where patch is saved..

jose maria marin's icon

i don?t know way but exportimage saves the files into the max help folder. I wish to change the destination folder of this files, was great the same folder where the patch is saved. Know how?

thanks TH

th's icon

hm
max help folder was maybe 'cause you copied your patch from grab help? ;)

I think if you will save the patch to the desktop(for example) the files should follow the white rabbit.. ;)

jose maria marin's icon

Oh yeeees! i have saved the patch into the desktop and... bingo! i feel a bit stupid, but i don?t understand because i wrought all the patch, may be some little helps that i took from that friendly folder (max help) :-) jajaja

big thank HT

jose maria marin's icon
aizarra's icon