I need a little help with this patch…

Apr 5, 2007 at 11:31am

I need a little help with this patch…

Hello; I am wondering if anyone can help me optimize this patch to use as little CPU and particularly hard drive access as possible. It is for a piece that will be running for several hours playing these rather short video clips at random. It would be nice if all the video was in RAM and didn’t need to get read of the drive all the time. I tried using multiple jt.qt.movie objects and it didn’t work very well. As it is, the video playback is kind of jerky on my TiBook 867. Any advice is greatly appreciated.
Thanks so much.

max v2;
#N vpatcher 337 44 1144 695;
#P origin -7 -258;
#P window setfont “Sans Serif” 9.;
#P window linecount 2;
#P comment 186 118 42 196617 1 file selector;
#P window linecount 1;
#P newex 504 418 48 196617 loadbang;
#P message 504 443 23 196617 1.9;
#P message 567 331 14 196617 0;
#P message 567 368 35 196617 vol $1;
#P newex 589 205 44 196617 * 1000;
#P number 589 234 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 589 176 31 196617 + 15;
#P newex 589 147 52 196617 random 5;
#P message 558 52 40 196617 10000;
#P message 508 52 34 196617 1000;
#P newex 465 185 27 196617 + 1;
#P newex 465 155 58 196617 random 21;
#P message 165 374 99 196617 read MVI_1501.AVI;
#P message 164 346 99 196617 read MVI_1500.AVI;
#P comment 311 184 78 196617 can’t tell;
#P comment 190 183 41 196617 far;
#P message 295 328 99 196617 read MVI_1492.AVI;
#P message 164 321 99 196617 read MVI_1493.AVI;
#P message 163 268 99 196617 read MVI_1490.AVI;
#P message 294 291 99 196617 read MVI_1489.AVI;
#P message 44 269 99 196617 read MVI_1496.AVI;
#P newex 418 67 33 196617 r one;
#P newex 70 209 298 196617 select 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21;
#P number 465 214 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 465 101 67 196617 metro 3000.;
#P toggle 465 82 15 0;
#P number 522 82 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 465 121 25 0;
#P newex 567 302 48 196617 loadbang;
#P message 44 321 99 196617 read MVI_1488.AVI;
#P message 164 295 99 196617 read MVI_1487.AVI;
#P message 163 246 99 196617 read MVI_1494.AVI;
#P message 294 266 99 196617 read MVI_1482.AVI;
#P message 295 245 99 196617 read MVI_1478.AVI;
#P flonum 504 466 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 504 485 70 196617 brightness $1;
#P message 609 331 14 196617 1;
#P newex 614 529 48 196617 loadbang;
#P newex 190 95 33 196617 s one;
#P comment 135 117 40 196617 S start;
#P newex 412 524 33 196617 r full;
#P newex 80 94 33 196617 s full;
#P newex 483 284 41 196617 r start;
#P newex 135 93 41 196617 s start;
#P newex 102 62 88 196617 select 27 115 49;
#P newex 102 40 40 196617 key;
#P message 412 570 68 196617 fullscreen $1;
#P toggle 412 549 15 0;
#P window linecount 3;
#P comment 67 115 62 196617 type esc to toggle fullscreen.;
#P window setfont “Fixedwidth Serif” 10.;
#P flonum 650 466 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 576 466 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 650 485 83 1441802 saturation $1;
#P message 576 485 73 1441802 contrast $1;
#P window setfont “Sans Serif” 9.;
#P newex 483 552 54 196617 jit.brcosa;
#P message 44 296 99 196617 read MVI_1497.AVI;
#P message 614 570 55 196617 floating $1;
#P toggle 614 552 15 0;
#P message 44 345 99 196617 read MVI_1498.AVI;
#P message 44 247 99 196617 read MVI_1472.AVI;
#P message 609 368 41 196617 loop $1;
#P message 443 321 28 196617 read;
#P window linecount 3;
#P comment 628 326 85 196617 0 = off ; 1 = on(default) ; 2 = palindrome ;;
#P button 483 361 15 0;
#P window setfont Times 10.;
#P window linecount 1;
#P comment 447 284 26 1310730 Play;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 483 340 55 1441802 metro 40;
#P toggle 483 320 15 0;
#P newex 483 589 184 1441802 jit.window Movie 5 41 325 281;
#B color 5;
#P newex 483 392 130 1441802 jit.qt.movie 640 480;
#B color 5;
#P window setfont “Sans Serif” 9.;
#P comment 294 314 100 196617 bed;
#P comment 61 184 44 196617 close;
#P comment 651 110 100 196617 15 and 20 seconds;
#P connect 48 11 12 0;
#P connect 48 12 50 0;
#P connect 48 13 16 0;
#P connect 48 14 41 0;
#P connect 48 15 13 0;
#P connect 60 0 48 0;
#P connect 26 0 29 0;
#P connect 25 0 26 0;
#P connect 26 1 27 0;
#P connect 48 5 39 0;
#P connect 48 6 52 0;
#P connect 48 7 40 0;
#P connect 48 8 53 0;
#P connect 48 9 57 0;
#P connect 48 10 58 0;
#P connect 48 20 58 0;
#P connect 48 21 58 0;
#P connect 26 2 32 0;
#P connect 48 2 38 0;
#P connect 48 4 51 0;
#P connect 48 1 37 0;
#P connect 48 3 54 0;
#P connect 48 19 54 0;
#P connect 48 18 54 0;
#P connect 48 17 54 0;
#P connect 48 16 54 0;
#P connect 48 0 54 0;
#P connect 30 0 23 0;
#P connect 23 0 24 0;
#P connect 49 0 45 0;
#P connect 45 0 46 0;
#P connect 46 0 43 0;
#P connect 43 0 59 0;
#P connect 59 0 60 0;
#P connect 60 0 47 0;
#P connect 28 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P connect 58 0 3 0;
#P connect 57 0 3 0;
#P connect 53 0 3 0;
#P connect 52 0 3 0;
#P connect 51 0 3 0;
#P connect 41 0 3 0;
#P connect 40 0 3 0;
#P connect 54 0 3 0;
#P connect 50 0 3 0;
#P connect 39 0 3 0;
#P connect 38 0 3 0;
#P connect 37 0 3 0;
#P connect 16 0 3 0;
#P connect 8 0 3 0;
#P connect 10 0 3 0;
#P connect 11 0 3 0;
#P connect 12 0 3 0;
#P connect 13 0 3 0;
#P connect 67 0 3 0;
#P connect 18 0 17 0;
#P connect 19 0 17 0;
#P connect 35 0 17 0;
#P connect 3 0 17 0;
#P connect 17 0 4 0;
#P connect 24 0 4 0;
#P connect 15 0 4 0;
#P connect 70 0 69 0;
#P connect 69 0 36 0;
#P connect 36 0 35 0;
#P connect 61 0 44 0;
#P connect 62 0 44 0;
#P connect 65 0 44 0;
#P connect 44 0 46 1;
#P connect 42 0 68 0;
#P connect 68 0 67 0;
#P connect 20 0 18 0;
#P connect 43 0 63 0;
#P connect 63 0 64 0;
#P connect 64 0 66 0;
#P connect 66 0 65 0;
#P connect 42 0 34 0;
#P connect 34 0 11 0;
#P connect 33 0 14 0;
#P connect 14 0 15 0;
#P connect 21 0 19 0;
#P pop;

-B

#31190

You must be logged in to reply to this topic.