NTU-ROSE / Hikvision_Video_Downloader

A Tool for Downloading Video Clips from Hikvision VMS
5 stars 3 forks source link

NET_DVR_GetFileByTime_V40 fail #1

Open Deadsec69 opened 5 years ago

Deadsec69 commented 5 years ago

Im trying to sun the sdk with the files provided by you getting error 110. Im running this command

sudo ./Hikvision_Video_Downloader 10.4.38.30 admin admin@123 1 2019 9 1 12 0 0 12 5 0 ./test.mp4 DVR is on IP: 10.4.38.30

Your help will be appreciated.

prolocation commented 4 years ago

Got the same issue; found a way to resolve this ?

stell-hawk commented 4 years ago

Number of channel was count from 33 for a first channel you need run: sudo ./Hikvision_Video_Downloader 10.4.38.30 admin admin@123 33 2019 9 1 12 0 0 12 5 0 ./test.mp4

fnando1995 commented 4 years ago

Hello @LinShanify I test your code and work as a charm. I first use a normal DVR with cameras (not IP).

Then I check with the IP cameras in a DVR and this is what shows:

./Hikvision_Video_Downloader xxx.xxx.xxx.xxx user user123 1 2020 1 20 11 0 0 11 10 0 ./vid1.mp4
loop[2] find 2 mac and 4 ip
NET_DVR_GetFileByTime_V40 fail,last error 10

Any clue on this?

Thanks!

fnando1995 commented 4 years ago

@LinShanify

Sorry!

I double checked the hardware and the problem is that I was using a NVR instend of DVR.

But, I still need to download video from this type of hardware. Your code maybe help? or can you help me to take the right path to accomplish this goal? (download videos from NVRs).

Note: With this code I can easilly donwload video from a DVR. DVR's have Analog cameras, some models could have 1-2 interfaces for IP Cameras ( I haven't check if you can download videos from channels where IP cameras are connected).

Thanks for any clue!

kind regards

fnando1995 commented 4 years ago

Im trying to sun the sdk with the files provided by you getting error 110. Im running this command

sudo ./Hikvision_Video_Downloader 10.4.38.30 admin admin@123 1 2019 9 1 12 0 0 12 5 0 ./test.mp4 DVR is on IP: 10.4.38.30

Your help will be appreciated.

I am having the same problem. Very weird because yesterday was working as supposed. Today I download the git again and compile as supposed, but that error 110 appeared.

BilalS10 commented 4 years ago

I am facing the same issue with my camera. Can anyone please help me . My requirement is to download the recording from the camera for a particular start time and end time. I have configured the camera to record continuously for a day and storing the recordings in the sd card in the camera.

camera model -> DS-2CD5A26G0-IZS

this is the error ->

NET_DVR_GetFileByTime_V40 fail,last error 110

fnando1995 commented 4 years ago

@BilalS10 I work it out with code of YOHO-LAB. Actually just a minutes ago I realize a mistake of mine with NVR's.