Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant say the cameras are inatives/non available but every time I reload the page I see the last frame. #209

Open
saldain opened this issue Sep 25, 2024 · 11 comments
Labels
help Troubleshooting

Comments

@saldain
Copy link

saldain commented Sep 25, 2024

hik1
imagen

I have this problem with a DVR iDS-7204HUHI-M1 / E
Firmwares I tried :

  • V4.75.011 build 240625
  • V4.71

H.264 is active for every camera
ONVIF is active to.

thanks in advance

@saldain saldain changed the title Home Assistant say the cameras are incatives/non available but every time I reload the page I see the last frame. Home Assistant say the cameras are inatives/non available but every time I reload the page I see the last frame. Sep 25, 2024
@saldain
Copy link
Author

saldain commented Sep 25, 2024

I was checking the console then I see this:

2024-09-25 17:18:57.925 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.ids_7204huhi_m1_e0420230926ccwrah1681421wcvu_101] Error from stream worker: No dts in 7 consecutive packets

@saldain
Copy link
Author

saldain commented Sep 25, 2024

This is the diagnostic data
config_entry-hikvision_next-01J8ND2XDGRN290SXH7KR7F3C0.json

@saldain
Copy link
Author

saldain commented Sep 26, 2024

imagen
Some new error on the console

@maciej-or
Copy link
Owner

please check the codec used to transcode analog cameras, should be H264, H265 may not be supported

@saldain
Copy link
Author

saldain commented Sep 26, 2024

please check the codec used to transcode analog cameras, should be H264, H265 may not be supported

Checked, there are at H264, all cameras.

@maciej-or
Copy link
Owner

try to open the stream in VLC using URL like:
rtsp://<username>:<password>@<IP address of device>:554/Streaming/channels/101
to check if the stream is correct

@saldain
Copy link
Author

saldain commented Sep 26, 2024

This is what I get
imagen
We can see that it works but not correctly
imagen

This is the config for every camera
imagen

@maciej-or
Copy link
Owner

these settings look good, there must be something else that is messing up the stream

@saldain
Copy link
Author

saldain commented Oct 1, 2024

I found a radical but effective solution. I did a factory reset and everything works now. Only change i made to make ir work on the Browser is hanging the default H265 to H264.
Thanks for everything.
imagen

@maciej-or
Copy link
Owner

thanks for sharing solution even a radical one :)

@maciej-or maciej-or added the help Troubleshooting label Oct 2, 2024
@UMB8998
Copy link

UMB8998 commented Nov 3, 2024

I had the exact same problem, the way to fix it is by disabling the encryption on the stream.

Basically once you add the cameras to HIK-Connect it activates the stream encryption and there is no way to live watch the feed, the way to handle this is to go into Network-Advanced Options-Platform Access and there uncheck the stream encryption, that would fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Troubleshooting
Projects
None yet
Development

No branches or pull requests

3 participants