Title: How to Get IPC MJPEG Stream via HTTP Commands Version: v1.
0 Date: 16/08/2018
Product: Cameras Page: 1 of 3
Preparation
1. The firmware of camera requires V4.1 or above
How to Get IPC MJPEG Stream via HTTP Commands
1. Configure video stream
a) HTTP commands get stream only be available under Sub stream.
b) Go to [Configuration]-[Video/Audio]-[Video], set the Stream Type as Sub-stream and Video
Encoding as MJPEG. Resolution can be adjusted according to the current condition.
2. Get stream on Firefox or Chrome
HTTP commands is only available on Firefox or Chrome browser.
a) URL:
HTTP without Authentication
http://<IP address of IPC>:<HTTP port>/ISAPI/Streaming/channels/102/httpPreview
HTTP with Authentication
© Hangzhou Hikvision Digital Technology Co.,Ltd. All Rights Reserved.
No.555 Qianmo Road, Binjiang District, Hangzhou 310052, China • Tel: +86-571-8807-5998 • Fax: +1 909-595-0788
E-Mail:
[email protected] • www.hikvision.com
Title: How to Get IPC MJPEG Stream via HTTP Commands Version: v1.0 Date: 16/08/2018
Product: Cameras Page: 2 of 3
http://<username>:<password>@<IP address of IPC>:<HTTP
port>/ISAPI/Streaming/channels/102/httpPreview
Snapshot using HTTP URL
http://<IP address of IPC>:<HTTP port>/ISAPI/Streaming/channels/1/picture
b) Example:
http://10.9.97.33/ISAPI/Streaming/channels/102/httpPreview
http://admin:[email protected]/ISAPI/Streaming/channels/102/httpPreview
http://10.9.97.33/ISAPI/Streaming/channels/1/picture
Note:
If the HTTP port of the device is still 80 (default), then “:<HTTP port>” is not required;
DS-1X23G0 series cameras don’t support get MJPEG stream via HTTP commands.
© Hangzhou Hikvision Digital Technology Co.,Ltd. All Rights Reserved.
No.555 Qianmo Road, Binjiang District, Hangzhou 310052, China • Tel: +86-571-8807-5998 • Fax: +1 909-595-0788
E-Mail:
[email protected] • www.hikvision.com
Title: How to Get IPC MJPEG Stream via HTTP Commands Version: v1.0 Date: 16/08/2018
Product: Cameras Page: 3 of 3
First Choice for Security Professionals
HIKVISION Technical Support
© Hangzhou Hikvision Digital Technology Co.,Ltd. All Rights Reserved.
No.555 Qianmo Road, Binjiang District, Hangzhou 310052, China • Tel: +86-571-8807-5998 • Fax: +1 909-595-0788
E-Mail:
[email protected] • www.hikvision.com