this post was submitted on 30 Jul 2023
30 points (100.0% liked)
Free and Open Source Software
17916 readers
100 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have a server at home, so this might not apply to you. But I used this software (https://github.com/bluenviron/mediamtx) to proxy the rtsp streams from cameras. It makes the streams available over multiple formats, so I stick the webrtc stream from the security cameras into a little, super simple html page I threw together. Bookmarked, on my android home screen, and I'm one click from seeing all of my cameras streaming while I'm on LAN.
Then I wrote a simple bash script to call ffmpeg to take a snapshot from each rtsp stream every x interval. I rewrote the landing page to show a table of those snapshots and each image is a hyperlink to the direct webrtc link to that camera's stream. And the html page refreshes itself every x seconds.
I'm happy with this approach so far. The streams are now easily available on Android, Windows, Linux devices, no app beyond a web browser required.
What I plan to do next:
Make the web server and proxied streams available over my mesh VPN so that the landing page and cameras are available from outside the LAN.
Start throwing images at doods (https://github.com/snowzach/doods2) to identify objects, and pass the detection and image to a messenger like xmpp or matrix or telegram or even an irc channel to push an alert to me.