iterated delayed video

robdabank's picture

Hi all,

I just dived in QC recently, and since yesterday have been scouring through all this amazing stuff here at Kineme. Very cool, very useful.

Quick question if I may:

I have a problem with a queue inside an iterator... I want to create a line of video frames (all coming from the same video file) each delayed by one (or multiple of 1) frames; creating a stream of frames in a line.

I get the video image in the iterator works fine, a video delay (also found in this forum) works fine, but when I try to combine these two functions in a single iterator I cannot set the needed different delay times for each of the video frame iterations - instead the queue gives the same (delay) value to each.

I tried many things, and here put the basis things back in this patch to illustrate this... (iterate_video_row.qtz)

Many thanks for any advice - please forgive my clumsiness, I'm just entering this world since a few days...

Best regards, Rob

PreviewAttachmentSize
iterate_video_row.qtz31.61 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

monobrau's picture
Re: iterated delayed video

jersmi's picture
Re: iterated delayed video

Try moving the Queue outside the Iterator. Then inside the Iterator, publish the Structure port for the Queue and connect Current Index to Structure Index Member "Index". You could also subtract current index from your global delay instead of multiply.

robdabank's picture
Re: iterated delayed video

that's cool - thanks monobrau I looked at it - shall study it thoroughly after I catch my fish yes...here also the queue outside the iterator

robdabank's picture
Re: iterated delayed video

thank you Jersmi

I added a few steps. the "delay" needs to pass in (to the structure) a stepped frame delay according to the number windows iterated... otherwise the delay doesn't work (as I would like).

only now each time I change the delay time, the queue needs to refill itself. (and this is visible in the output) I wonder if one can preload the queue and then seamlessly play with the delay time (or modulate it), without seeing it reload in the viewer...

Anyway - you've helped me a lot - I really appreciate these tips to jump start my learning in QC.

This is a very cool forum by the way, you guys kick booty - we shall be delving deeper!! ;)

cheers, Rob

PreviewAttachmentSize
wall_iterate_2.qtz33.73 KB

jersmi's picture
Re: iterated delayed video

I guess after the queue fills you could turn off "filling" then animate the frame indices inside the Iterator using some kind of timebase (Interpolation, Patch Time, etc.) with some maths and Current Index.

robdabank's picture
Re: iterated delayed video

right jersmi, got it - thanks!

zanroversi's picture
Re: iterated delayed video

Hello !

This reminds me a "video time shifter", made some times ago.

It gived to me a very strange feeling, watching it during development... Like a short blink behind the back of your life...

you can adjust "time offset" between each screen and change "mode" between multi-screen and a sort of time-mix.

greetings

PreviewAttachmentSize
m.qtz20.26 KB