Snapshot with Hikvision

3,339 views
Skip to first unread message

denver

unread,
Aug 11, 2018, 6:16:50 AM8/11/18
to Loxone English
Ive searched but not found an answer. Im using a DS-2CD2T42WD-I5 with FW V5.5.0. Im able to get a live stream when the doorbell is pressed but unable to get a snapshot.

For live stream I'm using http://ip:port/ISAPI/streaming/channels/102/httppreview and have tried various url's for picture but just doesn't seem to work, any ideas please.


Ewald Sarneel

unread,
Aug 13, 2018, 1:42:54 AM8/13/18
to Loxone English

You could try this?

http://admin:password@ipadres/ISAPI/Streaming/channels/601/picture

6 = channel
01 = substream

or

MJPEG WITH AUTH IN URL
User/pass can also be delivered with authentication direct in the URL

http://ip:port/Streaming/channels/1/preview?auth=xxxxxxx

I used http://www.freeformatter.com/base64-encoder.html as encoder, input as username:password
Example (user:pass = admin:12345 -> auth=YWRtaW46MTIzNDU= )

URL would be:
http://ip:port/Streaming/channels/1/preview?auth=YWRtaW46MTIzNDU=


JPG
This also works for JPG retrieval using the URL

http://ip:port/Streaming/channels/1/picture?auth=xxxxxxx



Op zaterdag 11 augustus 2018 12:16:50 UTC+2 schreef denver:

denver

unread,
Aug 14, 2018, 2:38:33 AM8/14/18
to Loxone English
Thanks for the tip on authentication Ewald.

I found the problem, the ip camera had a software update and the security had been changed to 'digest', changing it back to 'digest/basic' solved the problem. Strange how it only effected snapshot and not video through Loxone.
Reply all
Reply to author
Forward
0 new messages