kerberos-io / kios

A Linux OS created by Buildroot which runs Kerberos Open Source out-of-the-box.
https://www.kerberos.io
Other
195 stars 37 forks source link

Can't get vidoestream to show in web-ui and questions about using plugin in docker #13

Open Cliff-R-K opened 7 years ago

Cliff-R-K commented 7 years ago

I tried installing using docker on debian 8 and am planning to use multiple IP-cameras acording to the documentation. I am trying to add the first IP-camera using the default docker-compose.yml (which I do not need to modify if I understand correctly ?)

I can access the web-ui and tried adding the path to my ip camera like: "http://192.168.0.37:82/videostream.cgi?user=admin&pwd=&resolution=32&rate=0" (I have also tried alot of other paths). The urls work in a standard browser but nothing shows up in kerberos. Am I missing something? Edit: I found some other documentation and also tried this with same result (shows up in browser but not in kebreos) "http://192.168.0.37:82/snapshot.cgi?user=admin&pwd=&dummy=.mjpg"

Also second question is that after I get the cameras working I want to use this plugin https://doc.kerberos.io/2.0/addons/People_Counting How do I install/use this with every camera when using docker? Do I install the plugin in a container somehow? Step-by-step instructions would be appreciated.

Edit2: I just noticed that when I use the "machinery" port I see the videofeed from the camera. And after that the camera in web-ui magicly works suddenly using the url="http://192.168.0.37:82/snapshot.cgi?user=admin&pwd=". But I still would like to know how to incorporate the people counter plugin using the multiple docker cameras.

cedricve commented 7 years ago

hey @burton666, great you've found a fix for the livestream. However MJPEG isn't the best option, you should use a RTSP supported camera.

To use people counting, just follow the tutorial, and make sure you've the correct settings configured.