Skip to content

Records stream of your camera and based on JPGs created as the result of motion detection, uploads videos to Backblaze B2 Cloud Storage

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

Shohou/camrecorder

Repository files navigation

Overview

Camrecorder is meant to be used with cheap surveillance cameras which can write JPG images based on motion detection, but can't write videos. Camrecorder records the video stream with the help of FFmpeg and uploads interval of it to the Backblaze B2 Cloud Storage when it finds a new JPG file saved, meaning there was some motion detected.

#Usage

Usage:
  camrecorder <streamUrl> <campath> <backblazeAccount>:<backblazePassword>@<backblazeBucketName>/<bucketPrefix> [flags]

Flags:
  -h, --help                    help for camrecorder
      --path-to-events string   path to JPG files after date named directory (default "01/pic")
  -r, --result-path string      path to the files with resulting video events - /var/lib/camrecorder/events (default "/var/lib/camrecorder/events")
  -v, --video-path string       path to video files saved from the stream, default value - /var/lib/camrecorder/video (default "/var/lib/camrecorder/video")
  -z, --zone-id string          zone id configured on the camera, default value - UTC (default "UTC")

About

Records stream of your camera and based on JPGs created as the result of motion detection, uploads videos to Backblaze B2 Cloud Storage

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages