Forums > Jitter

Last frames not played with @loop 0

November 21, 2009 | 3:03 pm

I have been testing Vades "movie optimization patches" (thank you Vade)

But, i noticed that, if one ads @loop 0 atribute to jit.qt.movie object, the movie does not play to the end (last couple of frames are not played). Why? Cant figure it out. Everything works fine, if just use plain jit.qt.movie object, but if this openGl stuff is added it suddenly does not play the last frames. Probably something to do with render order/timing?

I’m using max 4.6.3 + Jitter 1.6.3.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 551 234 289 9109513 the dimscale attributes takes care of the ‘Macro pixel voodoo’;
#P window linecount 4;
#P comment 156 371 355 9109513 Note that some people on the max list have noted performance issues with these sorts of patches with much larger video sizes , namely around HD resolution – reports of stuttering and judder are common. See the next patch for a possible workaround.;
#P window linecount 1;
#P newex 170 230 365 9109513 jit.gl.slab Optimized @file cc.uyvy2rgba.lite.jxs @automatic 0 @dimscale 2. 1.;
#P user jit.fpsgui 25 285 60 9109513 0;
#P newex 155 171 40 9109513 t b b b;
#P newex 155 261 289 9109513 jit.gl.videoplane Optimized @automatic 0 @transform_reset 2;
#P newex 25 261 112 9109513 jit.gl.render Optimized;
#P newex 25 137 58 9109513 t b b erase;
#P toggle 25 91 15 0;
#P newex 25 109 57 9109513 qmetro 16;
#P newex 27 391 105 9109513 jit.window Optimized;
#P message 201 172 30 9109513 read;
#P newex 185 201 263 9109513 jit.qt.movie @adapt 1 @unique 1 @colormode uyvy @loop 0;
#P window linecount 6;
#P comment 276 66 387 9109513 this patch is essentially the same as patch # 4 , however we are using a shader to convert our video from uyvy to rgba. uyvy textures use less bandwidth because they are a "macro pixel format" , meaning uyvy exploits some fundamental assumptions in the way the eye processes data. basically , the color/chroma information is reduced , lowering the amount of information uploaded to the graphics card per video – thus increasing performance if many videos are to be uploaded.;
#P connect 9 2 1 0;
#P fasten 2 0 1 0 206 194 190 194;
#P connect 1 0 11 0;
#P connect 9 1 11 0;
#P connect 11 0 8 0;
#P connect 9 0 8 0;
#P fasten 6 1 9 0 54 159 160 159;
#P connect 7 0 10 0;
#P connect 6 0 7 0;
#P connect 6 2 7 0;
#P connect 4 0 6 0;
#P connect 5 0 4 0;
#P window clipboard copycount 14;


November 29, 2009 | 12:00 am

if you switch off unique attribute to jit.qt.movie, it should be playing all the frames.


December 4, 2009 | 10:45 pm

ok, glad someone else caught this. waiting for a fix on this; using unique 0 is a waste.


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