Hi All,
I am having issues getting this PTZ 1080p camera setup in ZM 1.34. I have it working in iSPY and I am trying to use the same connection string like i do with my Amcrest camersa FFMPEG/RTSP. Do the Axis camers use something different? It seems that the axis camera may want you to build the different channels as there is not a main/secondary like my Amcrest cameras.
Local
Remote
File
FfMPEG
LibVLC
cURL
Web Site
NVSocket
do I need the channel and subtype?
channel=1&subtype=1
This(hint to devs maybe there should be a dump all dev settings so we can paste to the form what we have configured) is what I have tried and it did not work but appeared to work in iSPY:
rtsp://UserName:PassWord@ip-addr:554/axis-media/media.amp
rtsp://UserName:PassWord@ip-addr:554/onvif-media/media.amp
rtsp://UserName:PassWord@ip-addr:554/axis-media/media.amp?videocodec=h264&resolution=640x480
Thanks,
Joe
Axis M3015 camera setup
Re: Axis M3015 camera setup
Every camera is its own animal. Always test from outside of ZM via ffplay/ffmpeg or vlc first. Along with ispy, ONVIF can sometimes tell you the paths. Or if you can access the stream in the web browser directly. For axis I have found the following paths work:smokinjoe wrote: ↑Thu Mar 04, 2021 12:19 pm I am having issues getting this PTZ 1080p camera setup in ZM 1.34. I have it working in iSPY and I am trying to use the same connection string like i do with my Amcrest camersa FFMPEG/RTSP. Do the Axis camers use something different? It seems that the axis camera may want you to build the different channels as there is not a main/secondary like my Amcrest cameras.
Code: Select all
older axis cameras:
remote or ffmpeg: http://user:pass@ipaddress/mjpg/video/mjpg
libvlc: rtsp://user:pass@ipaddress:554/mpeg4/media.amp
more recent cameras:
remote or ffmpeg: http://user:pass@ipaddress/mjpg/video/mjpg
ffmpeg:
rtsp://user:pass@ipaddress:554/axis-media/media.amp?videocodec=h264
https://wiki.zoneminder.com/Hardware_Compatibility_List
https://wiki.zoneminder.com/Axis
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: Axis M3015 camera setup
Burger,
iSPY finds the camera right away wint many options bold/normal text font and I can use the web interface of the camera itself. I think there must be some tweaking and setup that has to be done on the camera side first. Also I must have used a password that was too long or there is some limit on the camera for the number of "admin" users that can connect to the camera as I had an iSPY session, a web browser session and zoneminder trying to hit it at the same time. In the logs it was barking about the password. I hope to be able to know more today and test out all your suggestions burger.
Thanks,
Joe
iSPY finds the camera right away wint many options bold/normal text font and I can use the web interface of the camera itself. I think there must be some tweaking and setup that has to be done on the camera side first. Also I must have used a password that was too long or there is some limit on the camera for the number of "admin" users that can connect to the camera as I had an iSPY session, a web browser session and zoneminder trying to hit it at the same time. In the logs it was barking about the password. I hope to be able to know more today and test out all your suggestions burger.
Thanks,
Joe
Re: Axis M3015 camera setup
ZM passes the password as part of the URL string and has issues with URL special characters. If it is a password issue make sure it does not have any of those.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: Axis M3015 camera setup
I can modect and record when events happen but both the "Name" link does not show a preview of the camera live and neither does it show any video when I define zones.
General
Ffmpeg
modect
x Enabled
Source:
Source Path rtsp://root:AxisM3015@10.31.6.11/axis-media/media.amp?videocodec=h264&resolution=1280x720&streamprofile=quality&compression=30
Method : tcp
pixels 1280 720 720p
Storage:
Frames + Analysis images (if available)
H@^$ Camera Passthough
Control :
Controllable x
Control Type : Axis API v2
Control Address : root:AxisM3015@10.31.6.11:80
Return location : Home
Return Delay : 10
General
Ffmpeg
modect
x Enabled
Source:
Source Path rtsp://root:AxisM3015@10.31.6.11/axis-media/media.amp?videocodec=h264&resolution=1280x720&streamprofile=quality&compression=30
Method : tcp
pixels 1280 720 720p
Storage:
Frames + Analysis images (if available)
H@^$ Camera Passthough
Control :
Controllable x
Control Type : Axis API v2
Control Address : root:AxisM3015@10.31.6.11:80
Return location : Home
Return Delay : 10
- Attachments
-
- name-menu-zm134.JPG (57.48 KiB) Viewed 2138 times
-
- preview-zm134.JPG (53.45 KiB) Viewed 2138 times
Re: Axis M3015 camera setup
Some cameras have this limitation, but not typically Axis. There is an option to enable anonymous viewing of the camera stream. There is one older model (I think 208) that doesn't work with auth enabled. But all the other models I've used don't have this problem.
I think what was mentioned about the password is correct. Either special characters, or a limit. Sometimes cameras only accept 8 characters, even if you type 20. Again, older cameras. Test in VLC / ffmpeg first.
For the preview, try changing the codec used for viewing. e.g. when h265 is used, you must view it in mjpeg or maybe h264 (I forget which)(actually, on second thought, this might only be for record. I have to check my server). There should be a drop down somewhere. If it's not that issue, then it seems like an improper installation. Any errors in the logs?
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: Axis M3015 camera setup
I will make sure the password is 8 or less and no symbols
I will also test the anonomys login, I hate that as when this is on a nework with users at work they can bog it down watching it.
I will look at the logs tonight.
I will also test the anonomys login, I hate that as when this is on a nework with users at work they can bog it down watching it.
I will look at the logs tonight.
Re: Axis M3015 camera setup
well having all lowercase and 2 numbers with 8 characters in total does not work
anonymous with no password does not work
I can still get the zone to pick up and record when there is motion and I just reviewed that it still works. Here is the errors in my log:
anonymous with no password does not work
I can still get the zone to pick up and record when there is motion and I just reviewed that it still works. Here is the errors in my log:
Code: Select all
2021-03-11 17:49:19 zmc_m1 101519 INF axisM3015: images:2700 - Capturing at 10.00 fps, capturing bandwidth 46233bytes/sec zm_monitor.cpp 2534
2021-03-11 17:49:19 zma_m1 102068 INF axisM3015: 1400 - Analysing at 5.26 fps zm_monitor.cpp 1303
2021-03-11 17:49:09 zmc_m1 101519 INF axisM3015: images:2600 - Capturing at 10.00 fps, capturing bandwidth 46917bytes/sec zm_monitor.cpp 2534
2021-03-11 17:49:00 zma_m1 102068 INF axisM3015: 1300 - Analysing at 5.26 fps zm_monitor.cpp 1303
2021-03-11 17:48:59 zmc_m1 101519 INF axisM3015: images:2500 - Capturing at 10.00 fps, capturing bandwidth 46449bytes/sec zm_monitor.cpp 2534
2021-03-11 17:48:54 web_php 4197 ERR Socket /var/run/zm/zms-879467s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. includes/functions.php 2188
2021-03-11 17:48:52 web_php 4197 ERR Socket /var/run/zm/zms-879467s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. includes/functions.php 2188
2021-03-11 17:48:52 web_js 4196 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-879467s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors() ?view=zone
2021-03-11 17:48:52 zms_m1 101537 ERR Unable to authenticate user zms.cpp 207
2021-03-11 17:48:51 web_php 4196 ERR Socket /var/run/zm/zms-251270s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. includes/functions.php 2188
2021-03-11 17:48:50 zms_m1 100774 ERR Unable to authenticate user zms.cpp 207
2021-03-11 17:48:50 zms_m1 102155 ERR Unable to authenticate user zms.cpp 207
2021-03-11 17:48:49 zmc_m1 101519 INF axisM3015: images:2400 - Capturing at 10.00 fps, capturing bandwidth 45140bytes/sec zm_monitor.cpp 2534
2021-03-11 17:48:45 zms_m1 101537 ERR Unable to authenticate user zms.cpp 207
2021-03-11 17:48:45 zms_m1 101537 ERR Unable to authenticate user zms.cpp 207
2021-03-11 17:48:41 zma_m1 102068 INF axisM3015: 1200 - Analysing at 5.26 fps zm_monitor.cpp 1303
2021-03-11 17:48:39 zmc_m1 101519 INF axisM3015: images:2300 - Capturing at 10.00 fps, capturing bandwidth 44689bytes/sec zm_monitor.cpp 2534
2021-03-11 17:48:31 web_php 4197 ERR ZoneMinder is not configured properly: php's date.timezone -0500 does not match the system timezone -0800! Please check Options->System->Timezone. includes/functions.php 2423
2021-03-11 17:48:29 zmc_m1 101519 INF axisM3015: images:2200 - Capturing at 10.00 fps, capturing bandwidth 43303bytes/sec
Re: Axis M3015 camera setup
This is from 2010 and gets me close but not enough. FYI : Axis tech support is useless.
https://wiki.zoneminder.com/How_to_stre ... Axis_P3343
https://wiki.zoneminder.com/How_to_stre ... Axis_P3343