How to add cam?

Forum for questions and support relating to the 1.24.x releases only.
Locked
User avatar
biologisch
Posts: 96
Joined: Fri Aug 24, 2007 10:37 am

How to add cam?

Post by biologisch »

Hi!
Im tring to add this is the Axis Webserver
Adress -> http://93.83.1.9/indexFrame.shtml?newstyle=One&cam=1

I add a new monitor:
Source Type = remote
Remote Protocol = http
Remote Method = Simple
Remote Host Name = 93.83.1.9
Remote Host Port = 80
Remote Host Path = /indexFrame.shtml?newstyle=One&cam=1

But nothing is shown? Could anybody help me please?
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
Pada
Posts: 69
Joined: Fri Jul 30, 2010 12:29 am

Post by Pada »

PS: Don't post publicly accessible IP addresses here... although it did help me to identify your problem.

Your problem is that you're trying to capture the video feed from the wrong URL! You cannot capture a video feed from an HTML page. It has to be a video feed.

Try the following URL:
http://camera-ip/cgi-bin/fullsize.jpg?camera=1&motion=0
I'm not sure if that URL is working either. You might have to find the URL to the camera's video feed.

Since that is stream is mjpeg, I would recommend that you get the libjpeg-turbo library. It would be better if you can actually use mpeg streaming from the camera, but I'm not sure if it supports that!

I always use VLC or Mplayer to test if the URL is working before I add it the camera to ZoneMinder.
User avatar
biologisch
Posts: 96
Joined: Fri Aug 24, 2007 10:37 am

Post by biologisch »

I installed the libjepeg-tubo file from here -> http://sourceforge.net/projects/libjpeg-turbo/files/ and I remove the "&motion=0" part from the URL - and ... I WORKS! :lol:

Thanks a lot for your support. But there is an other problem to fix:
If there is a secure connection to the cam with username and password where I have to place it so Zoneminder can login the cam?
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
Pada
Posts: 69
Joined: Fri Jul 30, 2010 12:29 am

Post by Pada »

Usually you add the username and password right before the hostname.
I'd reckon that you can just change the hostname to <username>:<password>@<hostname>, because that's how you usually authenticate yourself in an URL.

eg.
http://admin:password@camera-ip/cgi-bin ... g?camera=1
Locked