Trouble with all my cameras with 1.36.4 from 1.32
Trouble with all my cameras with 1.36.4 from 1.32
So I've been using Zoneminder for a long long time. I have been using 1.32 recently for a couple years without too many issues. I installed a new Ubuntu 20.04 server to try and test out 1.36 (installed 1.36.4) only to find that pretty much all my cameras do not work. (the ones that I don't know I haven't tested yet). Using the same configurations I had in 1.32 don't work at all or give some weird errors I don't know what to do with. For example:
Camera: Amcrest 841b v3 (brand new, works great in 1.32)
Source Type: FFmpeg
Source Path: rtsp://user:pass@camaddress/cam/realmonitor?channel=1&subtype=0
Error in syslog:
Jun 9 19:06:42 janus zmc_m2[15688]: ERR [zmc_m2] [Unable to open input rtsp://user:pass@camaddress/cam/realmonitor?channel=1&subtype=0 due to: Immediate exit requested]
Camera Foscam 9821P v2 (long time works great in 1.32)
Source Type: FFmpeg
Source Path: rtsp://zmuser:zmz0n3r@user:pass@camaddress:80/videoMain
Error in syslog:
Jun 9 19:09:07 janus zmc_m1[15894]: ERR [zmc_m1] [Unable to open input rtsp://user:pass@camaddress:80/videoMain due to: Invalid data found when processing input]
Jun 9 19:11:31 janus zmc_m3[15991]: ERR [zmc_m1] [Failed to prime capture of initial monitor]
Camera: Amcrest 844
Source Type: FFmpeg
Source Path: rtsp://user:pass@camaddress:80/cam/realmonitor?channel=1&subtype=0
Error in syslog:
Jun 9 19:11:31 janus zmc_m3[15991]: ERR [zmc_m3] [Unable to open input rtsp://user:pass@camaddress:80/cam/realmonitor?channel=1&subtype=0 due to: Invalid data found when processing input]
Jun 9 19:11:31 janus zmc_m3[15991]: ERR [zmc_m3] [Failed to prime capture of initial monitor]
Camera: TrendNet IP410 (super old, but has been very reliable)
Source Type: Remote
Host Name: user:pass@camaddress
Port: 80
Path: /cgi/jpg/image.cgi
Error in syslog:
Jun 9 19:14:59 janus zmc_m4[16055]: ERR [zmc_m4] [Unrecognised content type '']
Jun 9 19:14:59 janus zmc_m4[16055]: ERR [zmc_m4] [Unable to get response, disconnecting]
Jun 9 19:14:59 janus zmc_m4[16055]: ERR [zmc_m4] [Failed to capture image from monitor 4 IP410Outdoor (1/1)]
I've tried a fresh system install a couple times, followed all the walkthroughs on setting it up I could find, no success.
So what's the deal? Why am I having such problems with the brand new version of ZoneMinder when it works in 1.32? Why is this progressing backwards?
Camera: Amcrest 841b v3 (brand new, works great in 1.32)
Source Type: FFmpeg
Source Path: rtsp://user:pass@camaddress/cam/realmonitor?channel=1&subtype=0
Error in syslog:
Jun 9 19:06:42 janus zmc_m2[15688]: ERR [zmc_m2] [Unable to open input rtsp://user:pass@camaddress/cam/realmonitor?channel=1&subtype=0 due to: Immediate exit requested]
Camera Foscam 9821P v2 (long time works great in 1.32)
Source Type: FFmpeg
Source Path: rtsp://zmuser:zmz0n3r@user:pass@camaddress:80/videoMain
Error in syslog:
Jun 9 19:09:07 janus zmc_m1[15894]: ERR [zmc_m1] [Unable to open input rtsp://user:pass@camaddress:80/videoMain due to: Invalid data found when processing input]
Jun 9 19:11:31 janus zmc_m3[15991]: ERR [zmc_m1] [Failed to prime capture of initial monitor]
Camera: Amcrest 844
Source Type: FFmpeg
Source Path: rtsp://user:pass@camaddress:80/cam/realmonitor?channel=1&subtype=0
Error in syslog:
Jun 9 19:11:31 janus zmc_m3[15991]: ERR [zmc_m3] [Unable to open input rtsp://user:pass@camaddress:80/cam/realmonitor?channel=1&subtype=0 due to: Invalid data found when processing input]
Jun 9 19:11:31 janus zmc_m3[15991]: ERR [zmc_m3] [Failed to prime capture of initial monitor]
Camera: TrendNet IP410 (super old, but has been very reliable)
Source Type: Remote
Host Name: user:pass@camaddress
Port: 80
Path: /cgi/jpg/image.cgi
Error in syslog:
Jun 9 19:14:59 janus zmc_m4[16055]: ERR [zmc_m4] [Unrecognised content type '']
Jun 9 19:14:59 janus zmc_m4[16055]: ERR [zmc_m4] [Unable to get response, disconnecting]
Jun 9 19:14:59 janus zmc_m4[16055]: ERR [zmc_m4] [Failed to capture image from monitor 4 IP410Outdoor (1/1)]
I've tried a fresh system install a couple times, followed all the walkthroughs on setting it up I could find, no success.
So what's the deal? Why am I having such problems with the brand new version of ZoneMinder when it works in 1.32? Why is this progressing backwards?
Re: Trouble with all my cameras with 1.36.4 from 1.32
Do you have MaxFPS or AlarmMaxFPs set? If so clear them.
Not sure otherwise. Need debug logs.
Not sure otherwise. Need debug logs.
-
- Posts: 349
- Joined: Sun Jun 05, 2016 2:53 pm
Re: Trouble with all my cameras with 1.36.4 from 1.32
I have a bunch of Amcrest, can't speak from experience about the others. All my Amcrest are working nicely (with some PTZ issues, but that's unrelated here). My "source" lines in my Amcrest monitors all look like:
Please try this, noting the port number.
Code: Select all
rtsp://login:password@cameraIP:554/cam/realmonitor?channel=1&subtype=0
Re: Trouble with all my cameras with 1.36.4 from 1.32
I have most of them set to port 80, but I've tried your suggestion with no success.alabamatoy wrote: ↑Thu Jun 10, 2021 12:41 pm I have a bunch of Amcrest, can't speak from experience about the others. All my Amcrest are working nicely (with some PTZ issues, but that's unrelated here). My "source" lines in my Amcrest monitors all look like:Please try this, noting the port number.Code: Select all
rtsp://login:password@cameraIP:554/cam/realmonitor?channel=1&subtype=0
-
- Posts: 349
- Joined: Sun Jun 05, 2016 2:53 pm
Re: Trouble with all my cameras with 1.36.4 from 1.32
I would be looking at a network issue. I have setup 4 different servers on various versions of ZM and various versions of Ubuntu and lotsa different Amcrest cameras and this has worked on all of them.
Can you ping the cameras? Can you run a browser on the server? Try going direct to the cameras that way, see if you get response. If you cannot run a browser, you probably can use CURL to poke at the camera and see if you get response.
Re: Trouble with all my cameras with 1.36.4 from 1.32
The error that I'm focusing on right now is the "Invalid data found when processing input". Is there a way to get a log of what that data is and why Zoneminder thinks it is invalid? I've tried turning all the logging on to debug and enable debugging, but it doesn't seem to give me any more information than that.
Re: Trouble with all my cameras with 1.36.4 from 1.32
To add more to this - I seem to have the same issue when I tried it with 1.34.26 as well.
What changed from 1.32 to 1.34/36 that broke everything?
What changed from 1.32 to 1.34/36 that broke everything?
Re: Trouble with all my cameras with 1.36.4 from 1.32
Run some tests with ffmpeg or VLC from the server machine.
-
Re: Trouble with all my cameras with 1.36.4 from 1.32
I found my issue. Seems something changed in my network that by default it got some weird DNS if I don't point it at my local DNS server. This was not how the previous system functioned, but after changing my resolv.conf I've been able to get cameras to start working.
Thanks for all the suggestions and help!
Thanks for all the suggestions and help!