Sidehistorik
I have 4 Reolink cams, 3 x 510WA and 1 x 510A - seems pretty much the same, just the "WA" hawing Wifi, and the "A" having POE.
I started installing frigate reading the docs and learning from this Youtube video.
The first mistake was to install via DockerHub, now a days the image is at GitHub, so I spend a lot of time on an old version and new documentation.
Second mistake, I started using the config from https://docs.frigate.video/configuration/camera_specific#reolink-cameras and with --shm-size=64m
This gave me ALL sort of trouble, and the cameras stalled within seconds; i tried all sort of streams, https, rstp, rmtp etc etc.
Then I can across this Youtube video, and found that a simple stndard RTSP are working just fine (must be enabled on the Camera) - WITH more memory for 4 cams.
My first
Starting frigate:
Kodeblok |
---|
docker run -d \ --name frigate \ --restart=unless-stopped \ --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \ --device /dev/bus/usb:/dev/bus/usb \ --shm-size=256m \ -v /mnt/LaCie/nas/frigate:/media/frigate \ -v /opt/frigate/config.yml:/config/config.yml:ro \ -v /etc/localtime:/etc/localtime:ro \ -e FRIGATE_RTSP_PASSWORD='***********' \ -p 5000:5000 \ -p 1935:1935 \ ghcr.io/blakeblackshear/frigate:master-433bf69-tensorrt |
...