Hikvision camera picture download Windows ISAPI utility... downloads pictures from SD card ready for timelapse

johnfitz

Getting comfortable
Feb 4, 2021
825
877
NY
howdy... I created this utility program using Visual Studio... it downloads .jpg pictures from the SD card in Hikvision cameras... it's helpful if the camera is not easy to reach to remove the card... if anyone is interested in trying it, I have attached a zipped-up file...


Screenshot 2024-03-05 201151.png

PLEASE USE LATEST VERSION 2 AT END OF THREAD!
 
Last edited:
Hi @14179 ... thanks for trying! It works very reliably over here... I'm not quite sure what you mean by "only the last 3 days" ... if you would provide more details or a screenshot of the problem, I will definitely assist... Thanks again for trying it out!!!
 
Sometimes it works but only the last 3 days. Sometimes it doesnt work, the connection breaks.

Hi @14179 ... I think I found the problem you had... got the same result as you when downloading over a slower Wi-Fi network... I had the http requests set to timeout in 1 second (for no good reason) ... I have changed the timeout to 15 seconds... I have also changed the way GMT/UTC hours offset defaults, so it accounts correctly for daylight savings time... V1.1 is attached here...

PLEASE USE LATEST VERSION AT END OF THREAD!
 
Last edited:
one more small change to timeouts... V1.2 attached...

PLEASE USE LATEST VERSION AT END OF THREAD!
 
Last edited:
last change to timeouts... added 30 second timeout to wait if a Wi-Fi network disconnects... V1.3 attached...

PLEASE USE LATEST VERSION AT END OF THREAD!
 
Last edited:
  • Like
Reactions: SavaricTheSpear
This is absolutely awesome! I did a time lapse for a customer and was disappointed with how slow and clunky downloading the images via the web interface was. This little utility made it so much more useable. Thank-you!!!
 
  • Like
Reactions: johnfitz
Is it possible to share the source codes, I wonder if it is possible to share the source codes, I want to use the program by making a few changes in the project so that it can be used for different needs, sharing it on github or here will be good for development thanks.
 
  • Like
Reactions: johnfitz
yes @xleatz it's possible... i was supposed to do this last winter but i dropped the ball... at @trempa92 helped me with the tricky stuff... tremp sorry i dropped the ball... ill try to get it on GitHub but will undoubtably need help from tremp in order to do so
 
  • Like
Reactions: xleatz
yes @xleatz it's possible... i was supposed to do this last winter but i dropped the ball... at @trempa92 helped me with the tricky stuff... tremp sorry i dropped the ball... ill try to get it on GitHub but will undoubtably need help from tremp in order to do so
I think loaded to Github and added trempa?
Hello, I couldn't find a github related to @trempa92, if the link to the uploaded repository can be sent, I can fork the project and make different improvements. when I try to search the project on github with the same name, I can't reach the project, I made a project on python, but this project attracted my attention more. Since I don't have much time to work on C#, so the source code will be very useful and will speed up the work.
 
I was waitting for john to add me to his github project, i dont have his source code.

@johnfitz haha, it is morning in Croatia, but not not sleepy time :)

Just upload solution here zipped. I can push to github if you want, or i can guide you how you can push yourself.

Cheers
 
Just upload solution here zipped. I can push to github if you want, or i can guide you how you can push yourself.
I'd rather let you take a look first, so guide me how to push it, I sure it seems easy if you know.... I just dont get it
 
If I was going to zip it, stay out of Visual Studio, go in explorer and just zip the directory?
 
Zip ... now I feel silly... I have a zip file but it's not attaching correctly to this message.