How to loop captured frames from cache node in realtime?

Hello! I’m a newbie so I suppose I have a rather simple question.
I have a live capture and output setup from my webcam via videoin-cache-out nodes. I need to loop the contents of cache at a click of a button and output them in real time. So when I click the button the buffer fills and closes and it’s contents loop, and when I click again, the buffer is emptied and fills again. Can’t figure out how to do this. Tried to mess with prefill option, read help on it, but didn’t succeed. Any help appreciated, maybe pointing in right direction.

Was curious about the same yesterday and found this in the forum.

1 Like

Thank you, saucemonster! Will look through it.

UPD: Yes, that is exactly what I was looking for. Some things look like rocket science to me now, but that’s ok. Thank you once again!

2 Likes