Something went wrong while verifying the camera settings: not enough bits
I am trying to add RTSP feed from Hikvision cameras to Kerberos agent v3.1.8, but encountered the error message "not enough bits" when either adding the RTSP stream directly into my Docker compose, or via the agent GUI.
The following have been tested:
- RTSP streams have been tested in VLC, OBS, and Frigate to be OK
- Using both direct RTSP from camera, and from go2rtc restreaming generate the same error message
- streams using H265 encoding with no audio
- tried RTSP streaming from TP-Link and NETUS DVR, same error
Setup:
- Synology DS420+ and Docker
- 5x Kerberos agents (currently one spooled up for testing)
- Minio and Kerberos Vault setup OK
Hey @flyingspud thanks for your detailed overview. Do you have this camera attached to other VMS? It looks like the camera cannot handle additional streams. Hikvision does work, both in H264 and H265 setup.
@cedricve cameras were previously connected to OBS for direct stream and to Synology Security Center for CCTV function. They were subsequently consolidated under go2rtc since I needed additional RTSP streams and Hikvision is limited to 2 concurrent stream per camera. Anyway, I have switched the encoding to H264 and got it working. Weird given that you mentioned H265 supposed to work but the agent is not biting even when I entered the direct RTSP stream details. Managed to get 4 out of 5 cameras to work, only one of them is still not working at the moment due to "i/o timeout error" from go2rtc and direct stream.
hey @flyingspud, thanks for the details, ok happy for you it worked out. Yes H265 is supported, under the hood we are using the golibrtsp library, so it might be that the H265 is not formatted as expected. We might need to raise an issue there.
@cedricve let me know if you need any form of debug log. As long as it does not contain any identifiable or sensitive information, I should be able to share it with you for further troubleshooting and aid with development works.
Hello. I have the same issue - can't to create camera with RTSP stream.
Something went wrong while verifying the camera settings.: not enough bits
@apetrichkovich which camera are you using? could you share a bit more details?
hello @cedricve WiFi IP camera QC013 CAMERA Y7 (sometimes it is selling as QC011).
@apetrichkovich does your camera have the option to output the camera stream as H264? If yes, give that a try and see if go2rtc picks it up.
Hello @flyingspud,
I’ve converted my RTSP stream to H.264 using MediaMTX and FFmpeg, and successfully added it to Kerberos Agent. I can view recorded clips, but the Live View either doesn't work consistently or freezes frequently.
From my experience so far, I assume the following:
- Kerberos Agent does not support H.265 streams out of the box.
- Live View functionality is unreliable or possibly requires additional configuration or components.
Could you confirm if this is expected behavior, and advise if there are recommended steps to improve Live View performance?
Thanks in advance!
@apetrichkovich I personally encountered streaming issue with H265, but this is something the developer will need to relook since it is supposed to be supported out of box. As for live view, I can't confirm as it is working fine for me, but I am using go2rtc as my restreaming server. If this is a persistent issue for you, you may need to raise a separate thread.