Hikvision

From ZoneMinder Wiki
Jump to: navigation, search

Models


For the DS-2CD2032-I model, see the the DS-2CD2332-I model.

About

These seem to work. The biggest problem is people trying to use 'network camera' instead of 'ffmpeg' source type. Both have rtsp but only ffmpeg works here (because of h.264?) see [[1]]

The DS-2CD2055FWD-I bullet works with ZM 1.30.4 with Ffmpeg.

The DS-2CD2632F-IS Update Version outdoor bullet works with ZM 1.30.4 ONVIF works for fast setup. See Model Specific Wiki page Hikvision DS-2CD1631FWD-I CCTV POE 3MP HD Varifocal IR Bullet

The DS-2CD2732F-I and DS-2CD2032-I are tested.

[The DS-2CD2032-I's come in several different versions (Chinese, Int'l, English, etc...) each with multiple firmwares available. Be sure that you use the correct firmware for your camera model for best results.]

The DS-2CD2035-I outdoor bullet works using Ffmpeg.

The DS-2CD2532F-IWS was tested to work reliably only with Libvlc as source type.

The DS-2CD2012-I works too.

The DS-2CD2085FWD-I works too.

You can add some flags to the stream. An example is in the forum where ?tcp is added to the end of the stream to reduce artifacts.

Videostream:

Hikvision DS-2DE2A404IW-DE3

The Model Hikvision DT2A404 is a OEM version of the Hikvision DS-2DE2A404IW-DE3 IP after reset is 192.168.1.64

The following configuration is a example that is tested Zoneminder 1.32.3 but is expected to work with other versions, too.

In general, use the following configuration:

Config Tab Option Config Setting
General Source Type Ffmpeg
Source Source Path to access the mainstream:
rtsp://admin:yourpassword@192.168.1.64:554/ch1/main/av_stream
example: rtsp://admin:yourpassword@192.168.1.64:554/ch1/main/av_stream

to access the substream:

rtsp://192.168.0.1:554/ch1/sub/av_stream
example: rtsp://admin:yourpassword@192.168.1.64:554/ch1/sub/av_stream
Remote Method TCP or UDP
Target Colorspace 32 bit colour
Capture Width (pixels) 2560
Capture Height (pixels) 1440
Preserve Aspect Ratio Unselected
Orientation Normal
Deinterlacing Disabled
Control
Control Type HikVision
Control Device can be left empty
Control Address admin:yourpassword@192.168.1.64:80


General Tab

Source Type : Ffmpeg / Libvlc / Remote(only some FW revisions)

Source Tab

Source Path : rtsp://<username>:<password>@<ip_address>:<port>/Streaming/Channels/1?tcp

(example: rtsp://admin:12345@mycamera.mydomain.com//Streaming/Channels/1)

Target Colorspace : 24 bit colour
Capture Width (pixels) : 1280 (set these to match camera config)
Capture Height (pixels) : 720

I also had to set max FPS slightly higher than set in camera, or i lost the lower half of the frame. (Camera seems to send 10.6fps when 10 is selected)

The following URL gives another Source path that was far more stable on Zoneminder 1.25: http://onlinetechadvice.blogspot.com/2014/04/hikvision-ds-2cd2032-i-working-in.html#comment-form

The Source path that worked for me is: rtsp://username:password@XXX.XXX.XXX.XXX:554/cam/realmonitor?channel=1&subtype=0?tcp Of course, replace username and password and port with your specific installation information.

The "Remote" option also seems to work now in ZM 1.28 (at least with ds-2cd2032-i's of a certain firmware version), with less rtsp streaming errors than when using ffmpeg. The source path /Streaming/Channels/1 works fine with firmware version 5.1.6, but seems to not work any longer in 5.2.5. The source path /cam/realmonitor?channel=1&subtype=0 works on any firmware model. In ZM 1.28 (perhaps earlier as well), TCP is automatically forced when the "Remote" source type is chosen and RTP/RTSP is used (https://github.com/ZoneMinder/ZoneMinder/issues/323), so the trailing "?tcp" is not necessary for either URL when this configuration is used.

See Also

  • The forum has multiple posts regarding Hikvision. Search there for more details.