Getting zoneminder to recognize Amcrest IP5M-T1179E

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

I have this Amcrest camera and I cannot seem to get it working with Zoneminder 1.34.23
I get this error that says

unable to open input rtsp://admin:PASSWORD@IPADDRESS:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif due to: Input/output error

Whenever I try to view the camera through its web interface, amcrest app, or VLC it's fine. But zoneminder will not add it.

Does anyone have any advice for what I should do?

I am using the onvif probe in zoneminder to fill out its pathj information.
Source type: ffmpeg
method: TCP
Video writer: h264 passthrough
audio recording enabled
User avatar
Andyrh
Posts: 247
Joined: Sat Oct 28, 2017 3:55 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by Andyrh »

This is how I defined my Amcrest cameras. Perhaps it will help.

rtsp://admin:password@10.10.2.20:554/cam/realmonitor?channel=1&subtype=0

The channel and subtype can change depending on the feed you want to use. This is the primary feed.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

Andyrh wrote: Thu Jan 28, 2021 1:56 pm This is how I defined my Amcrest cameras. Perhaps it will help.

rtsp://admin:password@10.10.2.20:554/cam/realmonitor?channel=1&subtype=0

The channel and subtype can change depending on the feed you want to use. This is the primary feed.
I have another Amcrest camera (different model than the one I'm currently trying to add) and it has very similar configurations. It works fine. But this camera is just really stubborn and won't let me add it to zoneminder. I keep getting this error that says input/output error. I was hoping someone would know what that means.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by Magic919 »

Test from the commandline of the ZM server. Usually irrational system behaviour like this is due to an error.
-
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

Magic919 wrote: Fri Jan 29, 2021 8:14 am Test from the commandline of the ZM server. Usually irrational system behaviour like this is due to an error.
How do I do that?
I can already ping the camera from the zoneminder server. I just can't get it added.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by Magic919 »

I’d use ffprobe from the command line.
-
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

Magic919 wrote: Sat Jan 30, 2021 7:45 am I’d use ffprobe from the command line.
This sounds interesting. I don't know anything about that command. How would I use it? Will it allow me to add the camera to zoneminder through the command line?
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

Magic919 wrote: Sat Jan 30, 2021 7:45 am I’d use ffprobe from the command line.
Is there a wiki I can read on how to use ffprobe or do you have an example of its syntax is used in the command line?
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by iconnor »

Do you have weird characters in password?

Turn on debug logs under Options->Logging->DEBUG

If it takes too long to get an image zmwatch will restart zmc. Make sure Options->System->WATCH_MAX_DELAY is big enough. Like 30-45 seconds.
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

iconnor wrote: Sat Jan 30, 2021 7:25 pm Do you have weird characters in password?

Turn on debug logs under Options->Logging->DEBUG

If it takes too long to get an image zmwatch will restart zmc. Make sure Options->System->WATCH_MAX_DELAY is big enough. Like 30-45 seconds.
Thank you SO much; it WAS the weird characters in the password. I changed the password on the camera to remove those and it works now.
:D
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by iconnor »

I'm gonna have to get around to fixing that I guess.
RockUser
Posts: 20
Joined: Sun Jan 05, 2020 6:43 am

Re: Getting zoneminder to recognize Amcrest IP5M-T1179E

Post by RockUser »

iconnor wrote: Sun Jan 31, 2021 10:36 pm I'm gonna have to get around to fixing that I guess.
It's very strange because I have a ton of special characters in the password for my other amcrest camera and that one never gave me any problems. But it must've been the password for this amcrest camera because changing the password fixed the problem. Although the other amcrest camera is a different model than this one.
Post Reply