Get still image through URL from Hikvision NVR [SOLVED]

Artanis

n3wb
Joined
Nov 6, 2015
Messages
2
Reaction score
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:

Artanis

n3wb
Joined
Nov 6, 2015
Messages
2
Reaction score
7
Thank you very much - it can be useful if advanced functionality necessary through API.
 

badmop

Getting the hang of it
Joined
Jul 21, 2015
Messages
475
Reaction score
27
I'm going to crash the party, anyone know of anything for Dahua NVR? :)
 

khx73

Getting the hang of it
Joined
Jul 8, 2015
Messages
86
Reaction score
27
Location
Canada
@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:
Joined
Jun 12, 2016
Messages
2
Reaction score
1
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.
 

Securame

Pulling my weight
Joined
Mar 25, 2014
Messages
566
Reaction score
156
Location
Barcelona, Spain
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).
 
Joined
Jun 12, 2016
Messages
2
Reaction score
1
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.
 

Brettzky84

n3wb
Joined
Feb 8, 2017
Messages
1
Reaction score
0
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>
 

shakeel

n3wb
Joined
May 26, 2017
Messages
4
Reaction score
0
I want to take snapshot from past days (DVR Archive) would it be possible through http.
 
Last edited:

Valeriy

n3wb
Joined
Jun 25, 2017
Messages
1
Reaction score
0
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>
 

shakeel

n3wb
Joined
May 26, 2017
Messages
4
Reaction score
0
Hello Graemac,
I did not get any answer or workable solution.
 

RyanODan

IPCT Vendor
Joined
Mar 10, 2014
Messages
630
Reaction score
260
Location
Tulsa
Hi, anyone who is having the url snapshot issue please list your:

1. Model Number
2. Firmware version and build date
 

phairplay

n3wb
Joined
Jun 19, 2018
Messages
2
Reaction score
1
Location
England Derby
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.
 
Top