Added go2rtc restreaming

This commit is contained in:
Ashish D'Souza 2024-08-05 22:54:05 -05:00
parent d996fa127c
commit 6481511dcd
2 changed files with 23 additions and 6 deletions

View File

@ -9,12 +9,28 @@ detectors:
type: cpu type: cpu
num_threads: 2 num_threads: 2
go2rtc:
streams:
garage:
- 'rtsp://{FRIGATE_GARAGE_RTSP_USERNAME}:{FRIGATE_GARAGE_RTSP_PASSWORD}@192.168.0.102:554/live'
doorbell:
- 'rtsp://{FRIGATE_DOORBELL_RTSP_USERNAME}:{FRIGATE_DOORBELL_RTSP_PASSWORD}@192.168.0.105:554/cam/realmonitor?channel=1&subtype=0'
front_door:
- 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
driveway:
- 'rtsp://{FRIGATE_DRIVEWAY_RTSP_USERNAME}:{FRIGATE_DRIVEWAY_RTSP_PASSWORD}@192.168.0.148:5543/live/channel1'
back_door:
- 'rtsp://wyze-bridge:8554/back-yard-cam'
family_room:
- 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.104:554/live/ch0'
cameras: cameras:
garage: garage:
enabled: true enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://{FRIGATE_GARAGE_RTSP_USERNAME}:{FRIGATE_GARAGE_RTSP_PASSWORD}@192.168.0.102:554/live' - path: 'rtsp://127.0.0.1:8554/garage'
input_args: preset-rtsp-restream
roles: roles:
- detect - detect
- record - record
@ -32,7 +48,7 @@ cameras:
enabled: true enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://{FRIGATE_DOORBELL_RTSP_USERNAME}:{FRIGATE_DOORBELL_RTSP_PASSWORD}@192.168.0.105:554/cam/realmonitor?channel=1&subtype=0' - path: 'rtsp://127.0.0.1:8554/doorbell'
roles: roles:
- detect - detect
- record - record
@ -57,7 +73,7 @@ cameras:
enabled: true enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0' - path: 'rtsp://127.0.0.1:8554/front_door'
roles: roles:
- detect - detect
- record - record
@ -82,7 +98,7 @@ cameras:
enabled: false enabled: false
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://{FRIGATE_DRIVEWAY_RTSP_USERNAME}:{FRIGATE_DRIVEWAY_RTSP_PASSWORD}@192.168.0.148:5543/live/channel1' - path: 'rtsp://127.0.0.1:8554/driveway'
roles: roles:
- detect - detect
- record - record
@ -97,7 +113,7 @@ cameras:
enabled: true enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://wyze-bridge:8554/back-yard-cam' - path: 'rtsp://127.0.0.1:8554/back_door'
roles: roles:
- detect - detect
- record - record
@ -115,7 +131,7 @@ cameras:
enabled: false enabled: false
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.104:554/live/ch0' - path: 'rtsp://127.0.0.1:8554/family_room'
roles: roles:
- detect - detect
- record - record

View File

@ -51,6 +51,7 @@ services:
- frigate - frigate
ports: ports:
- 127.0.0.1:10000:5000 - 127.0.0.1:10000:5000
- 554:8554
wyze-bridge: wyze-bridge:
container_name: frigate-wyze-bridge container_name: frigate-wyze-bridge
image: mrlt8/wyze-bridge:2.9.7 image: mrlt8/wyze-bridge:2.9.7