evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
40 stars 10 forks source link

Ability to specify a remote storage location for a footage extraction or snapshot(s) #427

Open marcoherbst opened 7 months ago

marcoherbst commented 7 months ago

The request (from @halimb ) is for the ability to ask ExNVR to upload a clip to a remote destination. (e.g. S3 bucket).

One suggestion might be to use the existing endpoint, which returns a video file https://evercam.github.io/ex_nvr/#/Media%20Streaming/downloadFootage

and be able to specify one of the RemoteStorageIDs or a custom URL for an S3 upload (with auth token, I suppose).

@magixus asked about functionality to make an extraction of snapshots uploaded to an s3 location. This could be a similar endpoint with additional parameters to specify either total # snapshots or an interval in seconds.