virtual host for ZoneMinder.

Forum for questions and support relating to the 1.27.x releases only.
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: virtual host for ZoneMinder.

Post by TheKorn »

Hold down shift, then hit reload. See if it's still red.

If it's still red, try restarting zoneminder.

If it's still red, turn on debugging; something isn't right -- that shouldn't be possible with a green log.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: virtual host for ZoneMinder.

Post by rodeored »

The "log" link goes red every once in a while and then it turns green
(actually it looks blue but the code says its #686e23 which is green)
It streams OK but I'm still getting an occasional socket_sendto( error
The logs say this over and over

05/20/14 09:31:05.775231 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/199 [Read 1448 bytes]
05/20/14 09:31:05.775524 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/174 [Expecting 1448 bytes]
05/20/14 09:31:05.775540 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/199 [Read 1448 bytes]
05/20/14 09:31:05.775766 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/174 [Expecting 961 bytes]
05/20/14 09:31:05.775785 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/199 [Read 961 bytes]
05/20/14 09:31:05.775799 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/978 [Got end of image by length, content-length = 16889]
05/20/14 09:31:05.775846 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
05/20/14 09:31:05.775860 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/1053 [Returning 16889 (16889) bytes of captured content]
05/20/14 09:31:05.781598 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/106 [Connected to host, socket = 5]
05/20/14 09:31:05.781716 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/128 [Request sent]
05/20/14 09:31:05.901519 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/174 [Expecting 435 bytes]
05/20/14 09:31:05.901619 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/199 [Read 435 bytes]
05/20/14 09:31:05.901646 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/717 [Got status '200' (OK), http version 1.1]
05/20/14 09:31:05.901660 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/730 [Got content length '16917']
05/20/14 09:31:05.901674 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/758 [Got content type 'image/jpeg']
05/20/14 09:31:05.903666 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/174 [Expecting 1448 bytes]
05/20/14 09:31:05.903685 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/199 [Read 1448 bytes]
05/20/14 09:31:05.903972 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/174 [Expecting 1448 bytes]
05/20/14 09:31:05.903989 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/199 [Read 1448 bytes]
05/20/14 09:31:05.904285 zmc_m1[25405].DB3-zm_remote_camera_http.cpp/174 [Expecting 1448 bytes]
Last edited by rodeored; Today at 09:42 AM.
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: virtual host for ZoneMinder.

Post by TheKorn »

Hmmm.

My guess is that every once in a while the camera is barfing (either returning a bad frame or not returning anything), but recovering quickly enough that it's not causing other serious issues.

Since you've gone this far, in the wiki the 932L has a method for streaming mjpeg. (Right now you're just serially fetching jpeg images.) I'd try graduating to that next. I think it's highly likely that it'll work, given Dlink's other products.

If you're really paranoid about screwing up your current monitor config, change your existing monitor to type "none". Then define a second monitor going to the same camera where you mess with the mjpeg settings.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: virtual host for ZoneMinder.

Post by rodeored »

I found this list of remote host paths for D-link Cameras
http://www.ispyconnect.com/man.aspx?n=D-Link

There is a video stream at http://IPADDRESS/video/mjpg.cgi which does work for me.
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: virtual host for ZoneMinder.

Post by TheKorn »

rodeored wrote:There is a video stream at http://IPADDRESS/video/mjpg.cgi which does work for me.
Don't just sit there, add it to the wiki!
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: virtual host for ZoneMinder.

Post by rodeored »

I added it. Thanks for all the help. Your instructions are unusually clear.
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: virtual host for ZoneMinder.

Post by TheKorn »

Good man! :mrgreen:
Locked