Foscam C1 not working with zoneminder
Foscam C1 not working with zoneminder
Hi Support,
I have foscam C1 Camera bit its not working with zoneminder
i have configured all the settings on zone minder but still its not worked
i have purchased 6 foscam c1 camers
can anyone help me to sort out this issue
I have foscam C1 Camera bit its not working with zoneminder
i have configured all the settings on zone minder but still its not worked
i have purchased 6 foscam c1 camers
can anyone help me to sort out this issue
Re: Foscam C1 not working with zoneminder
You need to provide more details beyond 'it doesn't work'
1) Post screenshots of how you configured it (make sure your URLs are configured as per http://www.ispyconnect.com/man.aspx?n=foscam)
2) Post ZM logs so we understand what is going on
1) Post screenshots of how you configured it (make sure your URLs are configured as per http://www.ispyconnect.com/man.aspx?n=foscam)
2) Post ZM logs so we understand what is going on
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: Foscam C1 not working with zoneminder
Source Type Ffmpeg
Source Path rtsp://admin:123@192.168.1.11:554/videoMain
Capture Width 1280
Capture Height 640
You can also try libvlc and change the resolution but keep the ratio the same. Also use your user:password and IP address
The wrong resolution can cause the feed to fail in ZM. The Foscam documentation says the resolution for the C1 is 720P(1280x720),VGA(640x480),VGA(640x360),QVGA(320x240),QVGA(320x180). If my recommendation does not work try another...
bb
Source Path rtsp://admin:123@192.168.1.11:554/videoMain
Capture Width 1280
Capture Height 640
You can also try libvlc and change the resolution but keep the ratio the same. Also use your user:password and IP address
The wrong resolution can cause the feed to fail in ZM. The Foscam documentation says the resolution for the C1 is 720P(1280x720),VGA(640x480),VGA(640x360),QVGA(320x240),QVGA(320x180). If my recommendation does not work try another...
bb
Re: Foscam C1 not working with zoneminder
I use one
FFmpeg
rtsp://admin:admin1234@10.0.0.63/videoMain
RTP/RTSP
32 bit colour
1280
720
FFmpeg
rtsp://admin:admin1234@10.0.0.63/videoMain
RTP/RTSP
32 bit colour
1280
720
Re: Foscam C1 not working with zoneminder
Well, did it work?
Re: Foscam C1 not working with zoneminder
i use one
FFmpeg
rtsp://admin:admin1234@10.0.0.63/videoMain
RTP/RTSP
32 bit colour
1280
720
I have used above setting and its now working fine with zoneminder version 1.28.1.
Thanks for your help jheizer.
i really appreciate your dedication
FFmpeg
rtsp://admin:admin1234@10.0.0.63/videoMain
RTP/RTSP
32 bit colour
1280
720
I have used above setting and its now working fine with zoneminder version 1.28.1.
Thanks for your help jheizer.
i really appreciate your dedication
Re: Foscam C1 not working with zoneminder
I`m also trying to use a Foscam C1 using ZoneMinder 1.30 but when there is motion detected the recording is not 100% clean. It looks like the images are overlapping each other
Some logging, which might be causing the issues?
Example
Code: Select all
Maximum FPS (?) : 2
Alarm Maximum FPS (?) : 5
Referentie foto Blend %ge : 6.25%
AlmRefImageBlendPct : 6.25%
Remote Protocol: RTSP
Remote Method: RTP Unicast
Remote Host Naam: user:password@8.8.8.8
Remote Host Pad: /videoMain
Target Color 24
Width: 1280
Height: 720
Code: Select all
Nov 21 22:25:43 zm zmc_m19[31587]: WAR [Packet in sequence, gap 8]
Nov 21 22:25:43 zm zmc_m19[31587]: WAR [Discarding frame 37150]
Nov 21 22:25:43 zm zmc_m19[31587]: WAR [Packet in sequence, gap 5]
Nov 21 22:25:43 zm zmc_m19[31587]: WAR [Discarding frame 37150]
Nov 21 22:25:43 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:43 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:43 zm zmc_m19[31587]: message repeated 2 times: [ WAR [Discarding packet for unrecognised ssrc d3ebfc02]]
Nov 21 22:25:44 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:45 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:45 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:46 zm zmc_m19[31587]: message repeated 2 times: [ WAR [Discarding packet for unrecognised ssrc d3ebfc02]]
Nov 21 22:25:47 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:48 zm zmc_m19[31587]: message repeated 8 times: [ WAR [Discarding packet for unrecognised ssrc d3ebfc02]]
Nov 21 22:25:48 zm zmc_m19[31587]: ERR [Error while decoding frame 33718]
Nov 21 22:25:48 zm zmc_m19[31587]: ERR [8: 00 00 01 06 e5 01 27 80]
Nov 21 22:25:48 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:48 zm zmc_m19[31587]: message repeated 8 times: [ WAR [Discarding packet for unrecognised ssrc d3ebfc02]]
Nov 21 22:25:48 zm zmc_m19[31587]: WAR [Packet in sequence, gap 12]
Nov 21 22:25:48 zm zmc_m19[31587]: WAR [Discarding partial frame 37164, 1340 bytes]
Nov 21 22:25:48 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:48 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
Nov 21 22:25:49 zm zmc_m19[31587]: WAR [Discarding packet for unrecognised ssrc d3ebfc02]
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Foscam C1 not working with zoneminder
Your camera is not configured ideally so let's fix those first:
1) Set your target colorspace to 32bit for a performance boost
2) You are showing values of 2 and 5 in the MAX FPS and Alarm MAX FPS fields. Did you see the red warning pop up when you did this? Click the "?", read the help text, and then change those values as they are likely incorrect and will cause problems with the stream.
3) Change your source type from Remote -> ffmpeg. Always use ffmpeg unless you run into issues
After you make those changes, if corruption still occurs only when you see movement, then that means you need to increase the bitrate in the camera's web portal.
UPDATE: Forgot to mention, please tell us the frame rate set in the camera
1) Set your target colorspace to 32bit for a performance boost
2) You are showing values of 2 and 5 in the MAX FPS and Alarm MAX FPS fields. Did you see the red warning pop up when you did this? Click the "?", read the help text, and then change those values as they are likely incorrect and will cause problems with the stream.
3) Change your source type from Remote -> ffmpeg. Always use ffmpeg unless you run into issues
After you make those changes, if corruption still occurs only when you see movement, then that means you need to increase the bitrate in the camera's web portal.
UPDATE: Forgot to mention, please tell us the frame rate set in the camera
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Foscam C1 not working with zoneminder
1) As soon as i set this to 32bit i don`t get any video
2) When i click the red help button i only get the text "OPTIONS_MAXFPS" without any explenation (for now i removed the limits)
3) I never used ffmpeg before, and when i try to setup it up i don`t get any video
See point 4
4) The camera seems to have a limit of MAX=1 client per RTSP stream
5) The framerate of the camera is set to 23 for the videoMain and to 15 for the videoSub
Code: Select all
Nov 24 22:45:01 zm zma_m19[30274]: ERR [Shared data not initialised by capture daemon for monitor CAM-19-Dylan]
Nov 24 22:45:01 zm zmdc[31477]: ERR ['zma -m 19' exited abnormally, exit status 255]
3) I never used ffmpeg before, and when i try to setup it up i don`t get any video
Code: Select all
rtsp://<username>:<pwd>@<ip-address>:554/videoMain does not seem to be working. It is however working when is setup it up as RTSP/Unicast.
4) The camera seems to have a limit of MAX=1 client per RTSP stream
5) The framerate of the camera is set to 23 for the videoMain and to 15 for the videoSub
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Foscam C1 not working with zoneminder
We need more information than "no video" or just a couple of lines from the log to troubleshoot this. Please turn on Debug level 4 and show a full page of log entries. I have yet to see a log file with too much information. Please describe the hardware you are running on. All modern Intel/AMD cpus should get a performance boost with 32bit colorspace.If you are using something like a Raspberry PI then you are likely running out of space on /dev/shm.1) As soon as i set this to 32bit i don`t get any video
That's because you are running on an old version of ZoneMinder. 1.30.0 is the latest.2) When i click the red help button i only get the text "OPTIONS_MAXFPS" without any explenation (for now i removed the limits)
Telling us no video is not helpful. Please show us screenshots of the general and source tabs of the monitor in question after setting the source type to ffmpeg. Also need to see a full page of log entries. Like all the others have told you previously, the ffmpeg source type is what you should be using.3) I never used ffmpeg before, and when i try to setup it up i don`t get any video
This is typical of most budget IP cameras4) The camera seems to have a limit of MAX=1 client per RTSP stream
You need to set the framerate in the camera to something lower, try 5 fps. This is plenty for general surveillance. Make sure you have nothing in the MAX FPS and MAX ALARM FPS fields. Failure to do this will cause problems with the stream.5) The framerate of the camera is set to 23 for the videoMain and to 15 for the videoSub
I'm not sure why you are running an old version of ZoneMinder, but I recommend you upgrade to the latest version of ZoneMinder and the latest supported version of your Linux distro. The latter will ensure you are running the newest available ffmpeg for your distro.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Foscam C1 not working with zoneminder
I bought a C1 foscam camera and i had the same issue with zoneminder.
Wifi was good, and with the Foscam app it worked.
I tried with these config : https://wiki.zoneminder.com/Foscam_C1
Not working
I have to enable via webinterface of the C1 : Network / Onvif check enable and RTSP port is 554
so now it works with : Source Path: rtsp://<user>:<password>@<ip>:554/videoMain
zoneminder 1.30
i hope it will help
Wifi was good, and with the Foscam app it worked.
I tried with these config : https://wiki.zoneminder.com/Foscam_C1
Not working
I have to enable via webinterface of the C1 : Network / Onvif check enable and RTSP port is 554
so now it works with : Source Path: rtsp://<user>:<password>@<ip>:554/videoMain
zoneminder 1.30
i hope it will help