I have a PTZ security camera connected to the Internet. I need to capture the action every 2 minutes. These are the “last 2 min” that are overwritten continuously. I have a connection to alarm signaland I'm looking for a software that can save the “last 2 min” of a file every time it gets an alarm signal so I will be able to capture video from 2 min before alarm occurred. Help me, please!