[Camera Support]: my 2 Hikvision ColorVu DS-2CD2387G2P-LSU/SL show up in the live feed but do not record after upgrading from 0.15.2 to 0.16.2 #20708
-
Describe the problem you are havingMy 2 Hikvision ColorVu DS-2CD2387G2P-LSU/SL show up in the live feed but I get errors saying that the recording is failing in the logs. my doorbell camera works fine for recording and live viewing. Version0.16.2 What browser(s) are you using?No response Frigate config filemqtt:
host: 192.168.1.6
user: mqtt-user
password: XXX
detectors:
coral:
type: edgetpu
device: pci
go2rtc:
streams:
doorbell:
- rtsp://admin:[email protected]:554/h265Preview_01_main
front_camera:
- rtsp://admin:[email protected]:554/Streaming/Channels/101
front_camera_sub:
- rtsp://admin:[email protected]:554/Streaming/Channels/102
back_camera:
- rtsp://admin:[email protected]:554/Streaming/Channels/101
back_camera_sub:
- rtsp://admin:[email protected]:554/Streaming/Channels/102
birdseye:
mode: continuous
cameras:
doorbell:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/doorbell
roles:
- detect
- record
detect:
width: 2560
height: 1920
zones:
zone_0:
coordinates:
0.451,0.912,0.129,0.903,0.054,0.965,0,1,0.048,0,0.512,0.026,0.53,1
filters:
person:
min_area: 11000
inertia: 3
loitering_time: 0
objects:
filters:
person:
mask:
0.536,0.718,0.522,0.752,0.526,0.86,0.639,0.877,0.665,0.81,0.651,0.755,0.593,0.717
front_camera:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_camera
roles:
- record
- path: rtsp://127.0.0.1:8554/front_camera_sub
roles:
- detect
output_args:
record: preset-record-generic-audio-copy
detect:
width: 1920
height: 536
stationary:
interval: 10
threshold: 20
motion:
mask:
- 1920,411,1920,311,1832,275,1636,290
- 21,259,150,209,354,216,54,333
objects:
track:
- person
- car
mask:
- 1920,411,1920,311,1832,275,1636,290
- 21,259,150,209,354,216,54,333
filters:
person:
mask: 0.011,0.483,0.078,0.39,0.184,0.403,0.028,0.621
car:
mask:
- 1,0.767,1,0.58,0.954,0.513,0.852,0.541
- 0,0.429,0.116,0,0.204,0.403,0.028,0.621
back_camera:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/back_camera
roles:
- record
- path: rtsp://127.0.0.1:8554/back_camera_sub
roles:
- detect
output_args:
record: preset-record-generic-audio-copy
detect:
width: 1920
height: 536
objects:
track:
- person
- dog
snapshots:
enabled: true
retain:
# Required: Default retention days (default: shown below)
default: 10
objects:
person: 10
record:
enabled: true
retain:
days: 6
mode: all
alerts:
retain:
days: 14
detections:
retain:
days: 14
database:
path: /db/frigate.db
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
version: 0.16-0
detect:
enabled: trueRelevant Frigate log output2025-10-28 13:53:50.117795441 [2025-10-28 13:53:50] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/[email protected]
2025-10-28 13:53:50.118073726 [2025-10-28 13:53:50] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/[email protected]
2025-10-28 13:53:50.118249448 [2025-10-28 13:53:50] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/[email protected]
2025-10-28 13:53:50.118366037 [2025-10-28 13:53:50] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/[email protected]
2025-10-28 13:53:58.319020946 [2025-10-28 13:53:58] watchdog.front_camera ERROR : No new recording segments were created for front_camera in the last 120s. restarting the ffmpeg record process...
2025-10-28 13:53:58.319166150 [2025-10-28 13:53:58] watchdog.back_camera ERROR : No new recording segments were created for back_camera in the last 120s. restarting the ffmpeg record process...
2025-10-28 13:53:58.319380474 [2025-10-28 13:53:58] watchdog.front_camera INFO : Terminating the existing ffmpeg process...
2025-10-28 13:53:58.319616379 [2025-10-28 13:53:58] watchdog.back_camera INFO : Terminating the existing ffmpeg process...
2025-10-28 13:53:58.319802179 [2025-10-28 13:53:58] watchdog.front_camera INFO : Waiting for ffmpeg to exit gracefully...
2025-10-28 13:53:58.319917236 [2025-10-28 13:53:58] watchdog.back_camera INFO : Waiting for ffmpeg to exit gracefully...
2025-10-28 13:54:00.053934755 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-10-28 13:54:00.053938833
2025-10-28 13:54:00.053940566 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-10-28 13:54:00.053941217
2025-10-28 13:54:00.053941698
2025-10-28 13:54:00.054374554 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-10-28 13:54:00.054375957
2025-10-28 13:54:00.054377309 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-10-28 13:54:00.054377870
2025-10-28 13:54:00.054378261
2025-10-28 13:54:00.119385725 [2025-10-28 13:54:00] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/[email protected]
2025-10-28 13:54:00.119787353 [2025-10-28 13:54:00] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/[email protected]
2025-10-28 13:54:00.119915314 [2025-10-28 13:54:00] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/[email protected]
2025-10-28 13:54:00.120067541 [2025-10-28 13:54:00] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/[email protected]Relevant go2rtc log output2025-10-28 13:20:33.364243573 [INFO] Preparing new go2rtc config...
2025-10-28 13:20:33.605982335 [INFO] Starting go2rtc...
2025-10-28 13:20:33.656933571 13:20:33.656 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-10-28 13:20:33.656936496 13:20:33.656 INF config path=/dev/shm/go2rtc.yaml
2025-10-28 13:20:33.657390472 13:20:33.657 INF [rtsp] listen addr=:8554
2025-10-28 13:20:33.657496632 13:20:33.657 INF [api] listen addr=:1984
2025-10-28 13:20:33.657498085 13:20:33.657 INF [webrtc] listen addr=:8555
2025-10-28 13:20:43.110398285 [INFO] Starting go2rtc healthcheck service...FFprobe output from your cameraNAFrigate statsNo response Operating systemProxmox Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelHikvision ColorVu DS-2CD2387G2P-LSU/SL Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Based on your logs showing "Failed to probe corrupt segment" and "No new recording segments were created," the issue appears to be with how go2rtc is handling your Hikvision camera streams(1). For Hikvision cameras, you should connect via RTSP using the following format(1): Your current config uses Additionally, some users have reported that newer Hikvision cameras require adjustments to the security settings(1): Try updating your go2rtc streams to use the lowercase path format: go2rtc:
streams:
front_camera:
- rtsp://admin:[email protected]:554/streaming/channels/101
front_camera_sub:
- rtsp://admin:[email protected]:554/streaming/channels/102
back_camera:
- rtsp://admin:[email protected]:554/streaming/channels/101
back_camera_sub:
- rtsp://admin:[email protected]:554/streaming/channels/102If the issue persists, check your camera's security settings for the RTSP authentication options mentioned above(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
What audio codec are you using with the Hikvisions? If it's not AAC, you need to either change that in your camera's firmware, or transcode it with go2rtc or Frigate. See the breaking changes in the 0.16 release notes: https://github.com/blakeblackshear/frigate/releases/tag/v0.16.0 |
Beta Was this translation helpful? Give feedback.

What audio codec are you using with the Hikvisions?
If it's not AAC, you need to either change that in your camera's firmware, or transcode it with go2rtc or Frigate.
See the breaking changes in the 0.16 release notes: https://github.com/blakeblackshear/frigate/releases/tag/v0.16.0