D-link DCS-2102 IP camera
Posted: Thu Jan 28, 2010 5:04 am
Hi all,
one of my first postings to any forum so pls bear with me if I get this wrong...
I'm trying to setup a 2102 D-Link IP camera but only get a black square in monitor window.
For this intial setup I've got camera connected direct to eth0 on desktop pc.
As Firefox is communicating with camera via HTTP to set camera up, the basic comms must be working. Can also ping camera OK.
Zoneminder monitor setup:
Protocol: RTSP
Method: RTSP Unicast
Remote host name: 192.168.0.20
Port: 554
Path: play2.sdp
Camera is set to MPEG4, 320x240, 5 FPS, 512 Kbps (1Mbps no good either)
I only have 512Mb RAM - maybe a problem but I would expect other problems after establishing a connection - correct?
Its looks like an RTSP conection isn't being established and not sure where to go from here.
Thanks for any help!
Output of /proc/sys/kernel/shmall = 2097152
Output of /proc/sys/kernel/shmmax = 335544320
/var/log/messages contains:
Jan 28 17:37:56 gibbsite zmdc[17136]: INF ['zmc -m 8' started at 10/01/28 17:37:56]
Jan 28 17:37:56 gibbsite zmdc[16895]: INF ['zmc -m 8' starting at 10/01/28 17:37:56, pid = 17136]
Jan 28 17:37:56 gibbsite zmc_m8[17136]: INF [Debug Level = 0, Debug Log = <none>]
Jan 28 17:37:56 gibbsite zmc_m8[17136]: INF [New Debug Level = 1, New Debug Log = /var/log/zm/zm_debug.log.17136]
Jan 28 17:37:56 gibbsite zmc_m8[17136]: INF [Starting Capture]
Jan 28 17:38:00 gibbsite zmc_m8[17136]: ERR [RTP timed out]
Jan 28 17:38:00 gibbsite zmc_m8[17136]: ERR [Failed to capture image from monitor 8 (0/1)]
Jan 28 17:38:01 gibbsite zmc_m8[17136]: ERR [Recv failed; Connection reset by peer]
Jan 28 17:38:07 gibbsite zmdc[16895]: ERR ['zmc -m 8' exited abnormally, exit status 255]
Jan 28 17:38:15 gibbsite zmwatch[16936]: ERR [Can't get shared memory id '7a6d0008', 8: No such file or directory]
debug log contains:
[NULL @ 0xdb27110] video codec set to : mpeg4
[NULL @ 0xdb27b10] audio codec set to : pcm_mulaw
[NULL @ 0xdb27b10] audio samplerate set to : 8000
[NULL @ 0xdb27b10] audio channels set to : 2
[rtsp @ 0xdb32f10]hello state=0
01/28/10 17:37:56.112206 zmc_m8[17136].INF-zm_debug.c/292 [New Debug Level = 1, New Debug Log = /var/log/zm/zm_debug.log.17136]
01/28/10 17:37:56.113728 zmc_m8[17136].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
01/28/10 17:37:56.114456 zmc_m8[17136].DB1-zm_thread.cpp/240 [Creating thread]
01/28/10 17:37:56.114646 zmc_m8[17136].DB1-zm_thread.cpp/276 [Starting thread]
01/28/10 17:37:56.115356 zmc_m8[17136].DB1-zm_thread.cpp/297 [Started thread 17138]
01/28/10 17:37:56.116985 zmc_m8[17136].DB1-zm_monitor.cpp/338 [monitor purpose=1]
01/28/10 17:37:56.117077 zmc_m8[17136].DB1-zm_monitor.cpp/345 [mem.size=9217192]
01/28/10 17:37:56.149514 zmc_m8[17136].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
01/28/10 17:37:56.155201 zmc_m8[17136].DB1-zm_monitor.cpp/458 [Monitor New has function 2]
01/28/10 17:37:56.155231 zmc_m8[17136].DB1-zm_monitor.cpp/459 [Monitor New LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
01/28/10 17:37:56.155257 zmc_m8[17136].DB1-zm_monitor.cpp/460 [Monitor New IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
01/28/10 17:37:56.156371 zmc_m8[17136].DB1-zm_zone.cpp/889 [Got 1 zones for monitor New]
01/28/10 17:37:56.156488 zmc_m8[17136].DB1-zm_zone.cpp/50 [Initialised zone 8/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:2304, MxAP:57600, FB:3x3, MnFP:2304, MxFP:57600, MnBS:1536, MxBS:0, MnB:1, MxB:0, OF: 0]
01/28/10 17:37:56.162186 zmc_m8[17136].DB1-zm_monitor.cpp/2457 [Loaded monitor 8(New), 1 zones]
01/28/10 17:37:56.162240 zmc_m8[17136].INF-zmc.cpp/186 [Starting Capture]
01/28/10 17:37:57.362099 zmc_m8[17138].DB1-zm_thread.cpp/240 [Creating thread]
01/28/10 17:37:57.362183 zmc_m8[17138].DB1-zm_thread.cpp/240 [Creating thread]
01/28/10 17:37:57.362209 zmc_m8[17138].DB1-zm_thread.cpp/276 [Starting thread]
01/28/10 17:37:57.362501 zmc_m8[17138].DB1-zm_thread.cpp/297 [Started thread 17139]
01/28/10 17:37:57.362532 zmc_m8[17138].DB1-zm_thread.cpp/276 [Starting thread]
01/28/10 17:37:57.362816 zmc_m8[17138].DB1-zm_thread.cpp/297 [Started thread 17140]
01/28/10 17:38:00.359045 zmc_m8[17139].DB1-zm_comms.cpp/685 [Select timed out]
01/28/10 17:38:00.359139 zmc_m8[17139].ERR-zm_rtp_data.cpp/89 [RTP timed out]
01/28/10 17:38:00.373262 zmc_m8[17136].ERR-zmc.cpp/258 [Failed to capture image from monitor 8 (0/1)]
01/28/10 17:38:00.373487 zmc_m8[17136].DB1-zm_thread.cpp/302 [Joining thread 17138]
01/28/10 17:38:01.374499 zmc_m8[17138].DB1-zm_comms.h/332 [Recv of 12259 bytes max to string on sd 3 failed: Connection reset by peer]
01/28/10 17:38:01.374589 zmc_m8[17138].ERR-zm_rtsp.cpp/69 [Recv failed; Connection reset by peer]
01/28/10 17:38:01.374727 zmc_m8[17138].DB1-zm_thread.cpp/302 [Joining thread 17139]
01/28/10 17:38:01.374771 zmc_m8[17138].DB1-zm_thread.cpp/314 [Thread 17139 exited, status (nil)]
01/28/10 17:38:01.374801 zmc_m8[17138].DB1-zm_thread.cpp/326 [Joined thread 17139]
01/28/10 17:38:01.374826 zmc_m8[17138].DB1-zm_thread.cpp/302 [Joining thread 17140]
01/28/10 17:38:07.359123 zmc_m8[17140].DB1-zm_comms.cpp/685 [Select timed out]
01/28/10 17:38:07.359324 zmc_m8[17138].DB1-zm_thread.cpp/314 [Thread 17140 exited, status (nil)]
01/28/10 17:38:07.359368 zmc_m8[17138].DB1-zm_thread.cpp/326 [Joined thread 17140]
01/28/10 17:38:07.359481 zmc_m8[17138].DB1-zm_thread.cpp/245 [Destroying thread 17140]
01/28/10 17:38:07.359507 zmc_m8[17138].DB1-zm_thread.cpp/245 [Destroying thread 17139]
01/28/10 17:38:07.359568 zmc_m8[17136].DB1-zm_thread.cpp/314 [Thread 17138 exited, status (nil)]
01/28/10 17:38:07.359607 zmc_m8[17136].DB1-zm_thread.cpp/326 [Joined thread 17138]
01/28/10 17:38:07.359655 zmc_m8[17136].DB1-zm_thread.cpp/245 [Destroying thread 17138]
one of my first postings to any forum so pls bear with me if I get this wrong...
I'm trying to setup a 2102 D-Link IP camera but only get a black square in monitor window.
For this intial setup I've got camera connected direct to eth0 on desktop pc.
As Firefox is communicating with camera via HTTP to set camera up, the basic comms must be working. Can also ping camera OK.
Zoneminder monitor setup:
Protocol: RTSP
Method: RTSP Unicast
Remote host name: 192.168.0.20
Port: 554
Path: play2.sdp
Camera is set to MPEG4, 320x240, 5 FPS, 512 Kbps (1Mbps no good either)
I only have 512Mb RAM - maybe a problem but I would expect other problems after establishing a connection - correct?
Its looks like an RTSP conection isn't being established and not sure where to go from here.
Thanks for any help!
Output of /proc/sys/kernel/shmall = 2097152
Output of /proc/sys/kernel/shmmax = 335544320
/var/log/messages contains:
Jan 28 17:37:56 gibbsite zmdc[17136]: INF ['zmc -m 8' started at 10/01/28 17:37:56]
Jan 28 17:37:56 gibbsite zmdc[16895]: INF ['zmc -m 8' starting at 10/01/28 17:37:56, pid = 17136]
Jan 28 17:37:56 gibbsite zmc_m8[17136]: INF [Debug Level = 0, Debug Log = <none>]
Jan 28 17:37:56 gibbsite zmc_m8[17136]: INF [New Debug Level = 1, New Debug Log = /var/log/zm/zm_debug.log.17136]
Jan 28 17:37:56 gibbsite zmc_m8[17136]: INF [Starting Capture]
Jan 28 17:38:00 gibbsite zmc_m8[17136]: ERR [RTP timed out]
Jan 28 17:38:00 gibbsite zmc_m8[17136]: ERR [Failed to capture image from monitor 8 (0/1)]
Jan 28 17:38:01 gibbsite zmc_m8[17136]: ERR [Recv failed; Connection reset by peer]
Jan 28 17:38:07 gibbsite zmdc[16895]: ERR ['zmc -m 8' exited abnormally, exit status 255]
Jan 28 17:38:15 gibbsite zmwatch[16936]: ERR [Can't get shared memory id '7a6d0008', 8: No such file or directory]
debug log contains:
[NULL @ 0xdb27110] video codec set to : mpeg4
[NULL @ 0xdb27b10] audio codec set to : pcm_mulaw
[NULL @ 0xdb27b10] audio samplerate set to : 8000
[NULL @ 0xdb27b10] audio channels set to : 2
[rtsp @ 0xdb32f10]hello state=0
01/28/10 17:37:56.112206 zmc_m8[17136].INF-zm_debug.c/292 [New Debug Level = 1, New Debug Log = /var/log/zm/zm_debug.log.17136]
01/28/10 17:37:56.113728 zmc_m8[17136].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
01/28/10 17:37:56.114456 zmc_m8[17136].DB1-zm_thread.cpp/240 [Creating thread]
01/28/10 17:37:56.114646 zmc_m8[17136].DB1-zm_thread.cpp/276 [Starting thread]
01/28/10 17:37:56.115356 zmc_m8[17136].DB1-zm_thread.cpp/297 [Started thread 17138]
01/28/10 17:37:56.116985 zmc_m8[17136].DB1-zm_monitor.cpp/338 [monitor purpose=1]
01/28/10 17:37:56.117077 zmc_m8[17136].DB1-zm_monitor.cpp/345 [mem.size=9217192]
01/28/10 17:37:56.149514 zmc_m8[17136].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
01/28/10 17:37:56.155201 zmc_m8[17136].DB1-zm_monitor.cpp/458 [Monitor New has function 2]
01/28/10 17:37:56.155231 zmc_m8[17136].DB1-zm_monitor.cpp/459 [Monitor New LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
01/28/10 17:37:56.155257 zmc_m8[17136].DB1-zm_monitor.cpp/460 [Monitor New IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
01/28/10 17:37:56.156371 zmc_m8[17136].DB1-zm_zone.cpp/889 [Got 1 zones for monitor New]
01/28/10 17:37:56.156488 zmc_m8[17136].DB1-zm_zone.cpp/50 [Initialised zone 8/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:2304, MxAP:57600, FB:3x3, MnFP:2304, MxFP:57600, MnBS:1536, MxBS:0, MnB:1, MxB:0, OF: 0]
01/28/10 17:37:56.162186 zmc_m8[17136].DB1-zm_monitor.cpp/2457 [Loaded monitor 8(New), 1 zones]
01/28/10 17:37:56.162240 zmc_m8[17136].INF-zmc.cpp/186 [Starting Capture]
01/28/10 17:37:57.362099 zmc_m8[17138].DB1-zm_thread.cpp/240 [Creating thread]
01/28/10 17:37:57.362183 zmc_m8[17138].DB1-zm_thread.cpp/240 [Creating thread]
01/28/10 17:37:57.362209 zmc_m8[17138].DB1-zm_thread.cpp/276 [Starting thread]
01/28/10 17:37:57.362501 zmc_m8[17138].DB1-zm_thread.cpp/297 [Started thread 17139]
01/28/10 17:37:57.362532 zmc_m8[17138].DB1-zm_thread.cpp/276 [Starting thread]
01/28/10 17:37:57.362816 zmc_m8[17138].DB1-zm_thread.cpp/297 [Started thread 17140]
01/28/10 17:38:00.359045 zmc_m8[17139].DB1-zm_comms.cpp/685 [Select timed out]
01/28/10 17:38:00.359139 zmc_m8[17139].ERR-zm_rtp_data.cpp/89 [RTP timed out]
01/28/10 17:38:00.373262 zmc_m8[17136].ERR-zmc.cpp/258 [Failed to capture image from monitor 8 (0/1)]
01/28/10 17:38:00.373487 zmc_m8[17136].DB1-zm_thread.cpp/302 [Joining thread 17138]
01/28/10 17:38:01.374499 zmc_m8[17138].DB1-zm_comms.h/332 [Recv of 12259 bytes max to string on sd 3 failed: Connection reset by peer]
01/28/10 17:38:01.374589 zmc_m8[17138].ERR-zm_rtsp.cpp/69 [Recv failed; Connection reset by peer]
01/28/10 17:38:01.374727 zmc_m8[17138].DB1-zm_thread.cpp/302 [Joining thread 17139]
01/28/10 17:38:01.374771 zmc_m8[17138].DB1-zm_thread.cpp/314 [Thread 17139 exited, status (nil)]
01/28/10 17:38:01.374801 zmc_m8[17138].DB1-zm_thread.cpp/326 [Joined thread 17139]
01/28/10 17:38:01.374826 zmc_m8[17138].DB1-zm_thread.cpp/302 [Joining thread 17140]
01/28/10 17:38:07.359123 zmc_m8[17140].DB1-zm_comms.cpp/685 [Select timed out]
01/28/10 17:38:07.359324 zmc_m8[17138].DB1-zm_thread.cpp/314 [Thread 17140 exited, status (nil)]
01/28/10 17:38:07.359368 zmc_m8[17138].DB1-zm_thread.cpp/326 [Joined thread 17140]
01/28/10 17:38:07.359481 zmc_m8[17138].DB1-zm_thread.cpp/245 [Destroying thread 17140]
01/28/10 17:38:07.359507 zmc_m8[17138].DB1-zm_thread.cpp/245 [Destroying thread 17139]
01/28/10 17:38:07.359568 zmc_m8[17136].DB1-zm_thread.cpp/314 [Thread 17138 exited, status (nil)]
01/28/10 17:38:07.359607 zmc_m8[17136].DB1-zm_thread.cpp/326 [Joined thread 17138]
01/28/10 17:38:07.359655 zmc_m8[17136].DB1-zm_thread.cpp/245 [Destroying thread 17138]