Hello all,
I was curious to know if even though my IP cam is not listed in https://wiki.zoneminder.com/Hardware_Compatibility_List or http://www.ispyconnect.com/sources.aspx, if it's a definite non-support item? To be specific, I'm using a Amcrest Qcam 2048TVL http://www.amazon.com/gp/product/B014E995K8.
I've successfully got a RTSP stream loaded into VLC and can view it there, but I cannot get a successful configuration using HTTP or RTSP within ZoneMinder. I just wanted to start with this general information before seeking help and post logs. I'd post the screencap of my current config, but I've tried many of them to no avail. I am able to connect to the camera directly at <ip_address>/index.html which redirecs me to <ip_address>/NPClient.html?ipPort=9000. However, it doesn't work within Chrome.. only firefox and IE.
My successful connection via VLC is: rtsp://<user>@<ip_address>:554
My Current Configuration
Zoneminder v1.29.0
Installed using https://zoneminder.readthedocs.org/en/s ... buntu-14-x
Ubuntu Server 14.04
Thanks so much for everyone's time and consideration.
Hardware Not Supported?
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Hardware Not Supported?
Short answer: you are using the wrong source type. Most modern cameras need a source type of libvlc of ffmpeg. You must also get the resolution correct, to the exact pixel.
Which cameras are documented to work and which do not are up to community. If you don't see any documentation on your camera, then that means no one has volunteered their time to enter the information (hint).
Generally, most any camera will work if it is one or both of onvif compliant or supports rtsp streams.
Which cameras are documented to work and which do not are up to community. If you don't see any documentation on your camera, then that means no one has volunteered their time to enter the information (hint).
Generally, most any camera will work if it is one or both of onvif compliant or supports rtsp streams.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Hardware Not Supported?
Awesome, and thank you for the response.
As soon as I figure out the correct configuration, I'll be sure to contribute to the wiki.
Thanks again!
As soon as I figure out the correct configuration, I'll be sure to contribute to the wiki.
Thanks again!
Re: Hardware Not Supported?
I think I'm ready for some help and direction now, if you (or anyone else) are willing to help me troubleshoot.
So I've been at this for a couple hours now and I feel like I"m getting close; the logs are super helpful.... until now. I've seen the error "Unable to open input..." before, but it's never said success. When I googled the error, someone had something similar, but the thread was never resolved; last post was Dec 2015.
My config that produce the log is as follows:
General
Source Type: Ffmpeg
Source
Source Path: admin:test12345@192.168.1.77:554
I went into my camera settings and downgraded the Resolution to 1080P so I have a nice, round resolution.
I suppose if all else fails, I can just return this camera and get one on the wiki whose configuration is listed.. haha
So I've been at this for a couple hours now and I feel like I"m getting close; the logs are super helpful.... until now. I've seen the error "Unable to open input..." before, but it's never said success. When I googled the error, someone had something similar, but the thread was never resolved; last post was Dec 2015.
My config that produce the log is as follows:
General
Source Type: Ffmpeg
Source
Source Path: admin:test12345@192.168.1.77:554
I went into my camera settings and downgraded the Resolution to 1080P so I have a nice, round resolution.
Code: Select all
Date/Time
Component Server PID Level Message File Line
2016-02-24 20:46:35.558001 zmc_m1 27076 INF Monitor-1: 15000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:35.553210 zmc_m1 27082 ERR Unable to open input admin:test12345@192.168.1.77:554 due to: Success zm_ffmpeg_camera.cpp 271
2016-02-24 20:46:33.553771 zmc_m1 27076 INF Monitor-1: 14000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:31.546561 zmc_m1 27076 INF Monitor-1: 13000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:29.542736 zmc_m1 27076 INF Monitor-1: 12000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:27.540690 zmc_m1 27076 INF Monitor-1: 11000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:25.550889 zmc_m1 27082 ERR Unable to open input admin:test12345@192.168.1.77:554 due to: Success zm_ffmpeg_camera.cpp 271
2016-02-24 20:46:25.539545 zmc_m1 27076 INF Monitor-1: 10000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:23.538403 zmc_m1 27076 INF Monitor-1: 9000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:21.525442 zmc_m1 27076 INF Monitor-1: 8000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:19.512798 zmc_m1 27076 INF Monitor-1: 7000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:17.499996 zmc_m1 27076 INF Monitor-1: 6000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:15.548416 zmc_m1 27082 ERR Unable to open input admin:test12345@192.168.1.77:554 due to: Success zm_ffmpeg_camera.cpp 271
2016-02-24 20:46:15.488320 zmc_m1 27076 INF Monitor-1: 5000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:13.484755 zmc_m1 27076 INF Monitor-1: 4000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:11.500051 zmc_m1 27076 INF Monitor-1: 3000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:09.521633 zmc_m1 27076 INF Monitor-1: 2000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:07.534289 zmc_m1 27076 INF Monitor-1: 1000 - Capturing at 500.00 fps zm_monitor.cpp 3131
2016-02-24 20:46:05.546136 zmc_m1 27076 ERR Unable to open input admin:test12345@192.168.1.77:554 due to: Success zm_ffmpeg_camera.cpp 271
2016-02-24 20:46:05.541842 zmc_m1 27076 INF Priming capture from admin:test12345@192.168.1.77:554 zm_ffmpeg_camera.cpp 104
2016-02-24 20:46:05.535335 zmc_m1 27076 INF Starting Capture version 1.29.0 zmc.cpp 250
2016-02-24 20:46:05.464530 zmdc 2079 WAR Can't find process with command of 'zma -m 1' zmdc.pl
Re: Hardware Not Supported?
Hello again,
I figured I'd drop in again and give a status as to where I am at and see if anyone has anything that might be able to point me in the right direction.
Current setup
General: https://i.imgur.com/gKgH8Ft.png
Source: https://i.imgur.com/9mNqVll.png
Monitor-1: https://i.imgur.com/xybPivS.png
Options/Paths: https://i.imgur.com/QXFmZyr.png
Log: https://i.imgur.com/iIoiMls.png
VLC has a media options that gave me a Resolution and Display Resolution. I get the "streaming Monitor-1: 8000 - Capturing at 24.39 fps" using the Resolution. When I use the Display Resolution, those logs go away and I just get more errors.
VLC: https://i.imgur.com/pCbFRFc.png
What's interesting is that my zones are picking up images
Zones: https://i.imgur.com/pS8HtEp.jpg
I did find https://github.com/ZoneMinder/ZoneMinder/issues/321, which is the only relevent Google result relating to the Uncaught TypeError. Since I'm at a dead end on that, I'm tracking down the socket errors.
As always, any help or direction would be greatly appreciated! Thanks so much!
I figured I'd drop in again and give a status as to where I am at and see if anyone has anything that might be able to point me in the right direction.
Current setup
General: https://i.imgur.com/gKgH8Ft.png
Source: https://i.imgur.com/9mNqVll.png
Monitor-1: https://i.imgur.com/xybPivS.png
Options/Paths: https://i.imgur.com/QXFmZyr.png
Log: https://i.imgur.com/iIoiMls.png
VLC has a media options that gave me a Resolution and Display Resolution. I get the "streaming Monitor-1: 8000 - Capturing at 24.39 fps" using the Resolution. When I use the Display Resolution, those logs go away and I just get more errors.
VLC: https://i.imgur.com/pCbFRFc.png
What's interesting is that my zones are picking up images
Zones: https://i.imgur.com/pS8HtEp.jpg
I did find https://github.com/ZoneMinder/ZoneMinder/issues/321, which is the only relevent Google result relating to the Uncaught TypeError. Since I'm at a dead end on that, I'm tracking down the socket errors.
As always, any help or direction would be greatly appreciated! Thanks so much!
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Hardware Not Supported?
When the backend is working fine, as indicated by the "capturing at 16.95" entries in your most recent log screenshot, but live streaming does not work and socket_sendto errors are in the log, then that means you've got an Apache configuration issue somewhere. You need to make sure cgi is enabled, verify your PATH_ZMS is correct, and make sure the ScriptAlias in the apache zoneminder config file is correct. Compare what you've got to the Easy-Way instructions in the Wiki. I don't use Ubuntu so I don't know off the top of my head what these values should be.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Hardware Not Supported?
Ah, Fantastic.
CGI was enabled, but the path to CGI was set to /usr/lib/cgi-bin instead of /usr/lib/zoneminder/cgi-bin. That was my problem.
I went ahead and updated the wiki to communicate my camera's working config settings, which can be found here: https://wiki.zoneminder.com/Amcrest_QCam.
Thanks for your help knnniggett!
CGI was enabled, but the path to CGI was set to /usr/lib/cgi-bin instead of /usr/lib/zoneminder/cgi-bin. That was my problem.
I went ahead and updated the wiki to communicate my camera's working config settings, which can be found here: https://wiki.zoneminder.com/Amcrest_QCam.
Thanks for your help knnniggett!
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Hardware Not Supported?
Excellent. Glad you got it working, and thank you for putting your camera info into the wiki.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/