First post here and reporting that the Hikvision DS-2CD2042WD-I works for me under ZM 1.30 using FFMPEG and RTP/RTSP
RTSP urls are rtsp://user:password@ipaddress/Streaming/Channels/1 and rtsp://user:password@ipaddress/Streaming/Channels/2 for the main stream and substream respectively.
/video.h264 also works for the main stream.
Full resolution is 2688x1520 so it's quite a resource hog. With that stream at 20fps medium quality I'm seeing around 20% CPU use - 40% on one core for capture and about 40% on another for analyis of a single zone that's about 50% of the area (machine is a 2.2GHz i5)
This is an upgrade from my old "point a webcam out the window" method and one thing I will say about higher resolutions is that it's much, much easier to avoid false positives from minor changes in the light.
Hikvision DS-2CD2042WD-I RTSP
Re: Hikvision DS-2CD2042WD-I RTSP
I am not getting anything under ZM 1.29. I have tried libvlc and ffmpeg. I have tried your first URL and the H264 URL. Nothing in ZM.
The camera is up and accessible directly.
The camera is up and accessible directly.
Re: Hikvision DS-2CD2042WD-I RTSP
I upgraded to 1.30 but am still not getting anything in zm.
I am using your URL to access the camera and libvlc. I briefly got green status under "source" but now it stays red. I have also tried ffmpeg but still get nothing.
I see in the log:
Which is the monitor for the camera. Any idea what that means?
I am using your URL to access the camera and libvlc. I briefly got green status under "source" but now it stays red. I have also tried ffmpeg but still get nothing.
I see in the log:
Code: Select all
zmdc[2447]: INF ['zmc -m 8' crashed, signal 134]
Re: Hikvision DS-2CD2042WD-I RTSP
Discovered I had an old ffmpeg installed from RPMForge. I deleted it and installed the ffmpeg from zmrepo. Still nothing. Monitor still crashes with Error 134.
Edit:
Found a few more RPMForge packages that I deleted and replaced with zmrepo. Monitor is still crashing.
Edit:
Found a few more RPMForge packages that I deleted and replaced with zmrepo. Monitor is still crashing.
Re: Hikvision DS-2CD2042WD-I RTSP
My ffmpeg is version 2.8.7
Can you access those URLs in VLC or similar?
Can you access those URLs in VLC or similar?
Re: Hikvision DS-2CD2042WD-I RTSP
My ffmpeg is 2.6.4. It's what installed from zmrepo for Centos 6.seanb-uk wrote:My ffmpeg is version 2.8.7
Can you access those URLs in VLC or similar?
Yes, the URL, copied straight out of my zm config, opens and plays just fine in VLC. I restarted zm again. Same 'crashed' message.
Re: Hikvision DS-2CD2042WD-I RTSP
All I can suggest is that it might be the ffmpeg version then. 2.8.7 is the version in zmrepo for Centos 7, which I'm running.kbocek wrote: My ffmpeg is 2.6.4. It's what installed from zmrepo for Centos 6.
Yes, the URL, copied straight out of my zm config, opens and plays just fine in VLC. I restarted zm again. Same 'crashed' message.
Re: Hikvision DS-2CD2042WD-I RTSP
Figured it out. Searched for Error 134 here and found a posting suggesting that you lower the number of buffers in the camera setup. I lowered buffers from 50 to 30 and the camera showed up!
This is a really hi res camera. I had already lowered the resolution to 1080p. I think I'll lower it further.
This is a really hi res camera. I had already lowered the resolution to 1080p. I think I'll lower it further.
Re: Hikvision DS-2CD2042WD-I RTSP
Glad you got it sorted out. I had mine at full res, but 1080p is probably enough. Lowering the frame rate makes a huge difference as well. I sort of want to keep it at full res and max. quality though, otherwise I feel I'm not making the most of it!kbocek wrote:Figured it out. Searched for Error 134 here and found a posting suggesting that you lower the number of buffers in the camera setup. I lowered buffers from 50 to 30 and the camera showed up!
This is a really hi res camera. I had already lowered the resolution to 1080p. I think I'll lower it further.
-
- Posts: 1
- Joined: Sat Mar 25, 2017 3:40 pm
Re: Hikvision DS-2CD2042WD-I RTSP
Wow...thanks! I ran into error 134 trying to get an Engenius EDS5110 camera to work. I lowered the buffers to 30 and it worked immediately. You saved me hours of time.