cool, i just installed debian + supervised HA + Frigate addon. phew what an adventure it was
Still haven’t manage it to work, i get these errors though for 2 of my cameras:
Fontconfig error: Cannot load default config file
ffprobe -v panic -show_error -show_streams -of json "rtmp://192.168.86.36/bcs/channel0_sub.bcs?token=sdasdasd&channel=0&stream=1&user=admin&password=xxx"
Starting detection process: 21
Attempting to load TPU as usb
On connect called
TPU found
and then these repeatedly:
back: ffmpeg sent a broken frame. something is wrong.
back: ffmpeg process is not running. exiting capture thread...
timelapse: ffmpeg sent a broken frame. something is wrong.
timelapse: ffmpeg process is not running. exiting capture thread...
Creating ffmpeg process...
ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtmp://192.168.86.36/bcs/channel0_sub.bcs?token=sdasdasd&channel=0&stream=1&user=admin&password=xxx -f rawvideo -pix_fmt yuv420p pipe:
Creating ffmpeg process...
ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtmp://192.168.86.31/bcs/channel0_sub.bcs?token=sdasdasd&channel=0&stream=1&user=admin&password=xxx -f rawvideo -pix_fmt yuv420p pipe:
And the Frigate UI looks like this:
{"back":{"camera_fps":0.0,"capture_pid":34,"detection_fps":0.0,"frame_info":{"detect":0.0,"process":0.0},"pid":36,"process_fps":0.0,"skipped_fps":0.0},"detection_fps":0.0,"detectors":{"coral":{"detection_start":0.0,"inference_speed":10.0,"pid":21}},"timelapse":{"camera_fps":0.0,"capture_pid":38,"detection_fps":0.0,"frame_info":{"detect":0.0,"process":0.0},"pid":40,"process_fps":0.0,"skipped_fps":0.0}}
my config is:
web_port: 5000
detectors:
coral:
type: edgetpu
device: usb
save_clips:
clips_dir: /media/frigate
mqtt:
host: 192.168.86.xx
user: xxx
password: 'xxx'
ffmpeg: {}
cameras:
back:
ffmpeg:
input: >-
rtmp://192.168.86.36/bcs/channel0_sub.bcs?token=sdasdasd&channel=0&stream=1&user=admin&password=xxx
timelapse:
ffmpeg:
input: >-
rtmp://192.168.86.31/bcs/channel0_sub.bcs?token=sdasdasd&channel=0&stream=1&user=admin&password=xxx
objects:
track:
- person
- car
- tried it with
**rtsp://admin:[email protected]:554//h264Preview_01_sub**
with no luck. Just wonder if im missing anything obvious?