Forums > Jitter

jit.qt.movie feature request @colorspace native (constructive criticism please)

January 2, 2008 | 6:35 pm

Hello

I thought I might repost this in its own thread so it gets attention
from the elves! (happy new year by the way!) Yes I am aware this may
not happen at all, and if it does plan I can wait till 2.0 :P

This was discussed in the uyvy optimization thread:

*feature request below!*

it might be nice if there was an attribute @colorspace native which
would also dumpout the colorspace on the rightmost outlet (dumpout
outlet) right before the movie plays its first frame, and load the
movie natively.

This would allow you to :

*Have a fastpath GPU uploading solution that would retain alpha
channel should your quicktime movie have one, or skip right to UYVY
those that need it.

*Decide what to do with the alpha channel should you want to keep it.

I was thinking it might be useful for something like this: Does this
make sense?

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 242 426 192 196617 argb with alpha – only if the codec has
it;
#P newex 231 442 261 196617 jit.gl.texture v001 @adapt 1 @automatic 0
@mode argb;
#P newex 213 541 327 196617 jit.gl.slab v001 @automatic 0 @file
cc.uyvy2rgba.jxs @dimscale 2. 1.;
#P message 496 304 14 196617 3;
#P message 465 304 14 196617 2;
#P message 434 304 14 196617 1;
#P newex 213 364 47 196617 gate 3 1;
#P newex 434 278 72 196617 sel uyvy argb;
#P newex 434 254 85 196617 route colorspace;
#P message 271 196 30 196617 read;
#P newex 179 582 269 196617 jit.gl.videoplane v001 @transform_reset 2
@automatic 0;
#P newex 199 232 245 196617 jit.qt.movie @adapt 1 @unique 1
@colorspace native;
#P newex 199 200 65 196617 qlim 33.333;
#P newex 179 177 30 196617 t b b;
#P toggle 24 68 15 0;
#P newex 24 94 51 196617 qmetro 2;
#P newex 24 132 58 196617 t b b erase;
#P newex 87 621 157 196617 jit.window v001 @depthbuffer 1;
#P newex 24 285 92 196617 jit.gl.render v001;
#P comment 222 524 112 196617 uyvy fastpath no alpha;
#P connect 18 0 9 0;
#P connect 13 2 18 0;
#P connect 11 0 12 0;
#P connect 12 0 14 0;
#P connect 12 1 15 0;
#P connect 12 2 16 0;
#P connect 16 0 13 0;
#P connect 15 0 13 0;
#P connect 14 0 13 0;
#P connect 13 1 18 0;
#P connect 17 0 9 0;
#P connect 13 0 17 0;
#P connect 8 0 13 1;
#P connect 8 1 11 0;
#P fasten 10 0 8 0 276 227 204 227;
#P connect 7 0 8 0;
#P connect 6 1 7 0;
#P connect 6 0 9 0;
#P fasten 3 1 6 0 53 163 184 163;
#P connect 3 0 1 0;
#P connect 3 2 1 0;
#P connect 4 0 3 0;
#P connect 5 0 4 0;
#P window clipboard copycount 20;


Viewing 1 post (of 1 total)