slitscan

Mar 3, 2007 at 3:41pm

slitscan

i started experimenting with video slitscan technique.

i adapted the patch from the examples folder. the difference is that
i start the scan from every frame (the usual technique for 720/576
video is every 720 frames). the patch is far from realtime. i use it
to render frame by frame, but it renders quite slow. i attached the
patch below (i erased part of the patch that records frame by frame
to keep it as clean as possible).

i wonder if there are other, faster approaches to this problem that
someone wants to share.

i know that using framedump from jit.qt.movie is faster than my
method, but there seems to be a bug in jitter 1.5.2 (that i happen to
be using) – using end frame values larger than 1000 results in
dumping frames till the end of the movie. so i used sluzi and counter
method.

i also tried making the patch using one matrixset as a delay for each
vertical scanline. i started generating matrixset subpatches, first
one with single set and the last one with 720 sets, but didn’t manage
to finish. i guess there is some limit regarding ram (alltough 3.5 gb
ram on dual 2.0ghz g5 isn’t bad at all), because everything started
slowing down extremely….

klif

max v2;
#N vpatcher 89 44 1239 1015;
#P origin 0 35;
#P window setfont “Sans Serif” 14.;
#P comment 232 31 144 196622 2. start processing;
#P toggle 265 112 15 0;
#P toggle 109 240 15 0;
#P window setfont “Sans Serif” 9.;
#P newex 355 248 55 196617 delay 100;
#P newex 355 191 53 196617 t b b b b;
#P newex 496 103 27 196617 int;
#P newex 496 124 27 196617 + 1;
#P newex 249 55 23 196617 t b;
#P number 210 175 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 245 214 15 0;
#P button 355 166 15 0;
#P newex 245 238 49 196617 t 0 clear;
#P message 249 175 79 196617 frame $1 , bang;
#P button 232 55 15 0;
#P newex 249 79 67 196617 sluzi 720 40;
#P message 448 124 44 196617 max $1;
#P message 396 107 41 196617 min $1;
#P number 448 77 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 448 103 37 196617 + 720;
#N counter 0 719;
#X flags 0 0;
#P newobj 249 151 74 196617 counter 0 719;
#P message 64 105 30 196617 read;
#P newex 208 238 32 196617 print;
#P message 93 163 75 196617 getframecount;
#P message 174 320 91 196617 dstdimend $1 575;
#P message 86 320 85 196617 dstdimstart $1 0;
#P message 158 302 92 196617 srcdimend $1 575;
#P message 70 302 85 196617 srcdimstart $1 0;
#P newex 70 248 20 196617 t b;
#N counter 0 719;
#X flags 0 0;
#P newobj 70 269 74 196617 counter 0 719;
#P button 17 102 15 0;
#P newex 51 351 282 196617 jit.matrix food 4 char 720 576 @usedstdim
1 @usesrcdim 1;
#P newex 51 217 167 196617 jit.qt.movie 720 576 @autostart 0;
#P user jit.pwindow 50 380 722 578 0 1 0 0 1 0;
#P window setfont “Sans Serif” 14.;
#P comment 67 77 100 196622 1. read movie;
#P fasten 21 0 2 0 254 208 56 208;
#P fasten 13 0 2 0 69 201 56 201;
#P fasten 4 0 2 0 22 123 56 123;
#P fasten 11 0 2 0 98 204 56 204;
#P connect 2 0 3 0;
#P fasten 7 0 3 0 75 329 56 329;
#P fasten 9 0 3 0 91 339 56 339;
#P fasten 8 0 3 0 163 337 56 337;
#P fasten 10 0 3 0 179 341 56 341;
#P fasten 22 1 3 0 289 345 56 345;
#P fasten 3 0 1 0 56 374 56 374;
#P fasten 2 0 6 0 56 240 75 240;
#P connect 6 0 5 0;
#P connect 5 0 7 0;
#P fasten 31 0 5 1 114 258 91 258;
#P fasten 5 0 9 0 75 296 91 296;
#P fasten 22 0 5 2 250 262 107 262;
#P fasten 5 0 8 0 75 294 163 294;
#P fasten 5 0 10 0 75 296 179 296;
#P connect 2 1 12 0;
#P fasten 14 0 25 0 254 171 215 171;
#P fasten 29 1 22 0 374 233 250 233;
#P connect 24 0 22 0;
#P fasten 30 0 26 0 360 273 634 273 634 49 254 49;
#P connect 20 0 26 0;
#P connect 26 0 19 0;
#P connect 19 0 14 0;
#P fasten 18 0 14 0 453 145 254 145;
#P fasten 17 0 14 0 401 141 254 141;
#P connect 14 0 21 0;
#P connect 32 0 14 1;
#P fasten 19 1 23 0 282 100 360 100;
#P connect 23 0 29 0;
#P connect 29 0 30 0;
#P fasten 16 0 17 0 453 99 401 99;
#P fasten 27 0 16 0 501 147 539 147 539 67 453 67;
#P connect 16 0 15 0;
#P connect 15 0 18 0;
#P fasten 29 2 28 0 388 222 606 222 606 85 501 85;
#P connect 28 0 27 0;
#P fasten 16 0 28 1 453 96 518 96;
#P pop;

#30608

You must be logged in to reply to this topic.