Camera gets blue every few days
Posted: Thu Jul 07, 2016 3:16 pm
Hello,
i have the following issue:
Every few days just one camera get's a blue screen in the live view.
The fps rate increases extremely because zoneminder cant fetch the stream.
"Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size"
When i go to the camera webinterface (Foscam FI9805P) i can view the live stream and the width/height/resolution settings were also correct (960p).
Normally if a blue picture appears the resolution is set incorrectly but this isn't the case.
Then i tried out to reconnect the camera "manually" into zoneminder. So i clicked on the source of the camera, changed absolutely nothing and saved. After that the picture of the camera appears correctly.
Could it be that zoneminder can't connect to the camera or does the rtsp stream broke up?
Normally i can exclude the stream because it works instantly after i reconnect via the source save button.
How is it possible to test if the rtsp stream is available? If i copied the settings and pasted them into vlc i can't get the stream, also when the camera is connected into zoneminder and the image is available. (i tried rtsp://USER:PW@192.168.1.3:88/videoMain in vlc)
I installed ZM from iconnors ppa and i have 16.04 LTS.
Here are my source settings:
ffmpeg
no fps settings
rtsp://USER:PW@192.168.1.3:88/videoMain
rtp/rtsp
32 bit color
1280
960
It would be very nice if you have an idea what i can check to solve this problem.
Thanks in advance
UPDATE:
when the camera disconnected
2016-07-07 16:07:01.327190 zmc_m1 5420 ERR Unable to read packet from stream 0: error -541478725 "End of file". zm_ffmpeg_camera.cpp
2016-07-07 16:07:01.339011 zma_m1 13985 WAR Signal: Lost zm_monitor.cpp
2016-07-07 16:07:01.352979 zmc_m1 28427 ERR Unable to open input rtsp://USER:PW@192.168.1.3:88/videoMain due to: Connection reset by peer zm_ffmpeg_camera.cpp
and then the buffer overrun post a few hundred times (the fps increases extremely with the blue picture):
2016-07-07 16:07:01.369865 zmc_m1 5420 WAR Buffer overrun at index 21, image 1774871, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp
2016-07-07 17:05:02.021473 zms 29678 ERR Terminating, last frame sent time 1467903901.521387 secs more than maximum of 10.000000 zm_monitor.cpp
2016-07-07 17:12:09.272568 zmc_m1 29642 ERR Unable to read packet from stream 0: error -541478725 "End of file". zm_ffmpeg_camera.cpp
2016-07-07 17:12:12.962923 zmc_m1 29642 INF Cameraname: 10000 - Capturing at inf fps zm_monitor.cpp
2016-07-07 17:12:29.269306 zmc_m1 29642 WAR Buffer overrun at index 19, image 39219, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp
at this time i reconnected the camera via the source save button:
2016-07-07 17:12:32.732086 zma_m1 29646 INF Cameraname: 4000 - Analysing at 12.99 fps zm_monitor.cpp 1287
2016-07-07 17:12:29.544318 zma_m1 29646 INF Cameraname: 3962 - Gone into prealarm state zm_monitor.cpp 1680
2016-07-07 17:12:29.541157 zma_m1 29646 WAR Signal: Reacquired zm_monitor.cpp 1420
2016-07-07 17:12:29.273876 zmc_m1 29642 INF Successfully reopened stream. zm_ffmpeg_camera.cpp 134
i have the following issue:
Every few days just one camera get's a blue screen in the live view.
The fps rate increases extremely because zoneminder cant fetch the stream.
"Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size"
When i go to the camera webinterface (Foscam FI9805P) i can view the live stream and the width/height/resolution settings were also correct (960p).
Normally if a blue picture appears the resolution is set incorrectly but this isn't the case.
Then i tried out to reconnect the camera "manually" into zoneminder. So i clicked on the source of the camera, changed absolutely nothing and saved. After that the picture of the camera appears correctly.
Could it be that zoneminder can't connect to the camera or does the rtsp stream broke up?
Normally i can exclude the stream because it works instantly after i reconnect via the source save button.
How is it possible to test if the rtsp stream is available? If i copied the settings and pasted them into vlc i can't get the stream, also when the camera is connected into zoneminder and the image is available. (i tried rtsp://USER:PW@192.168.1.3:88/videoMain in vlc)
I installed ZM from iconnors ppa and i have 16.04 LTS.
Here are my source settings:
ffmpeg
no fps settings
rtsp://USER:PW@192.168.1.3:88/videoMain
rtp/rtsp
32 bit color
1280
960
It would be very nice if you have an idea what i can check to solve this problem.
Thanks in advance
UPDATE:
when the camera disconnected
2016-07-07 16:07:01.327190 zmc_m1 5420 ERR Unable to read packet from stream 0: error -541478725 "End of file". zm_ffmpeg_camera.cpp
2016-07-07 16:07:01.339011 zma_m1 13985 WAR Signal: Lost zm_monitor.cpp
2016-07-07 16:07:01.352979 zmc_m1 28427 ERR Unable to open input rtsp://USER:PW@192.168.1.3:88/videoMain due to: Connection reset by peer zm_ffmpeg_camera.cpp
and then the buffer overrun post a few hundred times (the fps increases extremely with the blue picture):
2016-07-07 16:07:01.369865 zmc_m1 5420 WAR Buffer overrun at index 21, image 1774871, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp
2016-07-07 17:05:02.021473 zms 29678 ERR Terminating, last frame sent time 1467903901.521387 secs more than maximum of 10.000000 zm_monitor.cpp
2016-07-07 17:12:09.272568 zmc_m1 29642 ERR Unable to read packet from stream 0: error -541478725 "End of file". zm_ffmpeg_camera.cpp
2016-07-07 17:12:12.962923 zmc_m1 29642 INF Cameraname: 10000 - Capturing at inf fps zm_monitor.cpp
2016-07-07 17:12:29.269306 zmc_m1 29642 WAR Buffer overrun at index 19, image 39219, slow down capture, speed up analysis or increase ring buffer size zm_monitor.cpp
at this time i reconnected the camera via the source save button:
2016-07-07 17:12:32.732086 zma_m1 29646 INF Cameraname: 4000 - Analysing at 12.99 fps zm_monitor.cpp 1287
2016-07-07 17:12:29.544318 zma_m1 29646 INF Cameraname: 3962 - Gone into prealarm state zm_monitor.cpp 1680
2016-07-07 17:12:29.541157 zma_m1 29646 WAR Signal: Reacquired zm_monitor.cpp 1420
2016-07-07 17:12:29.273876 zmc_m1 29642 INF Successfully reopened stream. zm_ffmpeg_camera.cpp 134