The weekly post. As usual, not my blog, just a good community share. Authors are on Mastodon at @[email protected].

  • @hperrin
    link
    English
    38 months ago

    I’ve got something I’m hoping to see on here in a couple weeks.

    I started work yesterday on a self hosted security camera system that uses v4l2 (so it works with webcams).

    https://github.com/sciactive/soteria

    Locally, I’ve got it loading the stream from the camera, encoding, and muxing, then pushing to a filesystem write stream, but I’ve discovered software based encoding in single threaded WASM is just too slow for what I’m trying to do. I’m going to rewrite it today to use FFMPEG externally for encoding.

    It’s meant to be used with my WebDAV server

    https://github.com/sciactive/nephele

    which supports encryption and storage in a S3 compatible service. So you’ll get the benefits of a cloud security camera, but Google/Amazon/whatever won’t have access to your video.

    • TekhneOP
      link
      fedilink
      English
      28 months ago

      You should reach out to the authors! I have no clue how they create their “new” section

      • @hperrin
        link
        English
        48 months ago

        I’m gonna wait until it’s ready to install. Right now it’s just in the early stages of development.

    • @fangleone2526
      link
      English
      28 months ago

      This is really cool! Do you know of any existing tools doing similar stuff to this ?

      • @hperrin
        link
        English
        1
        edit-2
        8 months ago

        There’s a few. You can search for “open source security camera” to find them.

        The reason I’m building mine, instead of going with another solution is because I have a hard requirement that if all of my devices are offline, destroyed, or stolen, I want to still be able to see my videos (so cloud storage is required), and I want everything that goes into the cloud to be end to end encrypted.

        That basically means everything necessary to view videos has to be stored in the cloud except the decryption password. So anything with a local database or unencrypted storage is out.

        Some existing systems support some of those requirements, but afaik, there aren’t any that support all of the above (at least not easily). With Soteria and Nephele, if all of your cameras are offline and your WebDAV server is offline, you can just spin up a local WebDAV server with your S3 info, and you’ve got a working client to view all of your footage.

        Having that can really help when something goes wrong. For example, I currently use Google Nest cams, and I was able to tell why my cameras went offline while I was away when the camera caught the transformer down the street blowing up right before the video cut out.