Git Product home page Git Product logo

hikvision-dotnet-sdk's Introduction

HikVision DVR & NVR Live-Viewer .Net 4.8 / C#

This project only support release build x64

Extension of HikVision Windows SDK

https://www.hikvision.com/en/support/download/sdk/

Application

  • bin/PreviewDemo.exe

Require Config in json format

  • bin/DeviceConfig.json
// DeviceConfig.json 
{
  "displayScreen": 0,
  "numberOfScreen": 3,
  "Devices": [
    {
      "ip": "192.168.1.1",
      "username": "admin",
      "password": "admin",
      "port": 8000,
      "streamType": 0,
      "channels": [1, 2, 7, 33]
    },
    {
      "ip": "192.168.1.2",
      "username": "admin",
      "password": "admin",
      "port": 8050,
      "streamType": 0,
      "channels": [1, 2, 4]
    },
    {
      "ip": "192.168.1.3",
      "username": "admin",
      "password": "admin",
      "port": 8000,
      "streamType": 1,
      "channels": [1, 3]
    }
  ]
}

// displayScreen: support for multiple monitors, select the N monitor to display

// numberOfScreen: the number of video frames per monitor
// 1 => 1
// 2 => 2x2 total 4   videos live-view
// 3 => 3x3 total 9   videos live-view
// 4 => 4x4 total 16  videos live-view


// streamType
// 0 => main stream
// 1 => sub stream

Note

  • Please do not rename the bin directory

Full screen windows application (PreviewDemo.exe)

screenshot

startup.bat

  • Batch file for windows startup application
cd "C:\bin\"
start "" PreviewDemo.exe

hikvision-dotnet-sdk's People

Contributors

vh13294 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

vuongvmu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.