Forums > MaxMSP

Jit.desktop to jit.qt.record

November 23, 2006 | 10:21 am

Hi all,

I’d like, for a help file i’m working on, to be able to grab to disk an area around my mouse pointer on my desktop.
You know that kind of help where you can see the pointer of the mouse moving on the screen and a voice in the background telling you "now you click here, you move to this menu, you click there… etc."

To do this, i made some tests with jit.desktop of course, mousestate to get the position of my mouse and i send it to jit.desktop, then i send the output of jit.desktop to jit.qt.record…

Two problems :
- jit.desktop shows well the portion of the screen where my mouse is but i can’t see the pointer of my mouse…
- when i watch the resulting film (.mov) in a QuickTime player, the film is played much too fast

Hereafter, please find the patch i’m talking about.
I’m not asking for you to give me the solution but maybe some clues on how to solve these problems… (audio problems and synchronization will come latter :-) )

Thanks in advance.
S.T

Ps : happy thanksgiving to all americains ;-)

max v2;
#N vpatcher 52 260 615 720;
#P origin 0 -10;
#P window setfont "Sans Serif" 9.;
#P newex 411 275 50 196617 adc~;
#P newex 232 114 115 196617 t i b i;
#P newex 282 86 116 196617 t i b i;
#P newex 232 141 33 196617 – 160;
#P newex 282 141 36 196617 – 120;
#P newex 388 141 50 196617 + 240;
#P newex 98 196 50 196617 b 2;
#P newex 208 59 109 196617 mousestate;
#P number 143 143 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 180 144 15 0;
#P newex 180 163 220 196617 pack rect 0 0 320 240;
#P toggle 98 144 15 0;
#P newex 98 166 55 196617 metro 40;
#P newex 98 221 154 196617 jit.desktop 4 char 320 240;
#B color 5;
#P message 190 294 73 196617 write 25. jpeg;
#P message 159 294 27 196617 stop;
#P newex 98 317 114 196617 jit.qt.record 320 240;
#P newex 336 141 35 196617 + 320;
#P connect 6 0 5 0;
#P connect 5 0 11 0;
#P connect 11 0 4 0;
#P fasten 7 0 4 0 185 187 103 187;
#P connect 3 0 1 0;
#P connect 2 0 1 0;
#P connect 4 0 1 0;
#P connect 9 0 5 1;
#P connect 16 1 8 0;
#P connect 15 1 8 0;
#P connect 8 0 7 0;
#P connect 11 1 10 0;
#P connect 10 1 16 0;
#P connect 16 0 14 0;
#P connect 14 0 7 1;
#P connect 10 2 15 0;
#P connect 15 0 13 0;
#P connect 13 0 7 2;
#P connect 16 2 0 0;
#P connect 0 0 7 3;
#P connect 15 2 12 0;
#P connect 12 0 7 4;
#P pop;


November 23, 2006 | 11:08 am

This version of the patch should be better but i’m still having the same problems… :

max v2;
#N vpatcher 126 147 689 607;
#P origin 0 -10;
#P user jit.pwindow 279 286 82 62 0 1 0 0 1 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 20 221 66 196617 metro 41.67;
#P newex 98 249 97 196617 jit.matrix @thru 0;
#P newex 411 275 50 196617 adc~;
#P newex 232 114 115 196617 t i b i;
#P newex 282 86 116 196617 t i b i;
#P newex 232 141 33 196617 – 160;
#P newex 282 141 36 196617 – 120;
#P newex 388 141 50 196617 + 240;
#P newex 98 196 50 196617 b 2;
#P newex 208 59 109 196617 mousestate;
#P number 143 143 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 180 144 15 0;
#P newex 180 163 220 196617 pack rect 0 0 320 240;
#P toggle 98 144 15 0;
#P newex 98 166 55 196617 metro 100;
#P newex 98 221 154 196617 jit.desktop 4 char 320 240;
#B color 5;
#P message 190 294 73 196617 write 24. jpeg;
#P message 159 294 27 196617 stop;
#P newex 98 317 114 196617 jit.qt.record 320 240;
#P newex 336 141 35 196617 + 320;
#P connect 6 0 19 0;
#P connect 6 0 5 0;
#P connect 5 0 11 0;
#P fasten 7 0 4 0 185 187 103 187;
#P connect 11 0 4 0;
#P connect 4 0 18 0;
#P connect 19 0 18 0;
#P connect 18 0 1 0;
#P connect 2 0 1 0;
#P connect 3 0 1 0;
#P connect 9 0 5 1;
#P connect 15 1 8 0;
#P connect 16 1 8 0;
#P connect 8 0 7 0;
#P connect 11 1 10 0;
#P connect 10 1 16 0;
#P connect 16 0 14 0;
#P connect 14 0 7 1;
#P connect 18 0 20 0;
#P connect 10 2 15 0;
#P connect 15 0 13 0;
#P connect 13 0 7 2;
#P connect 16 2 0 0;
#P connect 0 0 7 3;
#P connect 15 2 12 0;
#P connect 12 0 7 4;
#P pop;


November 24, 2006 | 9:57 am

Juste in case somebody’s interested in this subject, the following patch is much better but i still have the problem that the pointer of the mouse is not visible with jit.desktop… is there a way to change that ? an attribute or something… the help is really poor and the html page doesn’t say much either… anyway, it’s slowly getting better.
It finaly starts to look like something you can use to make screencast… : any help is still appreciated.

max v2;
#N vpatcher 1 46 215 239;
#P origin 0 -9;
#P button 559 491 15 0;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P message 122 5 52 196620 Record;
#B color 14;
#P message 69 5 36 196620 Stop;
#P message 6 5 48 196620 Start;
#P window setfont "Sans Serif" 9.;
#P message 417 53 21 196617 0;
#P message 382 53 21 196617 1;
#P newex 382 32 81 196617 sel Start Stop;
#P newex 382 93 86 196617 t i i;
#P newex 595 302 214 196617 t b i i;
#P newex 650 280 246 196617 t b i i;
#P newex 740 216 130 196617 t i i;
#P newex 793 195 163 196617 t i i;
#P newex 543 282 50 196617 – 160;
#P newex 701 259 50 196617 – 120;
#P newex 771 395 71 196617 split 0 768;
#P newex 683 395 71 196617 split 0 1024;
#P newex 594 241 50 196617 – 320;
#P newex 650 216 50 196617 – 240;
#P message 595 261 50 196617 max $1;
#P message 650 239 50 196617 max $1;
#P number 743 369 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 831 370 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 886 348 71 196617 split 0 768;
#P newex 800 345 71 196617 split 0 1024;
#P newex 700 146 50 196617 zl slice 2;
#P newex 740 170 63 196617 unpack 0 0;
#P newex 700 105 50 196617 loadbang;
#P newex 700 125 101 196617 screensize;
#P number 595 282 50 9 0 704 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 650 260 50 9 0 528 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 886 318 35 196617 + 240;
#P newex 799 323 35 196617 + 320;
#P newex 595 443 362 196617 pack rect 0 0 320 240;
#P user jit.pwindow -1 30 201 149 0 1 0 0 1 0;
#P newex 382 179 66 196617 metro 41.67;
#P newex 458 491 97 196617 jit.matrix @thru 0;
#P newex 833 415 50 196617 + 240;
#P newex 458 139 56 196617 b 2;
#P newex 504 183 166 196617 mousestate;
#P toggle 382 73 16 0;
#P newex 458 117 56 196617 metro 100;
#P newex 458 463 154 196617 jit.desktop 4 char 320 240;
#B color 5;
#P message 550 510 73 196617 write 24. jpeg;
#P message 519 510 27 196617 stop;
#P newex 458 533 114 196617 jit.qt.record 320 240;
#P newex 745 415 35 196617 + 320;
#P user panel 0 0 199 31;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P hidden connect 5 0 13 0;
#P hidden connect 44 0 40 0;
#P hidden connect 43 0 40 0;
#P connect 40 0 41 0;
#P connect 41 0 7 0;
#P connect 42 0 7 0;
#P connect 7 0 39 0;
#P connect 39 0 12 0;
#P connect 40 1 42 0;
#P connect 39 1 6 0;
#P connect 6 0 9 0;
#P connect 9 0 5 0;
#P connect 14 0 5 0;
#P connect 5 0 11 0;
#P connect 12 0 11 0;
#P connect 11 0 2 0;
#P connect 4 0 2 0;
#P connect 3 0 2 0;
#P connect 9 1 8 0;
#P connect 8 1 34 0;
#P connect 46 0 4 0;
#P hidden connect 45 0 46 0;
#P connect 36 0 30 0;
#P connect 30 0 28 0;
#P connect 28 0 18 0;
#P connect 34 0 18 0;
#P connect 18 0 38 0;
#P connect 37 0 14 0;
#P connect 38 0 14 0;
#P connect 35 0 29 0;
#P connect 29 0 27 0;
#P connect 27 0 17 0;
#P connect 33 0 17 0;
#P connect 17 0 37 0;
#P connect 38 1 31 0;
#P connect 1 0 14 1;
#P connect 31 0 14 1;
#P connect 20 0 19 0;
#P connect 19 0 22 0;
#P fasten 8 2 33 0 587 209 706 209;
#P connect 22 1 21 0;
#P connect 21 0 36 0;
#P connect 15 0 26 0;
#P connect 26 0 31 2;
#P connect 31 1 1 0;
#P connect 37 1 32 0;
#P connect 32 0 14 2;
#P connect 10 0 14 2;
#P connect 21 1 35 0;
#P connect 38 2 15 0;
#P connect 15 0 23 0;
#P connect 16 0 25 0;
#P connect 25 0 32 2;
#P connect 32 1 10 0;
#P connect 23 0 14 3;
#P connect 23 1 14 3;
#P connect 36 1 23 2;
#P connect 37 2 16 0;
#P connect 16 0 24 0;
#P connect 35 1 24 2;
#P connect 24 0 14 4;
#P connect 24 1 14 4;
#P pop;


November 24, 2006 | 10:35 am


November 24, 2006 | 1:11 pm

Ok, one last version, i don’t have much time to give to this patch anymore… unfortunatly.
If somebody wants to work on it…
My aim was to be able to do screencast with Jitter as there are no screencast open source software for Mac OS X 10.3.n but…
Here is the last version of the patch :

max v2;
#N vpatcher 33 120 247 313;
#P origin 0 -30;
#P button 407 558 15 0;
#P window setfont "Sans Serif" 9.;
#P message 407 581 50 196617 stop;
#P button 559 512 15 0;
#P window setfont "Sans Serif" 12.;
#P message 122 5 52 196620 Record;
#B color 14;
#P message 69 5 36 196620 Stop;
#P message 6 5 48 196620 Start;
#P window setfont "Sans Serif" 9.;
#P message 417 74 21 196617 0;
#P message 382 74 21 196617 1;
#P newex 382 52 81 196617 sel Start Stop;
#P newex 382 114 86 196617 t i i;
#P newex 595 323 214 196617 t b i i;
#P newex 650 301 246 196617 t b i i;
#P newex 740 237 130 196617 t i i;
#P newex 793 216 163 196617 t i i;
#P newex 543 303 50 196617 – 160;
#P newex 701 280 50 196617 – 120;
#P newex 771 416 71 196617 split 0 768;
#P newex 683 416 71 196617 split 0 1024;
#P newex 594 262 50 196617 – 320;
#P newex 650 237 50 196617 – 240;
#P message 595 282 50 196617 max $1;
#P message 650 260 50 196617 max $1;
#P number 743 390 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 831 391 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 886 369 71 196617 split 0 768;
#P newex 800 366 71 196617 split 0 1024;
#P newex 700 167 50 196617 zl slice 2;
#P newex 740 191 63 196617 unpack 0 0;
#P newex 700 126 50 196617 loadbang;
#P newex 700 146 101 196617 screensize;
#P number 595 303 50 9 0 704 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 650 281 50 9 0 528 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 886 339 35 196617 + 240;
#P newex 799 344 35 196617 + 320;
#P newex 595 464 362 196617 pack rect 0 0 320 240;
#P user jit.pwindow -1 30 201 149 0 1 0 0 1 0;
#P newex 382 200 66 196617 metro 41.67;
#P newex 458 512 97 196617 jit.matrix @thru 0;
#P newex 833 436 50 196617 + 240;
#P newex 458 160 56 196617 b 2;
#P newex 504 204 166 196617 mousestate;
#P toggle 382 94 16 0;
#P newex 458 138 56 196617 metro 100;
#P newex 458 487 154 196617 jit.desktop 4 char 320 240;
#B color 5;
#P message 550 553 73 196617 write 24. jpeg;
#P newex 458 580 114 196617 jit.qt.record 320 240;
#P newex 745 436 35 196617 + 320;
#P user panel 0 0 199 31;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P hidden connect 4 0 12 0;
#P hidden connect 43 0 39 0;
#P hidden connect 42 0 39 0;
#P connect 39 0 40 0;
#P connect 41 0 6 0;
#P connect 40 0 6 0;
#P connect 6 0 38 0;
#P connect 38 0 11 0;
#P hidden connect 43 0 47 0;
#P connect 47 0 46 0;
#P connect 39 1 41 0;
#P connect 38 1 5 0;
#P connect 5 0 8 0;
#P connect 8 0 4 0;
#P connect 13 0 4 0;
#P connect 4 0 10 0;
#P connect 11 0 10 0;
#P connect 46 0 2 0;
#P connect 3 0 2 0;
#P connect 10 0 2 0;
#P connect 8 1 7 0;
#P connect 7 1 33 0;
#P connect 45 0 3 0;
#P hidden connect 44 0 45 0;
#P connect 35 0 29 0;
#P connect 29 0 27 0;
#P connect 33 0 17 0;
#P connect 27 0 17 0;
#P connect 17 0 37 0;
#P connect 37 0 13 0;
#P connect 36 0 13 0;
#P connect 34 0 28 0;
#P connect 28 0 26 0;
#P connect 32 0 16 0;
#P connect 26 0 16 0;
#P connect 16 0 36 0;
#P connect 37 1 30 0;
#P connect 30 0 13 1;
#P connect 1 0 13 1;
#P connect 19 0 18 0;
#P connect 18 0 21 0;
#P fasten 7 2 32 0 587 230 706 230;
#P connect 21 1 20 0;
#P connect 20 0 35 0;
#P connect 14 0 25 0;
#P connect 25 0 30 2;
#P connect 30 1 1 0;
#P connect 36 1 31 0;
#P connect 9 0 13 2;
#P connect 31 0 13 2;
#P connect 20 1 34 0;
#P connect 37 2 14 0;
#P connect 14 0 22 0;
#P connect 15 0 24 0;
#P connect 24 0 31 2;
#P connect 31 1 9 0;
#P connect 22 1 13 3;
#P connect 22 0 13 3;
#P connect 35 1 22 2;
#P connect 36 2 15 0;
#P connect 15 0 23 0;
#P connect 34 1 23 2;
#P connect 23 1 13 4;
#P connect 23 0 13 4;
#P pop;


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