Forums > Jitter

Again: recording video in folder

June 16, 2007 | 11:23 am

Hi,
I ve post last week this question, and i tryed more test with no succes to chosing directely my video recordind folder and increment my sample’s video.
i’can create a message box:
write sample 1 25. jpeg normal "OSX:/Users/nicolassaffray/Movies/Test xport/"connected to the jit.qt.record 640 480 but no succes.

Can someone help me?

Thanks

Bypass

Here is where i stop :

max v2;
#N vpatcher 1280 22 2560 998;
#P origin 0 -57;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 377 76 66 196617 t b b b b b;
#P newex 480 75 40 196617 t b b b;
#P message 420 380 315 196617 append OSX:/Users/nicolassaffray/Movies/yo/;
#P newex 599 181 95 196617 prepend set append;
#P button 466 37 15 0;
#P newex 601 127 76 196617 opendialog fold;
#P message 294 115 14 196617 0;
#P newex 117 261 40 196617 t b b b;
#P window linecount 3;
#P message 124 292 11 196617 set;
#P window linecount 1;
#P message 98 380 311 196617 write sample 0;
#P button 128 240 15 0;
#P message 206 331 114 196617 append 25. jpeg normal;
#P message 93 329 108 196617 set write sample 0;
#P newex 93 201 141 196617 prepend set set write sample;
#P number 93 174 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 10;
#X flags 0 0;
#P newobj 93 146 66 196617 counter 10;
#P button 93 116 15 0;
#P inlet 14 545 15 0;
#P newex 63 595 108 196617 jit.qt.record 640 480;
#B color 5;
#P comment 368 436 100 196617 ???;
#P connect 2 0 1 0;
#P connect 19 3 4 0;
#P connect 3 0 4 0;
#P fasten 13 0 5 0 299 168 98 168;
#P connect 4 0 5 0;
#P connect 13 0 6 0;
#P connect 5 0 6 0;
#P connect 19 2 7 0;
#P connect 6 0 7 0;
#P fasten 12 1 7 0 137 328 98 328;
#P connect 19 0 10 0;
#P connect 8 0 10 0;
#P connect 7 0 10 0;
#P fasten 11 0 10 0 129 321 103 321;
#P connect 9 0 12 0;
#P fasten 13 0 4 2 299 141 126 141;
#P fasten 12 2 11 0 152 285 129 285;
#P connect 6 0 9 0;
#P fasten 12 0 8 0 122 291 211 291;
#P connect 15 0 19 0;
#P connect 19 1 17 0;
#P connect 16 0 17 0;
#P connect 15 0 18 0;
#P connect 14 0 16 0;
#P connect 19 4 14 0;
#P pop;


June 16, 2007 | 11:35 am

On 16 juin 07, at 13:24, bypass wrote:

> Can someone help me?

You’ve to generate the path with sprintf (symout argument make sure
the output is a valid symbol with the double quotes if needed), then
you can integrate the filepath in the message by putting "write"
before and all the other arguments after.

ej

#P button 228 60 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 60 335 352 196617 write "Macintosh HD:/Users/ej/Documents/
sample3.mov" 25. jpeg normal;
#P newex 60 307 62 196617 prepend set;
#P newex 60 277 114 196617 append 25. jpeg normal;
#P newex 60 254 73 196617 prepend write;
#P newex 60 157 159 196617 t b i;
#N counter 10;
#X flags 0 0;
#P newobj 60 132 66 196617 counter 10;
#P button 60 60 15 0;
#P newex 228 116 76 196617 opendialog fold;
#P newex 60 230 159 196617 sprintf symout %ssample%i.mov;
#P newex 60 188 36 196617 zl reg;
#P connect 0 0 1 0;
#P connect 2 0 0 1;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 0 0;
#P connect 5 1 1 1;
#P connect 1 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 8 0;
#P connect 8 0 9 0;
#P connect 10 0 2 0;
#P window clipboard copycount 11;


June 16, 2007 | 11:50 am

Thks Mr EJ

You help me.
I couldn’t find this
Thks , that’s what i needed

regards

If you was in France i’ll try to have see U to understand more than max msp and Jitter.
Thks Mister

Bypass


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