Hikvision DS-2CD2025FWD-I

From ZoneMinder Wiki
Revision as of 21:26, 23 July 2020 by Snake (talk | contribs) (→‎Later Firmware)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


  • Max Resolution: 1920x1080
  • 30 FPS
  • 0.005 LUX at F1.2

Firmware 5.4.5

This applies to the following Firmware Versions:

  • Firmware 5.4.5 build 170124
  • Encoding 7.3 build 170123
  • Web 4.0.1 build 170123
  • Plugin

Setup in ZM

I was able to get this camera to work with the following settings.


Main stream rtsp://user:password@xxx.xxx.xxx.xxx:554/Streaming/Channels/1

Sub stream rtsp://admin:password@xxx.xxx.xxx.xxx:554/Streaming/Channels/2

MJPEG path:

Main stream:

Sub stream:


The default IP is You can login with a browser. No requirement to use an app.

stream resolutions are limited depending on main stream or sub stream

main stream

sub stream

FPS can be from 1/16 fps to 30. You can adjust each stream separately. You can view both main and sub stream at the same time.

Encoding can be H264, H265, or MJPEG. Backwards compatibility is nice.

Live view stream is an .asp page (aspx) A plugin is required to view the stream. :/. However, you can view the MJPEG path via a browser (see path above or below).

They have a GPL notice:

1.  Software Licensed under the GNU General Public License

 This product includes software licensed under the GNU General Public
  License (GPL), Version 2.  Please see Appendix A below for the terms
  of this license.

  Specifically, the following software included in this product is
  subject to the GPL:

    GCC library  (note that an exception clause applies, see Appendix B)
    Linux kernel
    busybox 1.19.3
    udev 114
    IPTables 1.4.18
    ppp - Pauls PPP Package 2.4.3
    RP PPP OE 3.8
    wpa_supplicant 0.7.2

Too bad it's not GPLv3, might make reverse engineering easier.

This path works: rtsp://user:password@xxx.xxx.xxx.xxx:554/Streaming/Channels/1 for the main stream.

rtsp://user:password@xxx.xxx.xxx.xxx:554/Streaming/Channels/2 is for the substream with mplayer

so, easy enough. Good and simple configuration. mplayer output:

mplayer rtsp://admin:password@

librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
libavformat version 56.40.101 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
VIDEO:  [H264]  352x240  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 title: Media Presentation
[vdpau] Error when calling vdp_device_create_x11: 1

there is some smearing on mplayer, when large motion occurs which goes away after a moment. may need more keyframes. EDIT: this was a limitation of using the RPI. Not enough RAM/CPU.

is it possible to watch the stream with my computer, and my RPI? Two streams at once? Yes. No issues with two viewers. This is something, I've been thinking about with Multi-Server Setups. Not all cameras support this.

Where is the MJPEG path?

A quick trip to ispy shows the path:

Which can be tested in the browser. It looks like even when MJPEG is enabled, the RTSP will also work.

Perhaps, once a session is open, it stays open. It's also possibly that all streams are enabled at all times, which would be nice.


After testing it out for a short time, I picked it up another day to find it was unconnectable. The IR LEDs don't turn off, the reset button (which is does include) failed to do anything, and there is zero network activity. As it was under warranty I exchanged it. My model was from a 05/2017 batch.

Beware of this. Keep the boxes. The item was returned to me with a cracked front lens (they must've read the review and were angry (joking)), and updated firmware.

Later Firmware

Later firmwares have removed MJPEG streaming for high resolutions, instead only 640x480 is possible. The H264 stream works in HD to ZM. It was necessary for me to download the app from Hikvision to a computer before I could get the H264 stream to show in ZM. Essentially, I had to download the IE plugin, browse to the page, and then afterwards, I was able to view the stream in ZM. This isn't always required with Hikvision, from my experience, but this particular camera seemed to require it. More testing needed. Obviously requiring Windows is not good.

Three Streams

It is possible to enable three streams on this camera. There is a checkbox in the settings. Nice feature.