unRaidDocker Frigate - ArveVM/MyAssistedHome GitHub Wiki
Upgrading go2rtc
(within Frigate-docker, so go2rtc is newer than official Frigate-version of go2rtc)
by downloading latest go2rtc_linux_amd64 release ) from https://github.com/AlexxIT/go2rtc/releases/ to /appdata/frigate
- rename to go2rtc
- make sure file is executable, and owner=nobody
- restart Frigate-docker)
thanks to Thomas and Kenneth :)
move DB:
- create folder /appdata/frigate/db
- add docker path
- add to config.yaml
# Move DB to NVME-disk - configure path to /db in docker-config
database:
path: /db/frigate.db
partly sharing the Frigate-config, for mrKim :)
########################################################################
cameras:
west1: # D-link DCS-8302LH
ffmpeg:
inputs:
- path: "{FRIGATE_go2rtsp_RESTREAM}west1" # <--- the name here must match the name of the go2rtc-stream
input_args: preset-rtsp-restream
roles:
- record
- path: "{FRIGATE_go2rtsp_RESTREAM}west1_sub" # <--- the name here must match the name of the go2rtc-stream
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: west1 # <--- the name here must match the name of the go2rtc-stream
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 560,0,560,42,0,42,0,0
garage_front: # Reolink RLC810A
ffmpeg:
inputs:
- path: "{FRIGATE_go2rtsp_RESTREAM}garage_front" # <--- the name here must match the name of the go2rtc-stream
input_args: preset-rtsp-restream
roles:
- record
- path: "{FRIGATE_go2rtsp_RESTREAM}garage_front_sub" # <--- the name here must match the name of the go2rtc-stream
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: garage_front # <--- the name here must match the name of the go2rtc-stream
detect:
width: 896 # <---- update for your camera's resolution
height: 512 # <---- update for your camera's resolution
fps: 5
motion:
mask:
- 390,0,390,42,0,42,0,0
entry: # Reolink RLC520
ffmpeg:
inputs:
- path: "{FRIGATE_go2rtsp_RESTREAM}entry" # <--- the name here must match the name of the go2rtc-stream
input_args: preset-rtsp-restream
roles:
- record
- path: "{FRIGATE_go2rtsp_RESTREAM}entry_sub" # <--- the name here must match the name of the go2rtc-stream
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: entry_sub # <--- the name here must match the name of the go2rtc-stream
detect:
width: 896 # <---- update for your camera's resolution
height: 672 # <---- update for your camera's resolution
fps: 4
motion:
mask:
- 510,45,900,45,900,0,510,0
########################################################################
go2rtc:
webrtc:
candidates:
- 192.168.2.141:8555
- stun:8555
streams:
entry: # Reolink RLC520poe, 2560x1440, 25FPS - firmware v3.1.0.956_22041503 , VLC show 2560x1440, 24,916666FPS
- http://192.168.30.111/flv?port=1935&app=bcs&stream=channel0_main.bcs{FRIGATE_REOLINK_CAMERAS_CREDENTIALS}
- ffmpeg:reolink
entry_sub: # 640x360, 4FPS - firmware v3.1.0.956_22041503 , VLC show 896x512, 9FPS
- http://192.168.30.111/flv?port=1935&app=bcs&stream=channel0_ext.bcs{FRIGATE_REOLINK_CAMERAS_CREDENTIALS}
- ffmpeg:reolink
west1: # D-link DCS-8302LH, 1920x1080, 30FPS , VLC show 1920x1080, 30FPS, credentials are; username:pwd@cameraIP
- rtsp://{FRIGATE_DLINK1_CREDENTIALS}:554/live/profile.0
west1_sub: # 1280x720, 15FPS, VLC show 1280x720, 15FPS
- rtsp://{FRIGATE_DLINK1_CREDENTIALS}:554/live/profile.1
garage_front: # Reolink RLC810A, 2560x1440, 25FPS - firmware v3.1.0.956_22041503, VLC show 2560x1440, 24,916666FPS
- http://192.168.30.197/flv?port=1935&app=bcs&stream=channel0_main.bcs{FRIGATE_REOLINK_CAMERAS_CREDENTIALS}
- ffmpeg:reolink
garage_front_sub: # 640x360, 4FPS - firmware v3.1.0.956_22041503, VLC show 896x512, 9FPS
- http://192.168.30.197/flv?port=1935&app=bcs&stream=channel0_ext.bcs{FRIGATE_REOLINK_CAMERAS_CREDENTIALS}
- ffmpeg:reolink