[jitter] Re: Video Delay in Jitter
Cheng Chien-Wen
ondinecomposer2 at hotmail.com
Mon Dec 17 20:16:25 MST 2007
- Previous message: [jitter] Re: one dv input, two computer
- Next message: [jitter] Re: Video Delay in Jitter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The abstraction for video delay works great, but I don't understand the theory behind it Could someone help explain the patch to me ? Why does the change of the third number in "srcdimstart 0 0 $1" or in "srcdimend 319 239 $1" affect the delayed video ? (I thought the 3rd number only deal with dimension but not with time.) What does the formula in the expr object do ? Could someone help ? Thanks. Quote: KillingFrenzy wrote on Thu, 22 February 2007 14:35 ---------------------------------------------------- > A 3d matrix way of doing it, which I find to be more reliable than the matrixset object. > I have this configured for 0-127 frames of delay. Just substitute values or variables for "127" maximum or "128" frames as necessary to have a different defined buffer of sorts. > > Paste this: > > > #P outlet 37 209 15 0; > #P inlet 157 2 15 0; > #P inlet 37 1 15 0; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P newex 56 125 111 9109513 expr (($i1+128)-$i2)%128; > #P newex 37 171 215 9109513 jit.matrix 4 char 320 240 @usesrcdim 1 @adapt 0; > #P message 56 149 182 9109513 srcdimstart 0 0 \$1 \, srcdimend 319 239 \$1; > #N counter 0 0 127; > #X flags 0 0; > #P newobj 56 57 73 9109513 counter 0 0 127; > #P message 56 79 182 9109513 dstdimstart 0 0 \$1 \, dstdimend 319 239 \$1; > #P newex 37 101 233 9109513 jit.matrix 4 char 320 240 128 @usedstdim 1 @interp 0; > #P newex 37 29 29 9109513 t l b; > #P comment 2 3 30 9109513 Delay; > #B color 10; > #P comment 55 209 69 9109513 Delayed Video; > #P comment 54 1 52 9109513 Input Video; > #P comment 175 1 64 9109513 Delay Amount; > #P user panel 1 0 34 20; > #X brgb 0 0 0; > #X frgb 0 0 0; > #X border 1; > #X rounded 0; > #X shadow 0; > #X done; > #P connect 13 0 11 1; > #P connect 11 0 9 0; > #P connect 8 0 11 0; > #P connect 8 0 7 0; > #P connect 5 1 8 0; > #P connect 10 0 14 0; > #P connect 9 0 10 0; > #P connect 6 0 10 0; > #P lcolor 13; > #P connect 5 0 6 0; > #P lcolor 13; > #P connect 7 0 6 0; > #P connect 12 0 5 0; > #P window clipboard copycount 15; > ----------------------------------------------------
- Previous message: [jitter] Re: one dv input, two computer
- Next message: [jitter] Re: Video Delay in Jitter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
