Storing and Playing Video with Node-RED

Hi all,

I have an IP network cam which should send me the video material to a Raspberry Pi running Node-RED. I want to use Node-RED to store the video in a ring buffer that only contains the last 5 minutes. If I now press a button, the contents of the ring buffer are to be written to another memory and played back on the dashboard.
The ring buffer continues to record.

Do you have any idea if the implementation with Node-RED is so possible?
And do you have any tips for this?

Thank´s

Georg

Hi Georg, I assume the ring buffer is not in memory (because Pi has very limited ram) but somewhere on disc (and not on your Raspberry's SD card because don't think it would last long that way)?

If you are storing the images somewhere on an external disc, you could perhaps store the paths to those images files in a ring buffer. I use in mynode-red-contrib-msg-speed node the circular-buffer library which works fine.

Bart