Amcrest cameras not working under Ubuntu Noble 24.04

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
montreal73
Posts: 9
Joined: Fri Sep 16, 2022 7:57 pm

Amcrest cameras not working under Ubuntu Noble 24.04

Post by montreal73 »

Hi, I was running a mix of Reolink and Amcrest cameras in Zoneminder 1.36.33 and Ubuntu 20.04.4 LTS.

I have a replacement computer and have installed Ubuntu 24.04 Noble release. I installed using the same method as listed here: viewtopic.php?t=33210

Zoneminder is running (version 1.36.34) and the Reolink cameras come up fine. The two Amcrest cameras : IP8M-MB2546EW and IP8M-249EB-28MM do not show. I am using the same settings that worked before:

Ffmpeg
Monitor
rtsp://cameraname:password@IP:554/cam/realmonitor?channel=1&&subtype=0
TCP
allowed_media_types=video
32 bit color
3840 2160 on IP8M-MB2546EW and 2560 1440 on IP8M-249EB-28MM

The cameras are set to send 2 frames per second.

Log says:

7/2/24, 1:57:35 PM EDT zmc_m9 6109 ERR Failed to prime capture of initial monitor zmc.cpp 258
7/2/24, 1:57:35 PM EDT zmc_m9 6109 ERR Unable to open input rtsp://(IP):554/cam/realmonitor?channel1&subtype=0 due to: Server returned 404 Not Found zm_ffmpeg_camera.cpp 325
7/2/24, 1:57:35 PM EDT zmc_m3 6095 ERR Failed to prime capture of initial monitor zmc.cpp 258

Any suggestions?
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Amcrest cameras not working under Ubuntu Noble 24.04

Post by bbunge »

I've found it is best to use ONVIF and let Zoneminder detect the Amcrest cam settings.

Here is the string from one of my cams:

rtsp://user:password@192.168.50.9:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif

Make sure you have the resolution set right in Zoneminder to match the camera. Also use TCP not UDP. You can use more than 2 FPS...try 10 FPS.
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Amcrest cameras not working under Ubuntu Noble 24.04

Post by iconnor »

Yeah the channel in the url is missing the =
montreal73
Posts: 9
Joined: Fri Sep 16, 2022 7:57 pm

Re: Amcrest cameras not working under Ubuntu Noble 24.04

Post by montreal73 »

Thank you! I had forgotten the = sign in every camera. They are up now.
Now I will work on optimizing the settings.
Post Reply