Hi
i m trying to add my Berghoch cameras to frigate. But i don t get the image into frigate.
i can integrate the stream with generic camera to home assistant but in frigate i get this error.
2023-08-11 12:23:25.088227733 [2023-08-11 14:23:25] frigate.app INFO : Camera processor started for cam1: 305
2023-08-11 12:23:25.127039489 [2023-08-11 14:23:25] frigate.app INFO : Capture process started for cam1: 307
2023-08-11 12:23:27.168178210 [INFO] Starting go2rtc healthcheck service...
2023-08-11 12:23:29.915812063 [2023-08-11 14:23:29] frigate.comms.mqtt ERROR : Unable to publish to cam1/all: client is not connected
this is my frigate config:
ffmpeg:
# Optional: global ffmpeg args (default: shown below)
global_args: -hide_banner -loglevel warning -threads 2
# Optional: global hwaccel args (default: shown below)
# NOTE: See hardware acceleration docs for your specific device
hwaccel_args: []
# Optional: global input args (default: shown below)
input_args: preset-rtsp-generic
# Optional: global output args
output_args:
# Optional: output args for detect streams (default: shown below)
detect: -threads 2 -f rawvideo -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
record: preset-record-generic
# Optional: output args for rtmp streams (default: shown below)
rtmp: preset-rtmp-generic
cameras:
cam1:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/channel=1&stream=1.sdp?
roles:
- record
- detect
- clips
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- person
- car
- truck
filters:
cat:
min_score: 0.7
threshold: 0.5
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 2
# clips:
# enabled: True
# retain:
# default: 4
record:
enabled: True
retain:
days: 2
events:
retain:
default: 2
go2rtc:
streams:
cam1:
- rtsp://admin:[email protected]:554/channel=1&stream=1.sdp?
the Berghoch site shows this link to the stream:
i don t know was my problem is.