[Camera Support]: Tapo C110 stopped recording properly #20018
-
Describe the problem you are havingI have a home assistant setup on GMKTec G3 with frigate (full access) addon. WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910170714+0200.mp4 ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record Version0.16.1-e664cb2 What browser(s) are you using?Opera / Firefox Frigate config fileffmpeg:
hwaccel_args: preset-intel-qsv-h264 #OK
mqtt:
host: 192.168.4.3
user: XXXX
password: XXXX
detectors: #ok
ov:
type: openvino
device: AUTO
model: #ok
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
go2rtc:
streams:
pi_zero_cam_1_stream:
- rtsp://192.168.4.249:8554/cam?mp4 #OK
- ffmpeg:pi_zero_cam_1_stream#video=h264
tapo_kuchnia_stream_highres:
- rtsp://XXX:[email protected]:554/stream1#audio=aac#video=copy
- tapo://[email protected]
- ffmpeg:tapo_kuchnia_stream_highres#audio=aac
tapo_kuchnia_stream_lowres:
- rtsp://XXX:[email protected]:554/stream2#audio=aac
- tapo://[email protected]
- ffmpeg:tapo_kuchnia_stream_lowres#audio=aac
snapshots:
enabled: true
timestamp: true
bounding_box: true
cameras:
pi_zero_camera_1:
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.4.249:8554/cam?mp4 # <----- The stream you want to use for detection
roles:
- detect
- record
record:
enabled: true
detect:
width: 768
height: 432
fps: 3
enabled: true
objects:
track:
- person
- cat
- dog
- car
live:
streams:
pi_zero_cam_1_stream: pi_zero_cam_1_stream
motion: {}
tapo_kuchnia:
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/tapo_kuchnia_stream_highres
roles:
- record
- path: rtsp://127.0.0.1:8554/tapo_kuchnia_stream_lowres
roles:
- detect
# - audio
live:
streams:
tapo_kuchnia_stream_highres: tapo_kuchnia_stream_highres
record:
enabled: true
detect:
enabled: true
fps: 5
objects:
track:
- person
- cat
- dog
- car
snapshots:
enabled: true
bounding_box: true
motion:
mask:
- 0,0.045,0.361,0.048,0.36,0,0,0
- 1,0.476,0,0.409,0,0,1,0
version: 0.16-0
semantic_search:
enabled: true
reindex: false
model_size: small
ui:
# Optional: Set a timezone to use in the UI (default: use browser local time)
# timezone: America/Denver
# Optional: Set the time format used.
# Options are browser, 12hour, or 24hour (default: shown below)
time_format: 24hour
detect:
enabled: true Relevant Frigate log output2025-09-10 15:28:56.383410476 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:28:56.383413869
2025-09-10 15:28:56.383415796 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:28:56.383416643
2025-09-10 15:28:56.383417353
2025-09-10 15:28:56.391979308 [2025-09-10 17:28:56] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172853+0200.mp4
2025-09-10 15:28:56.392181566 [2025-09-10 17:28:56] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172853+0200.mp4
2025-09-10 15:28:59.348798381 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/config HTTP/1.1" 200 18402 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.382442491 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/review?limit=10&severity=alert HTTP/1.1" 200 2 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.436584138 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/pi_zero_camera_1/latest.webp?height=360&store=1&cache=1757517600 HTTP/1.1" 200 7594 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.443478542 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/pi_zero_camera_1/latest.webp?height=319&store=1&cache=1757517600 HTTP/1.1" 200 6442 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.445488143 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/tapo_kuchnia/latest.webp?height=360&store=1&cache=1757517600 HTTP/1.1" 200 52754 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.453304770 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&store=1&cache=1757517600 HTTP/1.1" 200 34380 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.492817176 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/pi_zero_camera_1/latest.webp?height=319&cache=1757518138895 HTTP/1.1" 200 6442 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.508360104 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&cache=1757518138896 HTTP/1.1" 200 34676 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.752440851 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&cache=1757518139284 HTTP/1.1" 200 34760 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.794287995 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/go2rtc/streams/tapo_kuchnia_stream_highres HTTP/1.1" 200 4224 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:28:59.828230186 172.30.32.2 - - [10/Sep/2025:17:28:59 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&cache=1757518139357 HTTP/1.1" 200 34760 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:00.323882113 172.30.32.2 - - [10/Sep/2025:17:29:00 +0200] "GET /api/review?limit=10&severity=alert HTTP/1.1" 200 2 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:00.812827006 172.30.32.2 - - [10/Sep/2025:17:29:00 +0200] "GET /live/mse/api/ws?src=tapo_kuchnia_stream_highres HTTP/1.1" 101 225699 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:00.829167207 172.30.32.2 - - [10/Sep/2025:17:29:00 +0200] "GET /api/review?reviewed=1&before=1757518141&after=1757431741 HTTP/1.1" 200 2173 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:00.836807910 172.30.32.2 - - [10/Sep/2025:17:29:00 +0200] "GET /api/review/summary?timezone=Europe/Warsaw HTTP/1.1" 200 1335 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:00.847832391 172.30.32.2 - - [10/Sep/2025:17:29:00 +0200] "GET /api/preview/all/start/1757430000/end/1757520000 HTTP/1.1" 200 181 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:00.849033542 172.30.32.2 - - [10/Sep/2025:17:29:00 +0200] "GET /api/recordings/summary?timezone=Europe/Warsaw HTTP/1.1" 200 91 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:01.667513987 [2025-09-10 17:29:01] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:29:01.667853281 [2025-09-10 17:29:01] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:29:01.668082672 [2025-09-10 17:29:01] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:29:01.679243024 172.30.32.2 - - [10/Sep/2025:17:29:01 +0200] "GET /api/logs/frigate?stream=true HTTP/1.1" 200 9560 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:01.735683789 172.30.32.2 - - [10/Sep/2025:17:29:01 +0200] "GET /api/config HTTP/1.1" 200 18402 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:01.747741087 172.30.32.2 - - [10/Sep/2025:17:29:01 +0200] "GET /clips/review/thumb-tapo_kuchnia-1757511364.401629-mae028.webp HTTP/1.1" 200 12798 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:01.749079994 172.30.32.2 - - [10/Sep/2025:17:29:01 +0200] "GET /clips/review/thumb-pi_zero_camera_1-1757511399.950841-855b8x.webp HTTP/1.1" 200 2446 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:01.750003599 172.30.32.2 - - [10/Sep/2025:17:29:01 +0200] "GET /clips/review/thumb-tapo_kuchnia-1757510464.776651-bdmtpb.webp HTTP/1.1" 200 12120 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:01.752347359 172.30.32.2 - - [10/Sep/2025:17:29:01 +0200] "GET /clips/review/thumb-tapo_kuchnia-1757483435.324552-p51s69.webp HTTP/1.1" 200 7686 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:05.609123604 172.30.32.2 - - [10/Sep/2025:17:29:05 +0200] "GET /api/config HTTP/1.1" 200 18402 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/review" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:06.350879619 172.30.32.2 - - [10/Sep/2025:17:29:06 +0200] "GET /api/review?limit=10&severity=alert HTTP/1.1" 200 2 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:06.393738976 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:29:06.393742551
2025-09-10 15:29:06.393744366 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:29:06.393745195
2025-09-10 15:29:06.393745856
2025-09-10 15:29:06.401704076 [2025-09-10 17:29:06] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172903+0200.mp4
2025-09-10 15:29:06.402856676 [2025-09-10 17:29:06] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172903+0200.mp4
2025-09-10 15:29:06.410544000 172.30.32.2 - - [10/Sep/2025:17:29:06 +0200] "GET /api/pi_zero_camera_1/latest.webp?height=319&cache=1757518145888 HTTP/1.1" 200 6476 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:06.428034864 172.30.32.2 - - [10/Sep/2025:17:29:06 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&cache=1757518145888 HTTP/1.1" 200 34328 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:06.686015096 172.30.32.2 - - [10/Sep/2025:17:29:06 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&cache=1757518146215 HTTP/1.1" 200 34374 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:06.846205561 172.30.32.2 - - [10/Sep/2025:17:29:06 +0200] "GET /api/go2rtc/streams/tapo_kuchnia_stream_highres HTTP/1.1" 200 4159 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:06.871981558 172.30.32.2 - - [10/Sep/2025:17:29:06 +0200] "GET /api/tapo_kuchnia/latest.webp?height=319&cache=1757518146391 HTTP/1.1" 200 34330 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:07.307378499 172.30.32.2 - - [10/Sep/2025:17:29:07 +0200] "GET /api/review?limit=10&severity=alert HTTP/1.1" 200 2 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:07.922080980 172.30.32.2 - - [10/Sep/2025:17:29:07 +0200] "GET /live/mse/api/ws?src=tapo_kuchnia_stream_highres HTTP/1.1" 101 226332 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:07.941378445 172.30.32.2 - - [10/Sep/2025:17:29:07 +0200] "GET /api/config HTTP/1.1" 200 18402 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:07.975748797 172.30.32.2 - - [10/Sep/2025:17:29:07 +0200] "GET /api/tapo_kuchnia/latest.webp?height=33&cache=1757518147484 HTTP/1.1" 200 612 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:07.984438186 172.30.32.2 - - [10/Sep/2025:17:29:07 +0200] "GET /api/tapo_kuchnia/latest.webp?height=360&cache=1757518147484 HTTP/1.1" 200 52748 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:08.435986326 172.30.32.2 - - [10/Sep/2025:17:29:08 +0200] "GET /api/tapo_kuchnia/latest.webp?height=360&cache=1757518147484 HTTP/1.1" 200 52874 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:11.434973461 172.30.32.2 - - [10/Sep/2025:17:29:11 +0200] "POST /api/events/tapo_kuchnia/on_demand/create HTTP/1.1" 200 94 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:11.669428017 [2025-09-10 17:29:11] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:29:11.669810634 [2025-09-10 17:29:11] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:29:11.670832725 [2025-09-10 17:29:11] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:29:13.835748908 172.30.32.2 - - [10/Sep/2025:17:29:13 +0200] "PUT /api/events/1757518151.434177-3vyfmh/end HTTP/1.1" 200 54 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:15.130071833 172.30.32.2 - - [10/Sep/2025:17:29:15 +0200] "GET / HTTP/1.1" 200 2649 "-" "HomeAssistantSupervisor/2025.09.0 aiohttp/3.12.15 Python/3.13" "-"
2025-09-10 15:29:16.384267589 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:29:16.384270120
2025-09-10 15:29:16.384271773 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:29:16.384272492
2025-09-10 15:29:16.384273089
2025-09-10 15:29:16.392507954 [2025-09-10 17:29:16] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172913+0200.mp4
2025-09-10 15:29:16.392790096 [2025-09-10 17:29:16] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172913+0200.mp4
2025-09-10 15:29:17.912581122 172.30.32.2 - - [10/Sep/2025:17:29:17 +0200] "GET /live/mse/api/ws?src=tapo_kuchnia_stream_highres HTTP/1.1" 101 1309346 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:17.950207315 172.30.32.2 - - [10/Sep/2025:17:29:17 +0200] "GET /api/logs/frigate?start=-100 HTTP/1.1" 200 13308 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:21.671331567 [2025-09-10 17:29:21] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:29:21.672033449 [2025-09-10 17:29:21] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:29:21.672766913 [2025-09-10 17:29:21] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:29:22.410719862 172.30.32.2 - - [10/Sep/2025:17:29:22 +0200] "GET /api/go2rtc/streams/pi_zero_cam_1_stream HTTP/1.1" 200 3053 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:26.384528284 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:29:26.384530862
2025-09-10 15:29:26.384532602 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:29:26.384533378
2025-09-10 15:29:26.384534024
2025-09-10 15:29:26.396084217 [2025-09-10 17:29:26] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172923+0200.mp4
2025-09-10 15:29:26.396446653 [2025-09-10 17:29:26] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172923+0200.mp4
2025-09-10 15:29:31.027650961 127.0.0.1 - - [10/Sep/2025:17:29:31 +0200] "" 400 0 "-" "-" "-"
2025-09-10 15:29:31.673463259 [2025-09-10 17:29:31] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:29:31.674542946 [2025-09-10 17:29:31] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:29:31.675232655 [2025-09-10 17:29:31] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:29:36.384909696 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:29:36.384912427
2025-09-10 15:29:36.384914077 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:29:36.384914754
2025-09-10 15:29:36.384915313
2025-09-10 15:29:36.396527740 [2025-09-10 17:29:36] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172933+0200.mp4
2025-09-10 15:29:36.397023818 [2025-09-10 17:29:36] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172933+0200.mp4
2025-09-10 15:29:40.643892280 172.30.32.2 - - [10/Sep/2025:17:29:40 +0200] "GET /api/logs/frigate?start=0 HTTP/1.1" 200 52950 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:41.675679836 [2025-09-10 17:29:41] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:29:41.675881318 [2025-09-10 17:29:41] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:29:41.676474784 [2025-09-10 17:29:41] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:29:41.762443493 172.30.32.2 - - [10/Sep/2025:17:29:41 +0200] "GET /api/logs/frigate?stream=true HTTP/1.1" 200 3093 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:46.385374444 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:29:46.385377082
2025-09-10 15:29:46.385378704 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:29:46.385379421
2025-09-10 15:29:46.385380011
2025-09-10 15:29:46.396985275 [2025-09-10 17:29:46] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172943+0200.mp4
2025-09-10 15:29:46.397182862 [2025-09-10 17:29:46] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172943+0200.mp4
2025-09-10 15:29:51.677819762 [2025-09-10 17:29:51] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:29:51.678167513 [2025-09-10 17:29:51] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:29:51.678384956 [2025-09-10 17:29:51] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:29:53.485546883 172.30.32.2 - - [10/Sep/2025:17:29:53 +0200] "GET /ws HTTP/1.1" 101 68387 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:56.385791288 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:29:56.385794263
2025-09-10 15:29:56.385795987 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:29:56.385796794
2025-09-10 15:29:56.385797406
2025-09-10 15:29:56.394326136 172.30.32.2 - - [10/Sep/2025:17:29:56 +0200] "GET /api/logs/frigate?stream=true HTTP/1.1" 200 1990 "https://example.domain.com:64331/api/hassio_ingress/OHFCk24ulw2HhFZB6kPj9gmde6pdzW44vTGGfCDMGE8/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0" "91.189.27.177, 172.30.32.1"
2025-09-10 15:29:56.396310940 [2025-09-10 17:29:56] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910172953+0200.mp4
2025-09-10 15:29:56.396738064 [2025-09-10 17:29:56] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910172953+0200.mp4
2025-09-10 15:30:01.679297879 [2025-09-10 17:30:01] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:30:01.679554137 [2025-09-10 17:30:01] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:30:01.679737018 [2025-09-10 17:30:01] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:30:06.386473645 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:30:06.386476531
2025-09-10 15:30:06.386478313 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:30:06.386479115
2025-09-10 15:30:06.386479761
2025-09-10 15:30:06.394896369 [2025-09-10 17:30:06] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910173003+0200.mp4
2025-09-10 15:30:06.395135971 [2025-09-10 17:30:06] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910173003+0200.mp4
2025-09-10 15:30:11.681045926 [2025-09-10 17:30:11] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:30:11.681285175 [2025-09-10 17:30:11] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:30:11.681536038 [2025-09-10 17:30:11] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully...
2025-09-10 15:30:16.386511853 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-09-10 15:30:16.386514967
2025-09-10 15:30:16.386516636 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-09-10 15:30:16.386517422
2025-09-10 15:30:16.386518050
2025-09-10 15:30:16.394613769 [2025-09-10 17:30:16] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/tapo_kuchnia@20250910173013+0200.mp4
2025-09-10 15:30:16.394793233 [2025-09-10 17:30:16] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/tapo_kuchnia@20250910173013+0200.mp4
2025-09-10 15:30:21.682643873 [2025-09-10 17:30:21] watchdog.tapo_kuchnia ERROR : No new recording segments were created for tapo_kuchnia in the last 120s. restarting the ffmpeg record process...
2025-09-10 15:30:21.682925578 [2025-09-10 17:30:21] watchdog.tapo_kuchnia INFO : Terminating the existing ffmpeg process...
2025-09-10 15:30:21.683308361 [2025-09-10 17:30:21] watchdog.tapo_kuchnia INFO : Waiting for ffmpeg to exit gracefully... Relevant go2rtc log output2025-09-10 15:23:25.409479905 [INFO] Preparing new go2rtc config...
2025-09-10 15:23:25.475572013 [INFO] Got IP address from supervisor: 192.168.4.3
2025-09-10 15:23:25.536825041 [INFO] Got WebRTC port from supervisor: 8555
2025-09-10 15:23:26.103247342 [INFO] Starting go2rtc...
2025-09-10 15:23:26.189509325 17:23:26.189 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-09-10 15:23:26.189678177 17:23:26.189 INF config path=/dev/shm/go2rtc.yaml
2025-09-10 15:23:26.190237404 17:23:26.190 INF [api] listen addr=:1984
2025-09-10 15:23:26.190611451 17:23:26.190 INF [rtsp] listen addr=:8554
2025-09-10 15:23:26.191160405 17:23:26.191 INF [webrtc] listen addr=:8555
2025-09-10 15:23:34.810946773 [INFO] Starting go2rtc healthcheck service... FFprobe output from your camera? Frigate statsNo response Operating systemHome Assistant OS Install methodHome Assistant Add-on Object DetectorOpenVino Network connectionWireless Camera make and modelTapo C110 Screenshots of the Frigate UI's System metrics pages![]() Any other information that may be helpfulRecording files are missing for C110 camera, but they are present for raspi camera (in HA -> Media -> Frigate -> Recordings) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Based on the logs and configuration you've provided, this appears to be an audio codec compatibility issue that's causing recording corruption. The key error in your logs is the OpenCV exceptions and corrupt segment warnings, which are similar to issues documented when using incompatible audio presets (1). Your Tapo C110 configuration is using Try changing your audio preset to transcode the audio to AAC: cameras:
tapo_kuchnia:
ffmpeg:
output_args:
record: preset-record-generic-audio-aac The If the recording issues persist, you can also try enabling debug logging for the recording maintainer to get more detailed information about the copy times: logger:
logs:
frigate.record.maintainer: debug This will show you how long it takes for recordings to be moved from RAM cache to disk, which can help identify if there are additional performance issues (2). The fact that your Raspberry Pi camera records fine while the Tapo C110 doesn't suggests this is specifically related to the audio format from the Tapo camera, which is why changing the audio preset should resolve the issue. 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
Thank You for advice, but I'm still having this issue - however changing recording preset help to clear logs of errors.
Here I've recorded couple of clips with both cameras. And some of these trials worked (logs show that they were copied) and some didn't (like the last message - when trying to playback recorded clip) This seem to be a random issue with both cameras. I forgot to mention a quite important detail in my first post |
Beta Was this translation helpful? Give feedback.
-
Update: I've deleted network storage in HA for frigate recordings and this seems to have fixed the issue. |
Beta Was this translation helpful? Give feedback.
Update: I've deleted network storage in HA for frigate recordings and this seems to have fixed the issue.
I need to look for better way to attach secondary hdd for recordings to HA.