as a result of the breakin/theft, I propose installing 2 cheap ptz ip cameras in the space and use a system I have already created for controlling such cameras using Docker and ffmpeg to make a streamable, recordable feed.
- 2x PTZ ip cameras, of which I am happy to contribute Like so
- Somewhere to run some docker containers on some moderately powerful computer.
Options available to us to use the cameras would include:
- Streaming (though unlikely to be used in the space, due to our poor upload speed)
- Storing to disk (with a cron task to rotate older video to /dev/null)
- Single frames to view akin to the Swindon Makerspace “lookaround” telegram bot.
Source code: https://github.com/CameraCCTV/Camera
Mechanism of operation:
There are several docker containers:
- Stream Server
- Web UI
An instance of the Encoder is run for each camera. This handles the ffmpeg encoding of the input video
The Stream server receives the video stream and makes it available to either be streamed to a user (Via the Web UI) or to the …
Recorder container, which consumes all video feeds and turns them into 5 minute long webm files which can be deleted/rotated by a cron task as desired.
The Web UI container, though likely not to be made available to outside the hackspace LAN, also provides support for PTZ and enforcing correct time stamps on the cameras.