Forums > Jitter

Is there an other way ?

February 26, 2007 | 2:04 pm

Hi list !

I search how to get a bang, when jit.qt.movie rechead the end of a videofile.
The way I found seems a little complicated to me …

look at :

max v2;
#N vpatcher 301 52 902 514;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 50 38 13 196617 |< ;
#P message 41 55 39 196617 time 0;
#P newex 379 347 21 196617 t 0;
#P newex 279 202 54 196617 unpack s i;
#P number 396 279 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 353 278 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 379 326 15 0;
#P newex 379 300 27 196617 sel;
#P newex 396 222 97 196617 route duration time;
#P newex 323 222 32 196617 sel 1;
#P newex 323 242 68 196617 t getduration;
#P newex 323 181 83 196617 route read;
#P newex 64 113 74 196617 t gettime bang;
#P newex 346 42 48 196617 loadbang;
#P message 346 62 76 196617 read bball.mov;
#P toggle 87 54 15 0;
#P message 224 131 29 196617 stop;
#P message 190 131 33 196617 start;
#P newex 199 107 41 196617 sel 1 0;
#P newex 64 91 37 196617 metro;
#P newex 128 158 205 196617 jit.qt.movie 160 120 @autostart 0 @loop 0;
#P message 156 131 30 196617 read;
#P comment 94 37 13 196617 >;
#P fasten 7 0 3 0 92 81 69 81;
#P connect 3 0 10 0;
#P fasten 20 0 7 0 384 371 32 371 32 35 92 35;
#P fasten 21 0 2 0 46 152 133 152;
#P fasten 1 0 2 0 161 149 133 149;
#P fasten 5 0 2 0 195 147 133 147;
#P fasten 6 0 2 0 229 147 133 147;
#P connect 10 0 2 0;
#P connect 10 1 2 0;
#P fasten 12 0 2 0 328 266 115 266 115 153 133 153;
#P connect 8 0 2 0;
#P connect 4 0 5 0;
#P fasten 7 0 4 0 92 80 204 80;
#P connect 4 1 6 0;
#P fasten 11 0 19 0 328 200 284 200;
#P connect 2 1 11 0;
#P connect 19 1 13 0;
#P connect 13 0 12 0;
#P connect 9 0 8 0;
#P connect 14 1 17 0;
#P connect 17 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 20 0;
#P connect 11 1 14 0;
#P connect 14 0 18 0;
#P connect 18 0 15 1;
#P pop;

a suggestion ?

thank you to have read me !
Derrick.


February 26, 2007 | 2:09 pm

@loopreport 1

From the Reference Page:
Attributes

loopreport int
Loop notification flag (default = 0)
When enabled, the jit.qt.movie object will send the message
loopnotify when the playing movie passes the loop point. In
palindrome looping mode, the message will be sent at both the
beginning and the end of the movie.

jb

Am 26.02.2007 um 15:04 schrieb derrickgiscloux:

> I search how to get a bang, when jit.qt.movie rechead the end of a
> videofile.
> The way I found seems a little complicated to me …


February 26, 2007 | 2:11 pm

@loopreport 1

On 2/26/07, derrickgiscloux wrote:
>
>
> Hi list !
>
> I search how to get a bang, when jit.qt.movie rechead the end of a
> videofile.
> The way I found seems a little complicated to me …
>
> look at :
>
>
> max v2;
> #N vpatcher 301 52 902 514;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P comment 50 38 13 196617 |< ;
> #P message 41 55 39 196617 time 0;
> #P newex 379 347 21 196617 t 0;
> #P newex 279 202 54 196617 unpack s i;
> #P number 396 279 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 353 278 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P button 379 326 15 0;
> #P newex 379 300 27 196617 sel;
> #P newex 396 222 97 196617 route duration time;
> #P newex 323 222 32 196617 sel 1;
> #P newex 323 242 68 196617 t getduration;
> #P newex 323 181 83 196617 route read;
> #P newex 64 113 74 196617 t gettime bang;
> #P newex 346 42 48 196617 loadbang;
> #P message 346 62 76 196617 read bball.mov;
> #P toggle 87 54 15 0;
> #P message 224 131 29 196617 stop;
> #P message 190 131 33 196617 start;
> #P newex 199 107 41 196617 sel 1 0;
> #P newex 64 91 37 196617 metro;
> #P newex 128 158 205 196617 jit.qt.movie 160 120 @autostart 0 @loop 0;
> #P message 156 131 30 196617 read;
> #P comment 94 37 13 196617 >;
> #P fasten 7 0 3 0 92 81 69 81;
> #P connect 3 0 10 0;
> #P fasten 20 0 7 0 384 371 32 371 32 35 92 35;
> #P fasten 21 0 2 0 46 152 133 152;
> #P fasten 1 0 2 0 161 149 133 149;
> #P fasten 5 0 2 0 195 147 133 147;
> #P fasten 6 0 2 0 229 147 133 147;
> #P connect 10 0 2 0;
> #P connect 10 1 2 0;
> #P fasten 12 0 2 0 328 266 115 266 115 153 133 153;
> #P connect 8 0 2 0;
> #P connect 4 0 5 0;
> #P fasten 7 0 4 0 92 80 204 80;
> #P connect 4 1 6 0;
> #P fasten 11 0 19 0 328 200 284 200;
> #P connect 2 1 11 0;
> #P connect 19 1 13 0;
> #P connect 13 0 12 0;
> #P connect 9 0 8 0;
> #P connect 14 1 17 0;
> #P connect 17 0 15 0;
> #P connect 15 0 16 0;
> #P connect 16 0 20 0;
> #P connect 11 1 14 0;
> #P connect 14 0 18 0;
> #P connect 18 0 15 1;
> #P pop;
>
>
>
> a suggestion ?
>
> thank you to have read me !
> Derrick.
>
>


February 26, 2007 | 2:16 pm


June 4, 2007 | 9:24 am

is there a reason loopreport does not work in combination with [unique 1] ?


June 4, 2007 | 9:33 am

On 4 juin 07, at 11:24, yair reshef wrote:

> is there a reason loopreport does not work in combination with
> [unique 1] ?

I can’t reproduce that with Jitter 1.6.3 on mac.

ej


June 4, 2007 | 10:32 am

adding unique to this patch (in combination with loopreport) does not output
a loopnotify.
checked on two xp machines.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 361 183 26 9109513 print;
#P user jit.pwindow 127 222 82 62 0 1 0 0 1 0;
#P comment 50 38 13 9109513 |< ;
#P message 41 55 39 9109513 time 0;
#P newex 411 182 112 9109513 substitute loopnotify 0;
#P newex 346 42 48 9109513 loadbang;
#P message 346 62 76 9109513 read bball.mov;
#P toggle 87 54 15 0;
#P message 224 131 29 9109513 stop;
#P message 190 131 33 9109513 start;
#P newex 199 107 41 9109513 sel 1 0;
#P newex 64 91 57 9109513 qmetro 40;
#P newex 128 158 293 9109513 jit.qt.movie 160 120 @autostart 0 @loop 0
@unique 1 @loopreport 1;
#P message 156 131 30 9109513 read;
#P comment 94 37 13 9109513 >;
#P connect 2 1 14 0;
#P connect 2 1 10 0;
#P connect 3 0 2 0;
#P connect 2 0 13 0;
#P fasten 11 0 2 0 46 152 133 152;
#P fasten 1 0 2 0 161 149 133 149;
#P fasten 5 0 2 0 195 147 133 147;
#P fasten 6 0 2 0 229 147 133 147;
#P fasten 8 0 2 0 351 153 133 153;
#P connect 4 0 5 0;
#P connect 4 1 6 0;
#P connect 9 0 8 0;
#P fasten 10 0 7 0 416 301 32 301 32 35 92 35;
#P fasten 7 0 4 0 92 80 204 80;
#P fasten 7 0 3 0 92 81 69 81;
#P window clipboard copycount 15;

On 6/4/07, Emmanuel Jourdan wrote:
>
> On 4 juin 07, at 11:24, yair reshef wrote:
>
> > is there a reason loopreport does not work in combination with
> > [unique 1] ?
>
> I can’t reproduce that with Jitter 1.6.3 on mac.
>
> ej
>


June 4, 2007 | 11:55 am

On 4 juin 07, at 12:32, yair reshef wrote:

> checked on two xp machines.

Thanks I can reproduce that. It’s windows specific. In the meantime
you can use jit.change to filter duplicates frames.

ej


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