Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs pi security system using OBS Studio #7

Open
Philius opened this issue Nov 16, 2023 · 1 comment
Open

zfs pi security system using OBS Studio #7

Philius opened this issue Nov 16, 2023 · 1 comment

Comments

@Philius
Copy link

Philius commented Nov 16, 2023

Hi there.

I'm pathfinding a security system too.

My approach is to have a bunch of Pi's booting over nfs and serving video and a USB mic audio over RTMP or RTSP.

With OBS running on the server (an old laptop) this can

  1. show them all in one scene
  2. cycle through them in another scene
  3. make both scenes available to view via Wi-Fi or wired network (two OBS instances? Not sure)
  4. switch to a particular camera when motion or some event is detected, maybe with a red border
    I think RTMP can include data streams
    I also believe that RTMP would allow the Pi's to serve a low resolution version of the stream, suitable for the all in one scene.
  5. overlay the camera with its location and maybe the current date/time
  6. save the individual camera stream data to disk
  7. maybe save the scenes to disk too
  8. ensure key frames (I-frames) happen every 2 seconds and use them to write time-lapse videos to disk
  9. Write a GUI that allows the user to quickly scrub through the time lapse videos and switch to individual camera streams for real time playback of a particular event
  10. Use my phone to switch scenes or view a particular stream and even talk to someone at the other end with a speaker
    That last part would require active sound cancellation.
    Maybe walkie-talkie mode?
    This introduces the possibility of people at two or more Pi "nodes" being able to communicate.
    Am I aiming too high?

I figure I can have up to 10 Pi's serving video footage on a 1Gig wired network.

All of this would also be really useful for a studio setup too!

I mentioned zfs as it allows snapshots so you could save a snapshot and have spinning disk pools, something I've already got running in my setup.

Of course this issue is for your feedback and that of the community.

@Philius
Copy link
Author

Philius commented Nov 26, 2023

This just appeared in my YouTube watch list: Custom electronics for home automation by Nate Sweet.

This is home automation nirvana!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant