Get still image through URL from Hikvision NVR [SOLVED]

Artanis

n3wb
Nov 6, 2015
3
7
Hello!

I have multiple Hikvision IP cameras, and it seems that there is no problem to acquire sill images (JPG) instantly from these cameras by using URL
http://192.168.0.xxx/Streaming/channels/1/picture

But now I'm trying to accomplish the same thing by using Hikvision DS-7204HWI-SH network video recorder (NVR), but while I can tap into the RTSP live video stream by using following URL in VLC media player
rtsp:/user:password@192.168.0.xxx/Streaming/channels/101
I can't get single JPG snapshots from this NVR.

I have tried all kinds of URLs that works perfectly for Hikvision IP cameras, but not for NVR. I guess that they use very similar software, there should be way to aquire still images from NVR as well. Could someone help me with this issue?


SOLUTION:
You can get still image snapshot from Hikavision NVR by using following URL link:
http://user:password@192.168.0.xxx/ISAPI/Streaming/channels/101/picture

Hope it helps someone in the future. Cheers. :)
---
 
Last edited by a moderator:
Thank you very much - it can be useful if advanced functionality necessary through API.
 
I'm going to crash the party, anyone know of anything for Dahua NVR? :)
 
@Artanis
Does that give you a main stream picture or sub stream picture?
I can only get sub stream low resolution pictures that way from my NVR no matter what URL is used.
Directly from the cameras, I get high resolution main stream pictures.
 
Last edited by a moderator:
Just wanted to add a little more info that could help others -

Using

/ISAPI/Streaming/channels/101/picture?videoResolutionWidth=1920&videoResolutionHeight=1080

seems to get the main stream resolution from the NVR for me. At first I thought it might just be resizing the sub stream, but on comparison of a snapshot from the camera itself and the NVR, it appears to be the real deal.
 
Just wanted to add a little more info that could help others -

Using

/ISAPI/Streaming/channels/101/picture?videoResolutionWidth=1920&videoResolutionHeight=1080

seems to get the main stream resolution from the NVR for me. At first I thought it might just be resizing the sub stream, but on comparison of a snapshot from the camera itself and the NVR, it appears to be the real deal.

101 will get the main stream; 102 will get the substream.

The first number is the channel, the second number the stream (01 main, 02 sub).
 
101 will get the main stream; 102 will get the substream.

The first number is the channel, the second number the stream (01 main, 02 sub).

Not on my Hikvision DS-7604 - I can go all the way from 101 to 199 and I still get the sub stream unless I add the width and height to the end.
 
  • Like
Reactions: horseflesh
nvr: DS-7108N-SN/P
firmware version nvr: V3.0.13 build 150503
encoding version nvr: V5.0 build 150413

Hi, im still having trouble accessing the snapshot url i can't seem to get it working on my nvr.
i could get snapshot directly from the camera but nvr is giving me some long-standing headaches with the correct syntax
snapshots are just port 80 if im correct as they just http calls?
can anyone please help with the correct syntax?
i've had a look at the hikvision http api but im not good with that to be honest.


http://admin:xxxx@192.168.0.xx/ISAPI/Streaming/channels/101/picture
http://admin:xxxx@192.168.0.xx/ISAPI/Streaming/channels/102/picture
http://admin:xxxx@192.168.0.xx/ISAPI/Streaming/channels/201/picture
http://admin:xxxx@192.168.0.xx/ISAPI/Streaming/channels/202/picture
http://admin:xxxx@192.168.0.xx/ISAPI/Streaming/channels/101/picture?videoResolutionWidth=1920&videoResolutionHeight=1080
http://admin:xxxx@192.168.0.xx/jpg/image.jpg

ect.


error code received back
This XML file does not appear to have any style information associated with it. The document tree is shown below.
"); vertical-align: bottom; height: 10px;"><ResponseStatus xmlns="urn:psialliance-org" version="1.0">
<requestURL>/ISAPI/Streaming/channels/101/picture</requestURL>
<statusCode>3</statusCode>
<statusString>Device Error</statusString>
<subStatusCode>deviceError</subStatusCode>
</ResponseStatus>
 
I want to take snapshot from past days (DVR Archive) would it be possible through http.
 
Last edited:
DS-7116NI-SN / P
firmware version nvr: V3.0.16 build 150617
encoding version nvr: V5.0 build 150601

I have exactly the same problem.
Any ideas ?



nvr: DS-7108N-SN/P
firmware version nvr: V3.0.13 build 150503
encoding version nvr: V5.0 build 150413


error code received back
This XML file does not appear to have any style information associated with it. The document tree is shown below.
"); vertical-align: bottom; height: 10px;"><ResponseStatus xmlns="urn:psialliance-org" version="1.0">
<requestURL>/ISAPI/Streaming/channels/101/picture</requestURL>
<statusCode>3</statusCode>
<statusString>Device Error</statusString>
<subStatusCode>deviceError</subStatusCode>
</ResponseStatus>
 
Hi, anyone who is having the url snapshot issue please list your:

1. Model Number
2. Firmware version and build date
 
Hi guys,
I've recently had Hikvision cameras installed and I've tried all the above with out any success

my NVR is:
Model No: DS-7204HUHI-K1 / P
Firmware: V3.5.50 Build 180124

can someone please help.
 
This document is essentially for cameras but you may have to do it for recorders as well.

Can you post the exact URL you used with all the information filled in?
 

Attachments

  • Like
Reactions: afddwfadwfadwf
good deal