Axis 212 PTZ setup

Forum for questions and support relating to the 1.26.x releases only.
Locked
rwinkel
Posts: 13
Joined: Sun Nov 03, 2013 4:26 am

Axis 212 PTZ setup

Post by rwinkel »

I'm new to zoneminder, sorry for any obvious stupidity on my part. I have the software set up and (I think) working normally, but I can't figure out how to specify the camera's login and password in the zm configuration panel. If I enter
loginID:password@cameraIP
in the remote host field of the monitor configuration panel it says "Host must be set to a valid ip address". I don't see any field to specify a password. I also see nothing about this particular model of Axis camera which has me worried (we bought 4 of them!). Can anyone help?

Many thanks!
Rich
chippy99
Posts: 66
Joined: Wed Aug 30, 2006 5:38 pm
Location: Barnet, Herts. UK

Re: Axis 212 PTZ setup

Post by chippy99 »

Have you looked at the wiki here
rwinkel
Posts: 13
Joined: Sun Nov 03, 2013 4:26 am

Re: Axis 212 PTZ setup

Post by rwinkel »

Thanks for the quick reply! Yes, I looked at that and it doesn't work with rtsp streaming either. The dialog window rejects the syntax and refuses to save it. But in any case I've turned on anonymous connections to the camera for now and tried the settings on that page:

Remote Protocol: RTSP
Remote Method: RTP/RTSP
Remote Host Name: IP#
Remote Host Port: 554
Remote Host Path: /mpeg4/media.amp

But the display is blank (white) and zmc_m1.log file contains tons of:
ZoneMinder-1.26.4/src/zm_remote_camera_rtsp.cpp/273 [Error while decoding frame *N* ]
ZoneMinder-1.26.4/src/zm_remote_camera_rtsp.cpp/274 [256: 00 00 01 00 00 01 b6 5a bf 02 96 37 b7 9c ed 64 dd 6d fd de ee b2 bd 8d f6 b3 89 73 87 0f bd 3d 3e ff 60 af f6 f3 97 2b 79 c6 f3 8f ff b5 91 6e 9d d6 ef 7a ed 6e 56 dc 4e fb ef b1 9d f7 ad ca fd 66 de fb f7 00 00 85 02 98 dd b7 8a b6 f2 1d ac 87 fb 59 37 f7 4f b1 22 17 df ef 3f dd eb 70 92 ef 75 ba fe c6 ef fe fe d6 7e c6 76 de eb bd 00 00 8a 02 bd 0b 38 e6 f3 b7 bb 7b dc af be ff f7 5e e5 7d fb a5 5b 38 f2 7b dc c9 d1 dd fb c9 eb bb df 79 bc df eb e2 a3 5b 7b bf ef 4d 59 df 7f bf 00 00 8f 02 9c bf ff 79 ba 4d b4 73 b7 b9 ef ba db 73 9a f8 d0 ef bb f7 97 fd ac 69 67 15 ba c6 15 2c 90 bb ef 57 86 fb dd d7 b8 73 d8 ce 3c 9f 7f 00 00 94 02 bf ee fb 19 12 d9 33 72 73 5a ce d6 c6 4f 5d 6c 55 7a db c6 ae bf b5 9e d6 cc b7 67 7a d9 07 dd db c6 2c 39 25 d5 f5 b7 6d]

Here "*N* varies between 1 and 3. The camera firmware is current (4.49). I've restarted zm to no avail...
rwinkel
Posts: 13
Joined: Sun Nov 03, 2013 4:26 am

Re: Axis 212 PTZ setup

Post by rwinkel »

Ok, I was able to get all 4 cameras displaying video by doing a preset
axis ip ptz mpjpeg max 5 fps
and then going back and filling in the path and port according to the wiki.
But I'm still getting "Error while decoding frame xxxx" on all 4 cameras.
Monitor 2 seems especially verbose in its errors and the video goes in and out.
M2's log file also isn't resetting to zero bytes like the other 3. I think I'll try deleting and recreating it.
Looking at the cpu load on the machine things are pretty quiet. I'm just doing monitoring, not analyzing.
Also in web_js.log I see lots of:
web_js[15200].ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-876868s.sock ) failed: No such file or directory - checkStreamForErrors()] at ?view=watch line
Sockets are coming and going in that directory.
chippy99
Posts: 66
Joined: Wed Aug 30, 2006 5:38 pm
Location: Barnet, Herts. UK

Re: Axis 212 PTZ setup

Post by chippy99 »

There is a problem with mpeg since version 1.26.4, it fixed h.264 but broke mpeg as I have posted here it is also on github here
As a temporary fix I have reverted the file zm_rtp_source.cpp back to the 1.26.3 version which seems to cure this.
rwinkel
Posts: 13
Joined: Sun Nov 03, 2013 4:26 am

Re: Axis 212 PTZ setup

Post by rwinkel »

That seems to have fixed it! Many thanks!!!
Locked