XML Feeds

.

[maxmsp] [jitter] Framesync issue ( frame vs. frame_true)

leovanderveen leo at student-kmt.hku.nl
Tue Jan 22 07:21:39 MST 2008


Hi list,

I encountered a very weird problem with the jit.qt.movie object. I'm  
trying to build a framesync video player over net.maxhole. Everything  
just worked great but now I have this problem :

- Loading in a H.264 movie (in my case a movie trailer I found, but  
problem occurs with all files I tried)

- Both [frame 250] and [frame_true 250] take me to the same frame, so  
far so good

- Loading in a movie with another format/codec (in my case I tried  
with the crashtest movie from patches/media)

- [frame 250] and [frame_true 250] refer to different frames.

- Loading back the original/initial movie also refers to different  
frames

I tried to load in movies via [dispose,clear,read] command to be sure  
no settings have been left by the previous movie, still nothing will  
work but to delete the qt.movie object and put it back on stage. So,  
is there any command to totally reset the qt.movie object. Or is  
there a way to work around the frame vs frame_true issue (the  
difference is not just a few frames but might be over 500 in some  
cases !).

The software I'm building should be able to cope with flexible file  
formats so it should be great to solve this issue

Here's a patch to reproduce this issue :

max v2;
#N vpatcher 25 284 1272 1072;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 168 181 83 196617 frame_true 500;
#P message 171 224 58 196617 frame 500;
#P newex 95 263 20 196617 t b;
#B color 5;
#P message 384 88 59 196617 getduration;
#P message 316 88 65 196617 gettimescale;
#P message 271 88 42 196617 gettime;
#P newex 414 317 30 196617 print;
#P message 226 88 42 196617 getrate;
#P message 118 87 94 196617 dispose \, clear \, read;
#P user jit.pwindow 117 358 322 242 0 1 0 0 1 0;
#P newex 118 263 306 196617 jit.qt.movie 320 240 @autostart 0  
@highquality 1 @deinterlace 1;
#B color 5;
#P connect 10 0 8 0;
#P connect 9 0 8 0;
#P connect 10 0 0 0;
#P connect 9 0 0 0;
#P connect 2 0 0 0;
#P fasten 3 0 0 0 231 141 123 141;
#P fasten 7 0 0 0 389 141 123 141;
#P fasten 6 0 0 0 321 141 123 141;
#P fasten 5 0 0 0 276 141 123 141;
#P connect 8 0 0 0;
#P connect 0 0 1 0;
#P connect 0 1 4 0;
#P pop;



More information about the maxmsp mailing list