I'm putting together a Raspberry Pi project where I capture video for 2 to 3 hours in order to automatically create a montage at the end of the period from an array of timestamps collected during the period.
The plan is to use a button that, when pressed, stores the current times in an array. Assign a listener which, on detection of record-end, iterates through the timestamp array, each time capturing the previous 30 secs from the corresponding frame in the video file. Then on iteration completion, save all the captures into a single montage.
Starting/stopping/saving the video and assigning a button to maintain the timestamp array is already working. What I don't know is what library to use for the video manipulation or even what is possible re what I envision. I would prefer to use NodeJS if possible.