Escam QD300 H.264 Camera 720p losing connection every 15 sec
Posted: Tue Jan 20, 2015 9:14 am
Hi all
I have just made a free install of Zoneminde on my Ubuntu 14.10 the easy way. The hardware is a Pentium 4 with 4 GB of memory.
uname -a Linux Zoneminder 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
My camera that I'm using right now is "Foscam"ish like FI8916, FI8904 and FI8905 and some IP cam that looks like Foscam. It's very stable and is running without any problem what so ever.
But yesterday I got a new Escam QD300 "Brick" camera, and according to various sources on the internet, this camera will work with Zoneminder 1.28.
1) http://www.amazon.com/Escam-Peashooter- ... Descending
2) http://digdilem.org/cameras/?action=view&id=158
My setup is this:
Source type: Ffmpeg
Source Path: rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?
Remote Method: RTP/Unicast
Colorspace: 24 Bit
1024/720
The QD300 camera has been setup from a Windows 7 and IE. And It's running perfectly within an IE browser. Most of the setting is default, just some DHCP stuff, and text removed from the GUI
Well I'm able to get a picture from the camera, but it's static. Like it's only updating each 30 sec. (not very live)
My log is showing this: (look for NewDriveway and 172.31.3.7)
2015-01-20 09:48:56.051620 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 14 seconds (1421743736-1421743722)]
2015-01-20 09:48:59.351440 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:48:59, pid = 21363]
2015-01-20 09:48:59.357460 zmdc[21363].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:48:59]
2015-01-20 09:48:59.822469 zmc_m7[21363].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:48:59.881246 zmc_m7[21363].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:49:04.296370 zma_m7[20747].INF-zm_monitor.cpp/1492 [NewDriveway: 2046 - Gone into alert state]
2015-01-20 09:49:04.972628 zmc_m7[21363].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 33]
2015-01-20 09:49:05.021290 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
2015-01-20 09:49:08.773418 web_php[20526].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:49:10.411678 zma_m5[20695].INF-zm_monitor.cpp/1150 [LivingRoom: 10000 - Processing at 7.41 fps]
2015-01-20 09:49:14.573854 web_js[20526].ERR-?view=watch [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory - checkStreamForErrors()]
2015-01-20 09:49:19.499560 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 15 seconds (1421743759-1421743744)]
2015-01-20 09:49:22.713410 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:49:22, pid = 21369]
2015-01-20 09:49:22.717080 zmdc[21369].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:49:22]
2015-01-20 09:49:23.178977 zmc_m7[21369].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:49:23.208996 zmc_m7[21369].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:49:26.404909 zma_m7[20747].INF-zm_monitor.cpp/1499 [NewDriveway: 2071 - Left alarm state (21680) - 63(13) images]
2015-01-20 09:49:26.442263 zma_m7[20747].INF-zm_monitor.cpp/1504 [NewDriveway: 2071 - Closing event 21680, alarm end]
2015-01-20 09:49:27.473181 zmc_m7[21369].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 27]
2015-01-20 09:49:27.542590 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
2015-01-20 09:49:32.123063 web_php[20526].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:49:42.866230 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 15 seconds (1421743782-1421743767)]
2015-01-20 09:49:43.104829 zmc_m2[20636].INF-zm_monitor.cpp/2899 [Driveway: 11000 - Capturing at 7.94 fps]
2015-01-20 09:49:43.475370 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:49:43, pid = 21374]
2015-01-20 09:49:43.496670 zmdc[21374].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:49:43]
2015-01-20 09:49:43.929704 zmc_m7[21374].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:49:43.969729 zmc_m7[21374].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:49:44.206733 zmc_m3[20651].INF-zm_monitor.cpp/2899 [MainEntrance: 11000 - Capturing at 8.00 fps]
2015-01-20 09:49:44.493164 zma_m3[20654].INF-zm_monitor.cpp/1150 [MainEntrance: 11000 - Processing at 8.06 fps]
2015-01-20 09:49:47.869295 zmc_m7[21374].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 26]
2015-01-20 09:49:47.926510 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
2015-01-20 09:49:47.963724 web_php[20842].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:49:53.596930 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 6 seconds (1421743793-1421743787)]
2015-01-20 09:49:53.909198 web_js[20842].ERR-?view=watch [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory - checkStreamForErrors()]
2015-01-20 09:49:54.531760 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:49:54, pid = 21379]
2015-01-20 09:49:54.535340 zmdc[21379].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:49:54]
2015-01-20 09:49:55.021777 zmc_m7[21379].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:49:55.068603 zmc_m7[21379].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:50:08.952412 zma_m7[20747].INF-zm_monitor.cpp/1436 [NewDriveway: 2174 - Gone into alarm state]
2015-01-20 09:50:09.038818 zma_m7[20747].INF-zm_monitor.cpp/1456 [NewDriveway: 2174 - Opening new event 21681, alarm start]
2015-01-20 09:50:11.632887 web_php[20842].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:50:11.686572 zmc_m7[21379].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 91]
2015-01-20 09:50:11.797770 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
ipcs -l
------ Messages Limits --------
max queues system wide = 7003
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 524288
max total shared memory (kbytes) = 18014398442373116
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
I appreciate any help/hints etc...
Thanks
Lars
I have just made a free install of Zoneminde on my Ubuntu 14.10 the easy way. The hardware is a Pentium 4 with 4 GB of memory.
uname -a Linux Zoneminder 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
My camera that I'm using right now is "Foscam"ish like FI8916, FI8904 and FI8905 and some IP cam that looks like Foscam. It's very stable and is running without any problem what so ever.
But yesterday I got a new Escam QD300 "Brick" camera, and according to various sources on the internet, this camera will work with Zoneminder 1.28.
1) http://www.amazon.com/Escam-Peashooter- ... Descending
2) http://digdilem.org/cameras/?action=view&id=158
My setup is this:
Source type: Ffmpeg
Source Path: rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?
Remote Method: RTP/Unicast
Colorspace: 24 Bit
1024/720
The QD300 camera has been setup from a Windows 7 and IE. And It's running perfectly within an IE browser. Most of the setting is default, just some DHCP stuff, and text removed from the GUI
Well I'm able to get a picture from the camera, but it's static. Like it's only updating each 30 sec. (not very live)
My log is showing this: (look for NewDriveway and 172.31.3.7)
2015-01-20 09:48:56.051620 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 14 seconds (1421743736-1421743722)]
2015-01-20 09:48:59.351440 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:48:59, pid = 21363]
2015-01-20 09:48:59.357460 zmdc[21363].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:48:59]
2015-01-20 09:48:59.822469 zmc_m7[21363].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:48:59.881246 zmc_m7[21363].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:49:04.296370 zma_m7[20747].INF-zm_monitor.cpp/1492 [NewDriveway: 2046 - Gone into alert state]
2015-01-20 09:49:04.972628 zmc_m7[21363].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 33]
2015-01-20 09:49:05.021290 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
2015-01-20 09:49:08.773418 web_php[20526].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:49:10.411678 zma_m5[20695].INF-zm_monitor.cpp/1150 [LivingRoom: 10000 - Processing at 7.41 fps]
2015-01-20 09:49:14.573854 web_js[20526].ERR-?view=watch [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory - checkStreamForErrors()]
2015-01-20 09:49:19.499560 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 15 seconds (1421743759-1421743744)]
2015-01-20 09:49:22.713410 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:49:22, pid = 21369]
2015-01-20 09:49:22.717080 zmdc[21369].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:49:22]
2015-01-20 09:49:23.178977 zmc_m7[21369].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:49:23.208996 zmc_m7[21369].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:49:26.404909 zma_m7[20747].INF-zm_monitor.cpp/1499 [NewDriveway: 2071 - Left alarm state (21680) - 63(13) images]
2015-01-20 09:49:26.442263 zma_m7[20747].INF-zm_monitor.cpp/1504 [NewDriveway: 2071 - Closing event 21680, alarm end]
2015-01-20 09:49:27.473181 zmc_m7[21369].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 27]
2015-01-20 09:49:27.542590 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
2015-01-20 09:49:32.123063 web_php[20526].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:49:42.866230 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 15 seconds (1421743782-1421743767)]
2015-01-20 09:49:43.104829 zmc_m2[20636].INF-zm_monitor.cpp/2899 [Driveway: 11000 - Capturing at 7.94 fps]
2015-01-20 09:49:43.475370 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:49:43, pid = 21374]
2015-01-20 09:49:43.496670 zmdc[21374].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:49:43]
2015-01-20 09:49:43.929704 zmc_m7[21374].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:49:43.969729 zmc_m7[21374].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:49:44.206733 zmc_m3[20651].INF-zm_monitor.cpp/2899 [MainEntrance: 11000 - Capturing at 8.00 fps]
2015-01-20 09:49:44.493164 zma_m3[20654].INF-zm_monitor.cpp/1150 [MainEntrance: 11000 - Processing at 8.06 fps]
2015-01-20 09:49:47.869295 zmc_m7[21374].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 26]
2015-01-20 09:49:47.926510 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
2015-01-20 09:49:47.963724 web_php[20842].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:49:53.596930 zmwatch[20774].INF-zmwatch.pl [Restarting capture daemon for NewDriveway, time since last capture 6 seconds (1421743793-1421743787)]
2015-01-20 09:49:53.909198 web_js[20842].ERR-?view=watch [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory - checkStreamForErrors()]
2015-01-20 09:49:54.531760 zmdc[20596].INF-zmdc.pl ['zmc -m 7' starting at 15/01/20 09:49:54, pid = 21379]
2015-01-20 09:49:54.535340 zmdc[21379].INF-zmdc.pl ['zmc -m 7' started at 15/01/20 09:49:54]
2015-01-20 09:49:55.021777 zmc_m7[21379].INF-zmc.cpp/195 [Starting Capture]
2015-01-20 09:49:55.068603 zmc_m7[21379].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://172.31.3.7:554//user=visitor&password=&channel=1&stream=0.sdp?]
2015-01-20 09:50:08.952412 zma_m7[20747].INF-zm_monitor.cpp/1436 [NewDriveway: 2174 - Gone into alarm state]
2015-01-20 09:50:09.038818 zma_m7[20747].INF-zm_monitor.cpp/1456 [NewDriveway: 2174 - Opening new event 21681, alarm start]
2015-01-20 09:50:11.632887 web_php[20842].ERR-/usr/share/zoneminder/includes/functions.php/2330 [socket_sendto( /var/run/zm/zms-843696s.sock ) failed: No such file or directory]
2015-01-20 09:50:11.686572 zmc_m7[21379].FAT-zm_ffmpeg_camera.cpp/262 [Unable to decode frame at frame 91]
2015-01-20 09:50:11.797770 zmdc[20596].ERR-zmdc.pl ['zmc -m 7' exited abnormally, exit status 255]
ipcs -l
------ Messages Limits --------
max queues system wide = 7003
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 524288
max total shared memory (kbytes) = 18014398442373116
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
I appreciate any help/hints etc...
Thanks
Lars