Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.63 KB

README.md

File metadata and controls

55 lines (40 loc) · 2.63 KB

RPMS:

Copr build status

DEBS:

Launchpad logo

Upload Python Package

Provides functionality to extract periodically only new or missing record event from Hikvion camera or NVR with ISAPI and HTTPDigestAuth enable.
The script will create a new dir peer day.

Add this script to an schedule task and you will keep records during the number of day you put in the config.py

After wath you can backup video files throught the local network or the net, for example with rsyncd. Use QtVsPlayer, https://github.com/surfzoid/QtVsPlayer to read the video with green and red vector like in the web interface BUT Localy.

News

A nice GUI to manage the config.py file, create DEVICES directory and setup a user systemd timer :
https://github.com/surfzoid/HNEWizard

My personal usage

mkdir -p ~/script/cam1
cd ~/script/cam1
git clone https://github.com/surfzoid/HikNetExtractor.git

mkdir -p ~/script/NVR
cd ~/script/NVR
git clone https://github.com/surfzoid/HikNetExtractor.git

##edit conf.py in cam1/HikNextractor and NVR/HikNextractor

crontab -e
3,18,33,48 * * * * ~/script/HikNetExtractor/NVR/HikNetExtractor.py
3,18,33,48 * * * * ~/script/HikNetExtractor/cam1/HikNetExtractor.py
3,18,33,48 * * * * ~/script/rsyncfbx.sh #sauvegarde des videos de la camera vers la maison

Tip

HikNetextractor, take as argument, number of days from today to extract. For example, ./HikNetEtractor 1 will extract video of today and yesterday.

you can tweak start and end time lines 8 and 9, open xmlreq.py, line 7.

Funding

If you like my job and be happy to buy me a beer or a coffee: https://paypal.me/EricPetit or https://fr.tipeee.com/eric-utopiste

Enjoy

The Software is licensed, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.