Unable to get ZM to read Foscam C1
Posted: Sat Apr 09, 2016 7:43 am
Hi
I am running ZM 1.29.0 running on ubuntu 14.04. I am trying to set up my first camera which is a Foscam C1. (firmware fully updated)
I have tried the settings in this separate thread (viewtopic.php?t=23534) but they do not work. By not working i mean the live view is not showing anything except timestamp and blue screen.
For sure i can use VLC to access the feed with the following URL
rtsp://user:pass@192.168.0.111:554/videoMain
In ZM i am using these settings:
In general tab:
Source Type: ffmpeg
Function: monitor
Analysis FPS: 25
Maximum FPS: not set
In source tab:
Source Path: user:pass@192.168.0.111:554/videoMain
Remote Method: RTP/RTSP
Targer Colorspace: 32 bit colour
Capture Width: 1280
Capture Height: 680 (Also tried 720)
The logs looks like it is capturing
Date/Time
Component Server PID Level Message File Line
2016-04-09 00:42:26.218598 zmc_m1 zoneminder001 28031 INF test: 164000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:25.769297 zmc_m1 zoneminder001 28031 INF test: 163000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:25.321228 zmc_m1 zoneminder001 28031 INF test: 162000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:24.896538 zmc_m1 zoneminder001 28031 INF test: 161000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:24.473042 zmc_m1 zoneminder001 28031 INF test: 160000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:24.044463 zmc_m1 zoneminder001 28031 INF test: 159000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:23.609851 zmc_m1 zoneminder001 28031 INF test: 158000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:23.546244 zmc_m1 zoneminder001 28041 ERR Unable to open input user:pass@192.168.0.111:554/videoMain due to: Success zm_ffmpeg_camera.cpp 271
2016-04-09 00:42:23.168466 zmc_m1 zoneminder001 28031 INF test: 157000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:22.648087 zmc_m1 zoneminder001 28031 INF test: 156000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:22.182694 zmc_m1 zoneminder001 28031 INF test: 155000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:21.769303 zmc_m1 zoneminder001 28031 INF test: 154000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:21.339540 zmc_m1 zoneminder001 28031 INF test: 153000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:20.917174 zmc_m1 zoneminder001 28031 INF test: 152000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:20.497414 zmc_m1 zoneminder001 28031 INF test: 151000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:20.061955 zmc_m1 zoneminder001 28031 INF test: 150000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:19.620364 zmc_m1 zoneminder001 28031 INF test: 149000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:19.185727 zmc_m1 zoneminder001 28031 INF test: 148000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:18.726205 zmc_m1 zoneminder001 28031 INF test: 147000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:18.290877 zmc_m1 zoneminder001 28031 INF test: 146000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:17.833208 zmc_m1 zoneminder001 28031 INF test: 145000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:17.414620 zmc_m1 zoneminder001 28031 INF test: 144000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:16.970358 zmc_m1 zoneminder001 28031 INF test: 143000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:16.528768 zmc_m1 zoneminder001 28031 INF test: 142000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:16.071709 zmc_m1 zoneminder001 28031 INF test: 141000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:15.624465 zmc_m1 zoneminder001 28031 INF test: 140000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:15.206606 zmc_m1 zoneminder001 28031 INF test: 139000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:14.788861 zmc_m1 zoneminder001 28031 INF test: 138000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:14.356274 zmc_m1 zoneminder001 28031 INF test: 137000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:13.900149 zmc_m1 zoneminder001 28031 INF test: 136000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:13.522556 zmc_m1 zoneminder001 28041 ERR Unable to open input user:pass@192.168.0.111:554/videoMain due to: Success zm_ffmpeg_camera.cpp 271
2016-04-09 00:42:13.434074 zmc_m1 zoneminder001 28031 INF test: 135000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:12.969803
Apache error logs show this error
[Sat Apr 09 00:47:44.590067 2016] [cgi:error] [pid 27527] [client 192.168.0.109:57101] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:44.691033 2016] [cgi:error] [pid 27527] [client 192.168.0.109:57101] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:46.811479 2016] [:error] [pid 28050] [client 192.168.0.109:57103] ERR [socket_bind( /var/run/zm/zms-945176w.sock ) failed: Address already in use], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:47.548405 2016] [:error] [pid 27527] [client 192.168.0.109:57101] ERR [socket_sendto( /var/run/zm/zms-945176s.sock ) failed: No such file or directory], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:49.377845 2016] [:error] [pid 27955] [client 192.168.0.109:57105] ERR [socket_bind( /var/run/zm/zms-945176w.sock ) failed: Address already in use], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:49.875693 2016] [:error] [pid 28050] [client 192.168.0.109:57103] ERR [socket_sendto( /var/run/zm/zms-945176s.sock ) failed: No such file or directory], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:52.510458 2016] [:error] [pid 27955] [client 192.168.0.109:57105] ERR [socket_sendto( /var/run/zm/zms-945176s.sock ) failed: No such file or directory], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
After i did some googling, i found this command sudo ln -s /usr/lib/zoneminder/cgi-bin/nph-zms /usr/lib/cgi-bin/
After running it, the experience changed. Now i have a blue screen with a timestamp
Any help please?
I am running ZM 1.29.0 running on ubuntu 14.04. I am trying to set up my first camera which is a Foscam C1. (firmware fully updated)
I have tried the settings in this separate thread (viewtopic.php?t=23534) but they do not work. By not working i mean the live view is not showing anything except timestamp and blue screen.
For sure i can use VLC to access the feed with the following URL
rtsp://user:pass@192.168.0.111:554/videoMain
In ZM i am using these settings:
In general tab:
Source Type: ffmpeg
Function: monitor
Analysis FPS: 25
Maximum FPS: not set
In source tab:
Source Path: user:pass@192.168.0.111:554/videoMain
Remote Method: RTP/RTSP
Targer Colorspace: 32 bit colour
Capture Width: 1280
Capture Height: 680 (Also tried 720)
The logs looks like it is capturing
Date/Time
Component Server PID Level Message File Line
2016-04-09 00:42:26.218598 zmc_m1 zoneminder001 28031 INF test: 164000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:25.769297 zmc_m1 zoneminder001 28031 INF test: 163000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:25.321228 zmc_m1 zoneminder001 28031 INF test: 162000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:24.896538 zmc_m1 zoneminder001 28031 INF test: 161000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:24.473042 zmc_m1 zoneminder001 28031 INF test: 160000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:24.044463 zmc_m1 zoneminder001 28031 INF test: 159000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:23.609851 zmc_m1 zoneminder001 28031 INF test: 158000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:23.546244 zmc_m1 zoneminder001 28041 ERR Unable to open input user:pass@192.168.0.111:554/videoMain due to: Success zm_ffmpeg_camera.cpp 271
2016-04-09 00:42:23.168466 zmc_m1 zoneminder001 28031 INF test: 157000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:22.648087 zmc_m1 zoneminder001 28031 INF test: 156000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:22.182694 zmc_m1 zoneminder001 28031 INF test: 155000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:21.769303 zmc_m1 zoneminder001 28031 INF test: 154000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:21.339540 zmc_m1 zoneminder001 28031 INF test: 153000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:20.917174 zmc_m1 zoneminder001 28031 INF test: 152000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:20.497414 zmc_m1 zoneminder001 28031 INF test: 151000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:20.061955 zmc_m1 zoneminder001 28031 INF test: 150000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:19.620364 zmc_m1 zoneminder001 28031 INF test: 149000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:19.185727 zmc_m1 zoneminder001 28031 INF test: 148000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:18.726205 zmc_m1 zoneminder001 28031 INF test: 147000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:18.290877 zmc_m1 zoneminder001 28031 INF test: 146000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:17.833208 zmc_m1 zoneminder001 28031 INF test: 145000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:17.414620 zmc_m1 zoneminder001 28031 INF test: 144000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:16.970358 zmc_m1 zoneminder001 28031 INF test: 143000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:16.528768 zmc_m1 zoneminder001 28031 INF test: 142000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:16.071709 zmc_m1 zoneminder001 28031 INF test: 141000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:15.624465 zmc_m1 zoneminder001 28031 INF test: 140000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:15.206606 zmc_m1 zoneminder001 28031 INF test: 139000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:14.788861 zmc_m1 zoneminder001 28031 INF test: 138000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:14.356274 zmc_m1 zoneminder001 28031 INF test: 137000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:13.900149 zmc_m1 zoneminder001 28031 INF test: 136000 - Capturing at inf fps zm_monitor.cpp 3131
2016-04-09 00:42:13.522556 zmc_m1 zoneminder001 28041 ERR Unable to open input user:pass@192.168.0.111:554/videoMain due to: Success zm_ffmpeg_camera.cpp 271
2016-04-09 00:42:13.434074 zmc_m1 zoneminder001 28031 INF test: 135000 - Capturing at 1000.00 fps zm_monitor.cpp 3131
2016-04-09 00:42:12.969803
Apache error logs show this error
[Sat Apr 09 00:47:44.590067 2016] [cgi:error] [pid 27527] [client 192.168.0.109:57101] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:44.691033 2016] [cgi:error] [pid 27527] [client 192.168.0.109:57101] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:46.811479 2016] [:error] [pid 28050] [client 192.168.0.109:57103] ERR [socket_bind( /var/run/zm/zms-945176w.sock ) failed: Address already in use], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:47.548405 2016] [:error] [pid 27527] [client 192.168.0.109:57101] ERR [socket_sendto( /var/run/zm/zms-945176s.sock ) failed: No such file or directory], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:49.377845 2016] [:error] [pid 27955] [client 192.168.0.109:57105] ERR [socket_bind( /var/run/zm/zms-945176w.sock ) failed: Address already in use], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:49.875693 2016] [:error] [pid 28050] [client 192.168.0.109:57103] ERR [socket_sendto( /var/run/zm/zms-945176s.sock ) failed: No such file or directory], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
[Sat Apr 09 00:47:52.510458 2016] [:error] [pid 27955] [client 192.168.0.109:57105] ERR [socket_sendto( /var/run/zm/zms-945176s.sock ) failed: No such file or directory], referer: http://192.168.0.171/zm/index.php?view=watch&mid=1
After i did some googling, i found this command sudo ln -s /usr/lib/zoneminder/cgi-bin/nph-zms /usr/lib/cgi-bin/
After running it, the experience changed. Now i have a blue screen with a timestamp
Any help please?