added 2nd camera and it only works if i disable the 1st camera

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
RippieUK
Posts: 7
Joined: Tue Oct 29, 2019 10:12 pm

added 2nd camera and it only works if i disable the 1st camera

Post by RippieUK »

Hi all,

Not entirely sure what is going on, just added a second camera and it did not work to start with. So i tested with VLC player against stream rtsp://admin:admin@192.168.1.45:554/11 and it worked. then i tried

Code: Select all

ffmpeg -i rtsp://admin:admin@192.168.1.45:554/11 output.mp4
and that worked as well.
Then i thought lets try

Code: Select all

sudo systemctl stop zoneminder
followed by
sudo systemctl start zoneminder
To my surprise the 2nd camera worked but then the first camera had stopped capturing.

Then tried to disable the 2nd camera and then the 1st camera started to work.

I did look in the log file and saw these:
2019-11-11 21:35:45.916000 zmc_m3[29532].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
2019-11-11 21:35:45.908348 zmc_m3[29532].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:admin@192.168.1.45:554/11]
2019-11-11 21:35:34.393805 zmc_m3[29524].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
2019-11-11 21:35:34.387101 zmc_m3[29524].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:admin@192.168.1.45:554/11]
2019-11-11 21:35:32.445516 web_js[28156].ERR-?view=log [Export request failed: 500 / Internal Server Error - exportFail()]
2019-11-11 21:35:28.429430 zmwatch[28963].ERR-zmwatch.pl [Memory map file '/dev/shm/zm.mmap.3' does not exist. zmc might not be running.]
2019-11-11 21:35:18.017470 zmwatch[28963].ERR-zmwatch.pl [Memory map file '/dev/shm/zm.mmap.3' does not exist. zmc might not be running.]
2019-11-11 21:35:02.769208 zmc_m3[29511].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
2019-11-11 21:35:02.761891 zmc_m3[29511].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:admin@192.168.1.45:554/11]
2019-11-11 21:34:37.993647 zmc_m3[29499].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
2019-11-11 21:34:37.985638 zmc_m3[29499].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:admin@192.168.1.45:554/11]

I had the same errors for the 1st camera when that did not work.

I am not that good with linux and new to ZM so please bear with me as i stumble around :)
Post Reply