frigate: [Support]: TensorRT object detection not working except "person"
Describe the problem you are having
This is the darnedest thing - I am 99.9% certain everything was working earlier today, and I don’t think I’ve changed anything that should affect this. Using a TensorRT detector, I am unable to detect anything but “person”. If I comment out the model info and replace the tensorrt detector with a pair of cpu detectors, I am able to detect other objects (namely, my dogs). Really scratching my head as to what could have changed today.
I might just roll the VM back to a snapshot earlier today when everything is working, but I thought I’d try to get to the bottom of it if possible.
Version
0.12.0-1715e2e
Frigate config file
# yaml-language-server: $schema=http://sanitised:5000/api/config/schema.json
mqtt:
host: sanitised
user: sanitised
password: sanitised
database:
path: /database/frigate.db
model:
path: /trt-models/yolov7-tiny-416.trt
input_tensor: nchw
input_pixel_format: rgb
width: 416
height: 416
detectors:
tensorrt:
type: tensorrt
device: 0
# cpu1:
# type: cpu
# cpu2:
# type: cpu
objects:
track:
- person
- dog
- car
record:
enabled: True
retain:
days: 14
ffmpeg:
hwaccel_args: -c:v h264_cuvid
detect:
width: 1920
height: 1280
fps: 10
cameras:
office_cam:
ffmpeg:
inputs:
- path: rtsp://sanitised
roles:
- record
- detect
bedroom_cam:
ffmpeg:
inputs:
- path: rtsp://sanitised
roles:
- record
- detect
living_room_cam:
ffmpeg:
inputs:
- path: rtsp://sanitised
roles:
- record
- detect
front_cam:
ffmpeg:
inputs:
- path: rtsp://sanitised
roles:
- record
- detect
zones:
driveway:
coordinates: 1496,615,1920,594,1920,681
Relevant log output
2023-02-15 20:31:21.090314422 [2023-02-15 20:31:21] frigate.app INFO : Starting Frigate (0.12.0-1715e2e)
2023-02-15 20:31:21.147390675 [2023-02-15 20:31:21] peewee_migrate INFO : Starting migrations
2023-02-15 20:31:21.171782745 [2023-02-15 20:31:21] peewee_migrate INFO : There is nothing to migrate
2023-02-15 20:31:21.303199169 [2023-02-15 20:31:21] frigate.app INFO : Output process started: 250
2023-02-15 20:31:21.303221634 [2023-02-15 20:31:21] frigate.app INFO : Camera processor started for office_cam: 253
2023-02-15 20:31:21.306126511 [2023-02-15 20:31:21] frigate.app INFO : Camera processor started for bedroom_cam: 254
2023-02-15 20:31:21.337510182 [2023-02-15 20:31:21] frigate.app INFO : Camera processor started for living_room_cam: 256
2023-02-15 20:31:21.351356643 [2023-02-15 20:31:21] frigate.app INFO : Camera processor started for front_cam: 257
2023-02-15 20:31:21.451912804 [2023-02-15 20:31:21] frigate.app INFO : Capture process started for office_cam: 259
2023-02-15 20:31:21.461583960 [2023-02-15 20:31:21] detector.tensorrt INFO : Starting detection process: 248
2023-02-15 20:31:21.541476151 [2023-02-15 20:31:21] frigate.app INFO : Capture process started for bedroom_cam: 264
2023-02-15 20:31:21.598394387 [2023-02-15 20:31:21] frigate.app INFO : Capture process started for living_room_cam: 271
2023-02-15 20:31:21.640525874 [2023-02-15 20:31:21] frigate.app INFO : Capture process started for front_cam: 274
2023-02-15 20:31:24.092718795 [2023-02-15 20:31:23] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init CUDA: CPU +188, GPU +0, now: CPU 247, GPU 568 (MiB)
2023-02-15 20:31:24.213335225 [2023-02-15 20:31:24] frigate.detectors.plugins.tensorrt INFO : Loaded engine size: 25 MiB
2023-02-15 20:31:29.500478797 [2023-02-15 20:31:29] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +181, GPU +69, now: CPU 482, GPU 664 (MiB)
2023-02-15 20:31:33.264142463 [2023-02-15 20:31:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuDNN: CPU +111, GPU +46, now: CPU 593, GPU 710 (MiB)
2023-02-15 20:31:33.474202504 [2023-02-15 20:31:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +25, now: CPU 0, GPU 25 (MiB)
2023-02-15 20:31:33.890150030 [2023-02-15 20:31:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +8, now: CPU 567, GPU 702 (MiB)
2023-02-15 20:31:33.890173795 [2023-02-15 20:31:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuDNN: CPU +0, GPU +8, now: CPU 567, GPU 710 (MiB)
2023-02-15 20:31:34.030841297 [2023-02-15 20:31:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +13, now: CPU 0, GPU 38 (MiB)
2023-02-15 20:32:01.861378657 [2023-02-15 20:32:01] watchdog.office_cam INFO : No frames received from office_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:32:01.871081510 [2023-02-15 20:32:01] watchdog.office_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:32:02.658970275 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.658993181 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.659012648 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.659051242 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.659068619 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.659084837 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.666817979 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:02.666841275 [2023-02-15 20:32:02] frigate.video ERROR : office_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:32:12.666177151 [2023-02-15 20:32:12] watchdog.office_cam ERROR : Ffmpeg process crashed unexpectedly for office_cam.
2023-02-15 20:32:12.666230453 [2023-02-15 20:32:12] watchdog.office_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:32:12.666251410 [2023-02-15 20:32:12] ffmpeg.office_cam.detect ERROR : [rtsp @ 0x5557b6f05f40] CSeq 6 expected, 0 received.
2023-02-15 20:32:12.667136446 [2023-02-15 20:32:12] ffmpeg.office_cam.detect ERROR : Last message repeated 113 times
2023-02-15 20:32:21.885868715 [2023-02-15 20:32:21] watchdog.living_room_cam INFO : No frames received from living_room_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:32:21.885882113 [2023-02-15 20:32:21] watchdog.living_room_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:32:22.474290017 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.475557458 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.484916168 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.486373442 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.486396789 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.486419386 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.501795827 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.501818213 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.503230954 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.504413167 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.506091051 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.507635933 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.509477223 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.511246153 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.512126399 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.513598192 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.516732829 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.528786149 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:32:22.530173253 [2023-02-15 20:32:22] frigate.video ERROR : living_room_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:32:32.546089337 [2023-02-15 20:32:32] watchdog.living_room_cam ERROR : Ffmpeg process crashed unexpectedly for living_room_cam.
2023-02-15 20:32:32.546112284 [2023-02-15 20:32:32] watchdog.living_room_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:32:32.547959840 [2023-02-15 20:32:32] ffmpeg.living_room_cam.detect ERROR : [segment @ 0x55e1094e2040] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-02-15 20:32:32.547978048 [2023-02-15 20:32:32] ffmpeg.living_room_cam.detect ERROR : [rtsp @ 0x55e1094c3f40] CSeq 7 expected, 0 received.
2023-02-15 20:32:32.547993895 [2023-02-15 20:32:32] ffmpeg.living_room_cam.detect ERROR : Last message repeated 226 times
2023-02-15 20:37:22.738465265 [2023-02-15 20:37:22] watchdog.office_cam INFO : No frames received from office_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:37:22.738499174 [2023-02-15 20:37:22] watchdog.office_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:37:22.998687939 [2023-02-15 20:37:22] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:37:22.998705179 [2023-02-15 20:37:22] frigate.video ERROR : office_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:37:33.011539929 [2023-02-15 20:37:33] watchdog.office_cam ERROR : Ffmpeg process crashed unexpectedly for office_cam.
2023-02-15 20:37:33.011559718 [2023-02-15 20:37:33] watchdog.office_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:37:33.011577048 [2023-02-15 20:37:33] ffmpeg.office_cam.detect ERROR : [rtsp @ 0x55dd428e7f40] CSeq 14 expected, 0 received.
2023-02-15 20:37:33.011592657 [2023-02-15 20:37:33] ffmpeg.office_cam.detect ERROR : Last message repeated 3 times
2023-02-15 20:38:13.228525204 [2023-02-15 20:38:13] watchdog.office_cam INFO : No frames received from office_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:38:13.228849635 [2023-02-15 20:38:13] watchdog.office_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:38:26.812982983 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813005322 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813022951 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813046281 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813065180 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813186967 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813208926 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813243685 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813299684 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813334503 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813357192 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813384061 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813404971 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813432960 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:38:26.813483998 [2023-02-15 20:38:26] frigate.video ERROR : office_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:38:36.817751898 [2023-02-15 20:38:36] watchdog.office_cam ERROR : Ffmpeg process crashed unexpectedly for office_cam.
2023-02-15 20:38:36.817772538 [2023-02-15 20:38:36] watchdog.office_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:38:36.817788177 [2023-02-15 20:38:36] ffmpeg.office_cam.detect ERROR : [rtsp @ 0x55c0227a7f40] CSeq 6 expected, 0 received.
2023-02-15 20:38:36.817804487 [2023-02-15 20:38:36] ffmpeg.office_cam.detect ERROR : Last message repeated 182 times
2023-02-15 20:39:06.834345991 [2023-02-15 20:39:06] watchdog.office_cam INFO : office_cam exceeded fps limit. Exiting ffmpeg...
2023-02-15 20:39:06.834866507 [2023-02-15 20:39:06] watchdog.office_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:39:36.867476409 [2023-02-15 20:39:36] watchdog.office_cam INFO : FFmpeg did not exit. Force killing...
2023-02-15 20:39:36.999064280 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:36.999084349 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:36.999100899 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:36.999116598 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:36.999132378 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:36.999148587 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:36.999164297 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003154235 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003170195 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003184004 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003197494 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003210914 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003224483 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003237983 [2023-02-15 20:39:36] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003251333 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003264692 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003278012 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003291382 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.003304711 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.005281281 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.006467631 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.007813026 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.010445969 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.012303922 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.013805954 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.015522270 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.017117119 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.033577380 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.043001169 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.043936335 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.044950690 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.045772089 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.046475391 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.047766258 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.049039275 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.050803530 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.053109902 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.058932593 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.061109048 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.065130775 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.069429375 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.070246145 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.071038914 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.071999840 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.092939916 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.094120466 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.097457981 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.098703459 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.099804821 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.101021630 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.102515902 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.103498557 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.104671687 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.109690419 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.110825740 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.111811485 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.113433114 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.114244133 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.115855252 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.119366702 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.125637592 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.129757457 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.132059339 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.133793944 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.136376389 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.160903543 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:37.160923433 [2023-02-15 20:39:37] frigate.video ERROR : office_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:39:38.196075767 [2023-02-15 20:39:38] frigate.video ERROR : bedroom_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:39:38.196172134 [2023-02-15 20:39:38] frigate.video ERROR : bedroom_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:39:39.932373460 [2023-02-15 20:39:39] frigate.record WARNING : Unable to keep up with recording segments in cache for bedroom_cam. Keeping the 5 most recent segments out of 13 and discarding the rest...
2023-02-15 20:39:39.952722252 [2023-02-15 20:39:39] frigate.record WARNING : Unable to keep up with recording segments in cache for front_cam. Keeping the 5 most recent segments out of 12 and discarding the rest...
2023-02-15 20:39:39.957590119 [2023-02-15 20:39:39] frigate.record WARNING : Unable to keep up with recording segments in cache for living_room_cam. Keeping the 5 most recent segments out of 12 and discarding the rest...
2023-02-15 20:39:42.015864309 [2023-02-15 20:39:42] watchdog.bedroom_cam ERROR : Ffmpeg process crashed unexpectedly for bedroom_cam.
2023-02-15 20:39:42.016455714 [2023-02-15 20:39:42] watchdog.bedroom_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:39:46.944699398 [2023-02-15 20:39:46] frigate.record WARNING : Failed to probe corrupt segment {'cache_path': '/tmp/cache/living_room_cam-20230215203833.mp4', 'start_time': datetime.datetime(2023, 2, 15, 20, 38, 33)}: 0 - b'[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55de7fccf6c0] moov atom not found\n/tmp/cache/office_cam-20230215203849.mp4: Invalid data found when processing input\n'
2023-02-15 20:39:46.944727868 [2023-02-15 20:39:46] frigate.record WARNING : Discarding a corrupt recording segment: {'cache_path': '/tmp/cache/living_room_cam-20230215203833.mp4', 'start_time': datetime.datetime(2023, 2, 15, 20, 38, 33)}
2023-02-15 20:39:47.157429666 [2023-02-15 20:39:47] watchdog.office_cam ERROR : Ffmpeg process crashed unexpectedly for office_cam.
2023-02-15 20:39:47.162546557 [2023-02-15 20:39:47] watchdog.office_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:39:47.162581416 [2023-02-15 20:39:47] ffmpeg.office_cam.detect ERROR : [rtsp @ 0x559bcbb60f40] CSeq 6 expected, 0 received.
2023-02-15 20:40:02.674021652 [2023-02-15 20:40:02] watchdog.living_room_cam INFO : No frames received from living_room_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:40:02.674054181 [2023-02-15 20:40:02] watchdog.living_room_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:40:07.999138546 [2023-02-15 20:40:07] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:40:07.999160095 [2023-02-15 20:40:07] frigate.video ERROR : living_room_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:40:18.017902769 [2023-02-15 20:40:18] watchdog.living_room_cam ERROR : Ffmpeg process crashed unexpectedly for living_room_cam.
2023-02-15 20:40:18.017928488 [2023-02-15 20:40:18] watchdog.living_room_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:40:18.017950518 [2023-02-15 20:40:18] ffmpeg.living_room_cam.detect ERROR : rtsp://*:*@172.20.100.52/video1_unicast: Connection timed out
2023-02-15 20:40:18.017971357 [2023-02-15 20:40:18] ffmpeg.living_room_cam.detect ERROR : Last message repeated 3 times
2023-02-15 20:40:20.797498061 [2023-02-15 20:40:20] frigate.video ERROR : front_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:40:20.797968829 [2023-02-15 20:40:20] frigate.video ERROR : front_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:40:22.509362851 [2023-02-15 20:40:22] watchdog.front_cam ERROR : Ffmpeg process crashed unexpectedly for front_cam.
2023-02-15 20:40:22.509953867 [2023-02-15 20:40:22] watchdog.front_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:40:22.509971006 [2023-02-15 20:40:22] ffmpeg.front_cam.detect ERROR : [segment @ 0x55ebc4d08280] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-02-15 20:40:22.509987216 [2023-02-15 20:40:22] ffmpeg.front_cam.detect ERROR : rtsp://*:*@172.20.100.53/video1_unicast: Connection timed out
2023-02-15 20:40:22.510002505 [2023-02-15 20:40:22] ffmpeg.front_cam.detect ERROR : Last message repeated 6 times
2023-02-15 20:41:22.543871587 [2023-02-15 20:41:22] watchdog.front_cam INFO : No frames received from front_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:41:22.543891216 [2023-02-15 20:41:22] watchdog.front_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:41:22.825637366 [2023-02-15 20:41:22] frigate.video ERROR : front_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:22.825654206 [2023-02-15 20:41:22] frigate.video ERROR : front_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:22.828075659 [2023-02-15 20:41:22] frigate.video ERROR : front_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:22.828091539 [2023-02-15 20:41:22] frigate.video ERROR : front_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:22.828105249 [2023-02-15 20:41:22] frigate.video ERROR : front_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:41:28.060391964 [2023-02-15 20:41:28] watchdog.living_room_cam INFO : No frames received from living_room_cam in 20 seconds. Exiting ffmpeg...
2023-02-15 20:41:28.060412453 [2023-02-15 20:41:28] watchdog.living_room_cam INFO : Waiting for ffmpeg to exit gracefully...
2023-02-15 20:41:28.215995413 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216018543 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216035522 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216057762 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216073801 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216089391 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216105091 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216120700 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216137140 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216154709 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.216172539 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.219168840 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.221888746 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.222782776 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: Unable to read frames from ffmpeg process.
2023-02-15 20:41:28.223701924 [2023-02-15 20:41:28] frigate.video ERROR : living_room_cam: ffmpeg process is not running. exiting capture thread...
2023-02-15 20:41:32.839169713 [2023-02-15 20:41:32] watchdog.front_cam ERROR : Ffmpeg process crashed unexpectedly for front_cam.
2023-02-15 20:41:32.839536355 [2023-02-15 20:41:32] watchdog.front_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:41:32.839554264 [2023-02-15 20:41:32] ffmpeg.front_cam.detect ERROR : [rtsp @ 0x55b08edd7f40] CSeq 7 expected, 0 received.
2023-02-15 20:41:32.839812208 [2023-02-15 20:41:32] ffmpeg.front_cam.detect ERROR : Last message repeated 163 times
2023-02-15 20:41:38.237186651 [2023-02-15 20:41:38] watchdog.living_room_cam ERROR : Ffmpeg process crashed unexpectedly for living_room_cam.
2023-02-15 20:41:38.237225081 [2023-02-15 20:41:38] watchdog.living_room_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-15 20:41:38.237258340 [2023-02-15 20:41:38] ffmpeg.living_room_cam.detect ERROR : [segment @ 0x5611821275c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-02-15 20:41:38.237276299 [2023-02-15 20:41:38] ffmpeg.living_room_cam.detect ERROR : [rtsp @ 0x561182111f40] CSeq 7 expected, 0 received.
2023-02-15 20:41:38.237293089 [2023-02-15 20:41:38] ffmpeg.living_room_cam.detect ERROR : Last message repeated 167 times
FFprobe output from your camera
n/a
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
Coral version
CPU (no coral)
Network connection
Wired
Camera make and model
Wyze v3
Any other information that may be helpful
Running on Ubuntu 22.04. I deleted the trt-models folder and regenerated yolov7-tiny-416.trt, but no luck.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 31
I am seeing the same thing. Dogs are detected as “person”. I am not sure when the issue started, but it has been since at least 2/21/2023.
I know it worked a few months ago when I was using a coral device, but I dont know if it has ever worked correctly using yolov7-tiny-416.trt