1
I have a Hikvision IP camera (DS-2CD2332-I: 3MP, IR, h.264 stream) mounted on the front of my house, and I'd like to record its stream, so that it can be later watched - for example, if there is a crime committed.
I've done some research on this, and all the answers I find point towards applications that do selective recording via motion detection, and transcode the video too. I've tested some applications (iSpy, and another which I forget) and found the recorded quality to be poor, sometimes unusable. Perhaps some/all of the motion detection applications can disable the motion detection and transcoding, but I have a suspicion (perhaps unfounded) that the motion detection and transcoding are adding a lot of complexity, and that's getting in the way of the recording reliability.
Question: What is the simplest way of configuring a system that will:
- Write the camera's video stream direct from network to disk, as mp4 file
- Every hour, end one file, and start a new one (date as filename)
- When total size in folder exceeds nGB (e.g. 150) delete the oldest file
- Have an uptime > 99%
Back of the envelope math says that a 2 Mbps stream is 22GB per day, so I could store 1 week of files on 150 GB.
Bonus points if it's open source, and python, so I can tinker with it. Double bonus if it can run on low power machine / raspberryPi
Thanks
1You seem to be "asking for a product, service or learning material recommendation,", but that is explicitly off-topic. – Ron Maupin – 2016-01-28T02:38:59.727