python-dvr

0

Описание

Python library for configuring a wide range of IP cameras that use the NETsurveillance ActiveX plugin XMeye SDK

Языки

  • Python96,7%
  • C++3,2%
  • Dockerfile0,1%
5 лет назад
4 года назад
3 года назад
9 лет назад
2 года назад
4 года назад
README.md

python-dvr

Python library for configuring a wide range of IP cameras that use the NETsurveillance ActiveX plugin XMeye SDK

screenshot

DeviceManager.py

DeviceManager.py is a standalone Tkinter and console interface program such as the original DeviceManager.exe it possible to work on both systems, if there is no Tkinter it starts with a console interface

DVR-IP, NetSurveillance or "Sofia" Protocol

The NETSurveillance ActiveX plugin uses a TCP based protocol referred to simply as the "Digital Video Recorder Interface Protocol" by the "Hangzhou male Mai Information Co".

There is very little software support or documentation other than through tools provided by the manufacturers of these cameras, which leaves many configuration options inaccessible.

Similar projects

Server implementations

Basic usage

AsyncIO usage

Camera settings

Returns general camera information (timezones, formats, auto reboot policy, security options):

Returns hardware specific settings, camera serial number, current software version and firmware type:

Returns capabilities for the camera software (alarms and detection, communication protocols and hardware specific features):

Camera video settings/modes

Add user and change password

Investigate more settings

Suggested approach will help understand connections between camera UI and API settings. Fell free to send PR to the document to update information.

Get JPEG snapshot

Get video/audio bitstream

Video-only writing to file (using simple lambda):

Writing datastream with additional filtering (capture first 100 frames):

Set camera title

screenshot

OSD special text displaying

screenshot

Upgrade camera firmware

Monitor Script

This script will persistently attempt to connect to camera at

CAMERA_IP
, will create a directory named
CAMERA_NAME
in
FILE_PATH
and start writing separate video and audio streams in files chunked in 10-minute clips, arranged in folders structured as
%Y/%m/%d
. It will also log what it does.

OPFeederFunctions

These functions are to handle the pet food dispenser when available. You can see it with :

OPFeedManual

Servings is the number of portions

OPFeedBook
OPFeedHistory

Type 1 : automatic

Type 2 : manual

Troubleshooting

Acknowledgements

Telnet access creds from gabonator

https://gist.github.com/gabonator/74cdd6ab4f733ff047356198c781f27d