Forums > Jitter

transparence=100% : by number of image

June 25, 2008 | 9:10 am

I try to hold concurrently the number of picture of a film in the single picture. Every picture in a transparence : transparence = 100 %: by number of image. I made this patch, but I do not succeed in recovering information and comparing them. Somebody would have a resolution it ? thank you
Serge

max v2;
#N vpatcher 44 140 1467 897;
#P origin 0 87;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 166 78 44 196617 gettime;
#P newex 788 481 27 196617 ==;
#P button 788 509 72 0;
#P number 880 423 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 880 395 27 196617 – 1;
#P window setfont "Fixedwidth Serif" 10.;
#P newex 702 304 38 1441802 sel 1;
#P message 688 400 43 1441802 set $1;
#P number 688 430 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 688 375 27 1441802 /;
#P number 644 349 51 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 644 281 68 1441802 unpack s 0;
#P message 688 465 53 1441802 frame $1;
#P flonum 944 253 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 893 252 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 880 369 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 880 344 27 1441802 /;
#P number 880 309 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 922 309 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 922 281 32 1441802 / 1.;
#P newex 740 224 214 1441802 route read time duration timescale;
#P message 832 161 308 1441802 getfps , gettimescale , getduration , getrate , getvol;
#P window setfont "Sans Serif" 9.;
#P flonum 628 129 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P newex 628 92 32 196617 / 500.;
#P window linecount 1;
#P message 405 100 36 196617 0.015;
#P window linecount 2;
#P newex 351 253 30 196617 r flux;
#P window linecount 1;
#P newex 213 331 32 196617 s flux;
#P newex 267 288 94 196617 jit.op @op also add;
#P user jit.fpsgui 267 587 60 196617 0;
#P newex 493 28 45 196617 loadbang;
#P message 522 63 17 196617 1.;
#P flonum 550 112 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 482 106 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 550 131 69 196617 saturation $1;
#P message 405 131 70 196617 brightness $1;
#P message 482 131 61 196617 contrast $1;
#P message 364 49 27 196617 stop;
#P newex 475 188 52 196617 jit.brcosa;
#B color 5;
#P user jit.pwindow 266 334 322 242 0 1 0 0 1 0;
#P flonum 395 28 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 395 49 42 196617 rate $1;
#P message 332 49 28 196617 read;
#P flonum 297 28 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 267 28 15 0;
#P window linecount 2;
#P newex 267 48 40 196617 metro 2;
#P window linecount 1;
#P newex 267 94 103 196617 jit.qt.movie 320 240;
#P connect 1 0 44 0;
#P fasten 18 0 19 0 272 318 218 318;
#P connect 2 0 1 0;
#P connect 1 0 0 0;
#P connect 44 0 0 0;
#P connect 24 0 0 0;
#P fasten 5 0 0 0 400 79 272 79;
#P fasten 4 0 0 0 337 79 272 79;
#P fasten 9 0 0 0 369 79 272 79;
#P fasten 8 0 18 0 480 246 272 246;
#P connect 18 0 7 0;
#P connect 7 0 17 0;
#P connect 3 0 1 1;
#P connect 20 0 18 1;
#P connect 6 0 5 0;
#P fasten 16 0 21 0 498 76 410 76;
#P connect 21 0 11 0;
#P fasten 0 0 8 0 272 155 480 155;
#P fasten 10 0 8 0 487 156 480 156;
#P fasten 11 0 8 0 410 156 480 156;
#P fasten 12 0 8 0 555 156 480 156;
#P fasten 15 0 13 0 527 102 487 102;
#P connect 13 0 10 0;
#P fasten 16 0 15 0 498 54 527 54;
#P fasten 15 0 14 0 527 102 555 102;
#P connect 14 0 12 0;
#P fasten 15 0 22 0 527 80 633 80;
#P connect 22 0 23 0;
#P fasten 25 0 34 0 745 261 649 261;
#P fasten 25 1 35 0 796 338 649 338;
#P fasten 35 0 36 0 649 369 693 369;
#P connect 36 0 38 0;
#P connect 38 0 37 0;
#P connect 37 0 33 0;
#P connect 34 1 39 0;
#P fasten 27 0 36 1 927 331 710 331;
#P fasten 0 1 25 0 365 167 745 167;
#P fasten 37 0 43 0 693 456 793 456;
#P connect 43 0 42 0;
#P fasten 41 0 43 1 885 459 810 459;
#P connect 39 0 24 0;
#P fasten 25 2 28 0 847 293 885 293;
#P connect 28 0 29 0;
#P connect 29 0 30 0;
#P connect 30 0 40 0;
#P connect 40 0 41 0;
#P connect 25 3 31 0;
#P fasten 27 0 29 1 927 338 902 338;
#P fasten 31 0 26 0 898 276 927 276;
#P connect 26 0 27 0;
#P connect 25 4 32 0;
#P fasten 32 0 26 1 949 270 949 270;
#P pop;


June 25, 2008 | 3:44 pm

I’m sorry, I wouldn’t have a resolution it.

Hahah, excuse me, but it’s impossible to understand what you’re asking here. The left part of your patch seems to work fine, the right part seems to calculate the length of your movie and indicatie when it’s finished.

The reason you don’t get a bang at the end is because you’re using a [set $1] message before the numbox. But i don’t know what you’re trying to do with this data…(Also, [==] outputs all the time, you should put a [sel 1] after it.

But please explain in more detail what you’re trying to achieve. You want to know when the movie ends? You’re losing the last part of a second, since you’re dividing ints, not floats.


June 26, 2008 | 7:22 am

I try to show all pictures of a film. Every picture has a rate of transparence. transparence = opacity/ number of picture. But I do not succeed in finding the necessary tool to say poster all pictures all at once.


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