Simple RTSP-compatible camera image uploader to S3

rj829

n3wb
Feb 11, 2020
10
6
Colorado
I wrote this to upload from an Amcrest Doorbell and Ubiquiti Unifi camera (Flex) to AWS S3 for timelapse purposes.
I have a Raspberry Pi Zero W running it, uploads a frame as JPG every minute.

Hope it can help someone else. Took a bit of noodling to get ffmpeg to get a clean image, defaults to UDP and chops images up a bit.