random clips

Sep 12, 2007 at 11:50pm

random clips

hi all …
i?m working on a video project which is basicly about a more or less never ending video clip. the project will last for about 3 mounth on fassade of the kunsthaus graz http://www.bix.at i would like to generate as many clips as needed to fill the 3 mounth of playback.

we recorded the main street leading by the kunsthaus serveral times from the exact point in a tram so we have some identical clips with different urban scenario in front. by cutting them on specific point with in the street we try to create a hundrets of clips by combining the parts of everysingle captured movie with the other.

i?m not sure what is the most efficent way of cutting the clip into peaces should i do it before in FCP so ill get hundrets of clips to load in one after the other. i would prefer to load the whole 6 clips in once and cut them in jitter but it might be hard to cut at the exact point since the point are different in every clip because of the speed of the tram. it could be usefull to create markers to jump to. in max or FCP

the probability says that there gonna be millions of combinations but i dont know how to implement the formula to not get duplicates

can any one point me to the write way how to combine the clips in an efficent way.

m.

#33654
Sep 13, 2007 at 8:55pm

One possible approach:

* scrub through the clip in [jit.qt.movie] to find cutpoints, send
‘gettime’ to spit them out, record those into a [coll] with an index
number
* use [urn] (non-repeating RNG) to choose index numbers for sets of
looppoints to send to your playback [jit.qt.movie]‘s
* listen for the end of the movie so you can preload the next one and
trigger a crossfade when the time is right
** heed the words of vade about preloading (http://www.cycling74.com/
forums/index.php?
t=msg&goto=114962&rid=0&S=a9546d20b1d9a67233677b5f799f6cff):

> jit.qt.movie @preroll 1 @autostart 0.
>
> load the movie, start it and immediately stop it. it becomes cued and
> ready to play without a pause (thus, uh, prerolled)
>
> just send ‘start’ when you want it to play.

and here’s a patch that demonstrates how jit.qt.movie handles time
and “loopreport” isn’t reliable:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 176 253 44 196617 duration;
#P comment 352 235 60 196617 timescale;
#P comment 352 218 26 196617 fps;
#P comment 128 274 26 196617 time;
#P comment 457 517 129 196617 patch originally from vade;
#P flonum 268 393 76 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 312 324 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 285 347 27 196617 *;
#P newex 268 369 27 196617 -;
#P toggle 251 441 43 0;
#P newex 251 415 27 196617 >;
#P button 492 395 92 0;
#P newex 510 368 71 196617 sel loopnotify;
#P toggle 517 106 15 0;
#P message 517 128 71 196617 loopreport $1;
#P number 156 273 50 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 222 252 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 169 28 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user jit.fpsgui 101 516 60 196617 0;
#P message 36 97 44 196617 gettime;
#P number 275 296 73 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 275 271 27 196617 / 1.;
#P flonum 312 217 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 246 136 33 196617 start;
#P number 136 117 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 136 135 52 196617 frame $1;
#P message 212 136 29 196617 stop;
#P message 201 111 160 196617 getduration , gettimescale , getfps;
#P number 275 235 72 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 101 492 126 196617 jit.window FrameExample;
#P toggle 101 29 15 0;
#P message 192 83 221 196617 read , getduration , gettimescale ,
getfps , stop;
#P newex 201 193 160 196617 route time duration timescale fps;
#P newex 101 48 78 196617 qmetro 33.333;
#P newex 101 163 63 196617 jit.qt.movie;
#P window linecount 2;
#P comment 204 47 332 196617 quicktime keeps track of things in
QTUnits , not ‘frames’ per se. gettime tells you the cuttent
‘QTTime’ (or something to that effect’ in QTUnits;
#P window linecount 1;
#P comment 352 297 100 196617 one frame in QTUnits;
#P window linecount 2;
#P comment 352 317 100 196617 # of frames to subtract from total;
#P connect 24 0 23 0;
#P fasten 5 4 25 0 354 214 515 214;
#P connect 25 0 26 0;
#P connect 5 3 15 0;
#P fasten 17 0 30 1 280 329 307 329;
#P connect 15 0 16 1;
#P connect 30 0 29 1;
#P connect 31 0 30 0;
#P connect 16 0 17 0;
#P connect 9 0 16 0;
#P connect 5 2 9 0;
#P connect 32 0 27 1;
#P connect 29 0 32 0;
#P connect 21 0 29 0;
#P connect 27 0 28 0;
#P connect 22 0 27 0;
#P connect 5 1 21 0;
#P fasten 3 1 5 0 159 186 206 186;
#P connect 20 0 4 1;
#P connect 5 0 22 0;
#P connect 13 0 12 0;
#P connect 8 0 19 0;
#P connect 3 0 8 0;
#P connect 4 0 18 0;
#P connect 4 0 3 0;
#P fasten 23 0 3 0 522 157 106 157;
#P fasten 14 0 3 0 251 157 106 157;
#P fasten 12 0 3 0 141 157 106 157;
#P fasten 11 0 3 0 217 157 106 157;
#P fasten 10 0 3 0 206 157 106 157;
#P fasten 6 0 3 0 197 157 106 157;
#P connect 18 0 3 0;
#P connect 7 0 4 0;
#P window clipboard copycount 38;

#112394

You must be logged in to reply to this topic.