Difference between revisions of "Hikvision DS-2CD2025FWD-I"

From ZoneMinder Wiki
Jump to navigationJump to search
 
Line 140: Line 140:


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

Latest revision as of 21:26, 23 July 2020


EXIR MINI BULLET NETWORK CAMERA

  • 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 3.0.6.1

Setup in ZM

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

RTSP via FFMPEG:

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: http://192.168.1.64/api/mjpegvideo.cgi?InputNumber=1&StreamNumber=1

Sub stream: http://192.168.1.64/api/mjpegvideo.cgi?InputNumber=1&StreamNumber=1

Notes

The default IP is 192.168.1.64 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
1920x1080
1280x960
1280x720

sub stream
640x360
352x240

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
    u-boot
    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@192.168.1.64:554/Streaming/Channels/2

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:

http://192.168.1.64/api/mjpegvideo.cgi?InputNumber=1&StreamNumber=2

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.

Return/Repair

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.