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?
Unable to get ZM to read Foscam C1
Unable to get ZM to read Foscam C1
Last edited by zm_n00b on Sat Apr 09, 2016 7:53 am, edited 1 time in total.
Re: Unable to get ZM to read Foscam C1
Resolution! Try 640x320
Re: Unable to get ZM to read Foscam C1
try sticking an rtsp:// at the beginning of the path
Re: Unable to get ZM to read Foscam C1
Your error log shows socket errors. In my case this was caused by bad webserver config.
I had socket errors too. After long investigation I found this out ...
Apache2 on Ubuntu 14.04 or later:
- disable all sites (list of sites by executing command line: "sudo ls /etc/apache2/sites-enabled -al")
- enable zoneminder.conf
- restart of reload Apache
Worked form me as long as I followed the regular installation instructions!
Even provides the solution for a similar problem when trying a clean install of Zoneminder on Docker on top op Ubuntu Host.
I had socket errors too. After long investigation I found this out ...
Apache2 on Ubuntu 14.04 or later:
- disable all sites (list of sites by executing command line: "sudo ls /etc/apache2/sites-enabled -al")
- enable zoneminder.conf
- restart of reload Apache
Worked form me as long as I followed the regular installation instructions!
Even provides the solution for a similar problem when trying a clean install of Zoneminder on Docker on top op Ubuntu Host.
Re: Unable to get ZM to read Foscam C1
I dont know which knob i turned but i can now capture at 1280 x 720.
@FvdLaar,
allen@zoneminder001:~$ sudo ls /etc/apache2/sites-enabled -al
drwxr-xr-x 2 root root 4096 Apr 8 22:40 .
drwxr-xr-x 8 root root 4096 Apr 9 00:57 ..
lrwxrwxrwx 1 root root 35 Apr 8 22:40 000-default.conf -> ../sites-available/000-default.conf
What do i do to disable this?
How do i enable zoneminder.conf?
@FvdLaar,
allen@zoneminder001:~$ sudo ls /etc/apache2/sites-enabled -al
drwxr-xr-x 2 root root 4096 Apr 8 22:40 .
drwxr-xr-x 8 root root 4096 Apr 9 00:57 ..
lrwxrwxrwx 1 root root 35 Apr 8 22:40 000-default.conf -> ../sites-available/000-default.conf
What do i do to disable this?
How do i enable zoneminder.conf?
Re: Unable to get ZM to read Foscam C1
Hi,FvdLaar wrote:Your error log shows socket errors. In my case this was caused by bad webserver config.
I had socket errors too. After long investigation I found this out ...
Apache2 on Ubuntu 14.04 or later:
- disable all sites (list of sites by executing command line: "sudo ls /etc/apache2/sites-enabled -al")
- enable zoneminder.conf
- restart of reload Apache
Worked form me as long as I followed the regular installation instructions!
Even provides the solution for a similar problem when trying a clean install of Zoneminder on Docker on top op Ubuntu Host.
I have the same issue as zm_n00b, and i don't understand very well what you mean.
I installed Zone Minder on ESXI 5.5 and a Debian. I made all what is written on this wiki:
https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way
Could you precise what you wrote ?
Regards,
Alex
PS: my conf is this one:
Code: Select all
Source Type: ffmpeg
Function: monitor
Analysis FPS: 25
Maximum FPS: not set
Code: Select all
Source Path: rtsp://xxxx:xxxx@192.168.0.92:88/videoMain
Remote Method: RTP/RTSP
Targer Colorspace: 32 bit colour
Capture Width: 1280
Capture Height: 720
Re: Unable to get ZM to read Foscam C1
OK,
rtsp://xxxx:xxxx@192.168.0.92/videoMain
instead of
rtsp://xxxx:xxxx@192.168.0.92:88/videoMain
rtsp://xxxx:xxxx@192.168.0.92/videoMain
instead of
rtsp://xxxx:xxxx@192.168.0.92:88/videoMain