Camera ip

Hello everyone and sorry… unfortunately, I don’t understand how to make the IP CAMERA work… I installed 4 Hikvision IP cameras connected to a POE switch and others connected directly to the NVR… Now I would like to see them on Openhab/Habpanel… or rather, on HABPANEL, I can see the “JPG” refreshing every 2 seconds but not the “MJPEG” stream. What am I doing wrong? Thank you all again Riccardo

Without seeing what you’ve tried it’s impossible to say.

Hi and thanks for the response … basically I don’t see the video LIVE from Habpanel …

You’ve fully explained the problem. But without seeing what you’ve tried, the configurations you’ve attempted, the widgets you’ve attempted to deploy and what properties you’ve applied :person_shrugging:

There are dozens of ways this could be implemented and hundreds of ways that it could go wrong. No one here is going to write a 500 page post covering every possible thing you could be doing wrong. First you have to actually show us what wyou are doing, and answer any follow up questions that may be asked.

The problem could be the network. It could be the browser. It could be the URL you ar using. It could be something else in the widget configuration.

The IP camera binding requires you to setup the second video stream in the cameras web page of settings to be a MJPEG format before it will work.

  1. Set the stream to be mjpeg and NOT h264 or h265. You can leave the main stream and third streams on what format you wish to use.
  2. The stream that is mjpeg MUST be the second stream for the defaults to work, otherwise you can over ride the URL to use a different stream as the source.

The other way to make it work if something is wrong, would be to enter in ffmpeg into the URL setting inside of openhab’s thing, the configuration is called MJPEG URL. This will force the binding to create a mjpeg stream for you using the RTSP feed. Note that this will chew CPU power, so best to look at the 2 ideas above which are listed in the bindings setup steps for your brand of camera. If this is it, then please read the bindings documentation.

Lastly, its always a good idea to enable TRACE logging on the binding and that will either help you, or allow others on a forum to help better as they can see what is happening when you try to use a certain feature.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.