Signal loss causes blue screen that requires camera reset
Posted: Tue Sep 05, 2017 3:31 pm
Hi
I have seen this problem mentioned on a few postings, but I have not seen any solution to the problem so far.
I have Zoneminder running on an Unbuntu 16.04 box with a 3GHz Core 2 Duo and 6 GB RAM. I have several IP cameras connected (all via CAT5E cable /RJ45) of various makes, all using Ffmpeg and RTSP streaming. All cameras are operating at low frame rates so my /dev/shm rarely exceeds 60%
In Zoneminder all cameras intermittently return a blue screen and 'signal loss' alarms (which I automatically delete with a filter). Some cameras do this less often (i.e. around once a week) and some cameras do it frequently (i.e. about twice a day). Once the screen goes blue there seems to be nothing I can do from within Zoneminder to get the image back (i've tried stopping and starting Zoneminder, disabling and reenabling the cameras within Zoneminder, and plenty more besides). The only thing that works is rebooting the relevant cameras via their web interfaces.
The odd thing is, even when Zoneminder shows a blue screen for a camera, I can still view that camera's stream via its web interface, or by using VLC and its RTSP stream. So the cameras must still be streaming and the issue must be within Zoneminder.
This is big problem as I can't reboot my cameras remotely, and its obviously a pain to have to keep on rebooting them anyway. Other than this problem I am full of praise for Zoneminder - i'm just holding off my donation until I can sort this problem out.
I have copied some error logs below - in this case 5 cameras are giving blue screens (zmc_m4, zmc_m5, zmc_m7, zmc_m15 and zmc_m18). To me this suggests that Zoneminder is trying but failing to recapture the RTSP stream.
Any help gratefully received
Best wsihes
Mark
2017-09-05 16:12:39.127628 zmc_m4 5122 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:39.083149 zmc_m4 5122 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:37.060078 zmc_m5 5121 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:37.021840 zmc_m5 5121 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:34.098500 zmc_m7 5159 ERR Unable to open input rtsp://192.168.1.191:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:34.063500 zmc_m15 4527 ERR Unable to open input rtsp://192.168.1.192:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:34.024694 zmc_m7 5159 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:34.024241 zmc_m15 4527 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:32.071890 zmc_m18 5158 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:32.016021 zmc_m18 5158 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:28.137749 zmc_m4 5122 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:28.099773 zmc_m4 5122 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:26.083394 zmc_m5 5121 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:26.027567 zmc_m5 5121 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:23.143379 zmc_m15 4527 ERR Unable to open input rtsp://192.168.1.192:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:23.101470 zmc_m7 5159 ERR Unable to open input rtsp://192.168.1.191:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:23.078657 zmc_m15 4527 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:23.067474 zmc_m7 5159 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
I have seen this problem mentioned on a few postings, but I have not seen any solution to the problem so far.
I have Zoneminder running on an Unbuntu 16.04 box with a 3GHz Core 2 Duo and 6 GB RAM. I have several IP cameras connected (all via CAT5E cable /RJ45) of various makes, all using Ffmpeg and RTSP streaming. All cameras are operating at low frame rates so my /dev/shm rarely exceeds 60%
In Zoneminder all cameras intermittently return a blue screen and 'signal loss' alarms (which I automatically delete with a filter). Some cameras do this less often (i.e. around once a week) and some cameras do it frequently (i.e. about twice a day). Once the screen goes blue there seems to be nothing I can do from within Zoneminder to get the image back (i've tried stopping and starting Zoneminder, disabling and reenabling the cameras within Zoneminder, and plenty more besides). The only thing that works is rebooting the relevant cameras via their web interfaces.
The odd thing is, even when Zoneminder shows a blue screen for a camera, I can still view that camera's stream via its web interface, or by using VLC and its RTSP stream. So the cameras must still be streaming and the issue must be within Zoneminder.
This is big problem as I can't reboot my cameras remotely, and its obviously a pain to have to keep on rebooting them anyway. Other than this problem I am full of praise for Zoneminder - i'm just holding off my donation until I can sort this problem out.
I have copied some error logs below - in this case 5 cameras are giving blue screens (zmc_m4, zmc_m5, zmc_m7, zmc_m15 and zmc_m18). To me this suggests that Zoneminder is trying but failing to recapture the RTSP stream.
Any help gratefully received
Best wsihes
Mark
2017-09-05 16:12:39.127628 zmc_m4 5122 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:39.083149 zmc_m4 5122 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:37.060078 zmc_m5 5121 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:37.021840 zmc_m5 5121 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:34.098500 zmc_m7 5159 ERR Unable to open input rtsp://192.168.1.191:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:34.063500 zmc_m15 4527 ERR Unable to open input rtsp://192.168.1.192:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:34.024694 zmc_m7 5159 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:34.024241 zmc_m15 4527 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:32.071890 zmc_m18 5158 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:32.016021 zmc_m18 5158 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:28.137749 zmc_m4 5122 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:28.099773 zmc_m4 5122 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:26.083394 zmc_m5 5121 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:26.027567 zmc_m5 5121 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:23.143379 zmc_m15 4527 ERR Unable to open input rtsp://192.168.1.192:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:23.101470 zmc_m7 5159 ERR Unable to open input rtsp://192.168.1.191:554/ch01.264 due to: Connection timed out zm_ffmpeg_camera.cpp 269
2017-09-05 16:12:23.078657 zmc_m15 4527 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2017-09-05 16:12:23.067474 zmc_m7 5159 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441