Skip to main content

Auto Download videos from HikVision DVR

Project description

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

list = getList(ElementTree)
for i in list:
    downloadRTSP(i[0],i[1],i[2])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hikload, version 0.2.dev0
Filename, size File type Python version Upload date Hashes
Filename, size hikload-0.2.dev0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page