Skip to content
forked from Tedyst/HikLoad

Auto Download videos from HikVision DVR

License

Notifications You must be signed in to change notification settings

parisni/HikLoad

 
 

Repository files navigation

HikLoad

A short Python script that downloads video recordings from the day that this script is run from a Hikvision DVR.

Using with docker

docker pull tedyst/hikload:latest

If you are using docker, you could use the environment variables:

ENV server "192.168.1.69"
ENV cameras "101 201"
ENV user "admin"

Modifying the config

You can modify ./config.py as follows:

CONFIG = {
    //This is the address of the DVR
    "server": "192.168.1.69",
    //These are the cameras that you are going to download from.
    //101 means main stream of camera 1
    //201 means main stream of camera 2
    "cameras": [
        "101",
        "201"
    ],
    "user": "admin",
    "password": "",
    "downloadPath": "./Downloads/"
}

Using your own script

from hikload.util import getList, downloadRTSP

for stream in getList(ElementTree):
    downloadRTSP(stream)

About

Auto Download videos from HikVision DVR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.6%
  • Dockerfile 6.4%