当前位置:网站首页>Description of the latest RTSP address rules for Hikvision camera, NVR, streaming media server, playback and streaming [easy to understand]
Description of the latest RTSP address rules for Hikvision camera, NVR, streaming media server, playback and streaming [easy to understand]
2022-06-30 20:14:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
This document mainly introduces live broadcast preview of Hikvision equipment RTSP、 Video playback RTSP、 Streaming media RTSP URL and IE Preview directly 、 Playback of HTTP URL.
RTSP For Streaming Protocol , After getting the code stream, you need to decode and display it , Can pass VLC Player or EasyPlayer player To test ,IE And other browser pages don't support RTSP The protocol directly fetches the stream for preview or playback , Need to install OCX plug-in unit , This is also the practice of most security manufacturers at present .
At present, there is also a lot of support RTSP Streaming media service for web page live broadcast without plug-ins , for example EasyNVR Is specialized in this kind of security RTSP Switch to the Internet RTMP/HLS(m3u8)/FLV No plug-ins H5 Live streaming media service middleware ;
On the web page, you need to skip the login interface and directly access the preview or playback screen of our device , You can use the HTTP Of URL Realization .
notes :
1)URL in “:”“?”“&” And other symbols are in English .
2)RTSP Current collection and HTTP visit URL All need equipment support , The devices of the two controls shown below can support .
One 、 The sea, RTSP Take current URL Address rule
1.1 Take stream preview
Device preview stream fetching RTSP URL There are new and old versions ,2012 Equipment years ago ( such as V2.0 Version of Netra equipment ) Support the old stream format , Later devices support both new and old stream formats ( I have to say that Haikang is the only video hardware in China ).
- 【 The old version of Haikang , It is very rare now 】
URL Regulations :
rtsp://username:[email protected]<ipaddress>/<videotype>/ch<number>/<streamtype>
notes :VLC perhaps EasyPlayer Can support parsing URL User name and password in , Actually delivered to the equipment RTSP request URL Password with user name is not supported .
Detailed description :
Illustrate with examples :
DS-9016HF-ST Of IP passageway 01 Main stream :
rtsp://admin:[email protected]:554/h264/ch33/main/av_stream
DS-9016HF-ST The analog channel 01 Sub-stream :
rtsp://admin:[email protected]:554/h264/ch1/sub/av_stream
DS-9016HF-ST Zero channel main code stream ( Zero channel no sub code stream ):
rtsp://admin:[email protected]:554/h264/ch0/main/av_stream
DS-2DF7274-A Third bitstream :
rtsp://admin:[email protected]:554/h264/ch1/stream3/av_stream
- 【 New version of Hikvision ,DS series 】
URL Regulations :
rtsp://username:[email protected]<address>:<port>/Streaming/Channels/<id>(?parm1=value1&parm2-=value2…)
notes :VLC perhaps EasyPlayer Can support parsing URL User name and password in , Actually delivered to the equipment RTSP Request does not support password with user name .
Detailed description :
Illustrate with examples :
DS-9632N-ST Of IP passageway 01 Main stream :
rtsp://admin:[email protected]:554/Streaming/Channels/101?transportmode=unicast
DS-9016HF-ST Of IP passageway 01 Main stream :
rtsp://admin:[email protected]:554/Streaming/Channels/1701?transportmode=unicast
DS-9016HF-ST The analog channel 01 Sub-stream :
rtsp://admin:[email protected]:554/Streaming/Channels/102?transportmode=unicast ( unicast )
rtsp://admin:[email protected]:554/Streaming/Channels/102?transportmode=multicast ( multicast )
rtsp://admin:[email protected]:554/Streaming/Channels/102 (? It can be omitted later , Default Unicast )
DS-9016HF-ST Zero channel main code stream ( Zero channel no sub code stream ):
rtsp://admin:[email protected]:554/Streaming/Channels/001
DS-2DF7274-A Third bitstream :
rtsp://admin:[email protected]:554/Streaming/Channels/103
notes : The front is old URL,NVR(>=64 Except for road ) Of IP The passage goes from 33 Start ; new URL, The channel numbers are all in order from 1 Start .
1.2 Video playback and streaming RTSP The rules
URL Regulations :
rtsp://username:[email protected]<address>:<port>/Streaming/tracks/<id>(?parm1=value1&parm2-=value2…)
notes :VLC perhaps EasyPlayer Can support parsing URL User name and password in , Actually delivered to the equipment RTSP Request does not support password with user name .
Detailed description :
Illustrate with examples :
DS-9016HF-ST The analog channel 01:
rtsp://admin:[email protected]:554/Streaming/tracks/101?starttime=20120802t063812z&endtime=20120802t064816z
DS-9016HF-ST Of IP passageway 01:
rtsp://admin:[email protected]:554/Streaming/tracks/1701?starttime=20131013t093812z&endtime=20131013t104816z
Represents the playback of video files in the channel of a specified device in unicast form , The time frame is starttime To endtime, among starttime and endtime The format of should conform to ISO 8601. The specific format is YYYYMMDD”T”HHmmSS.fraction”Z”,Y is ,M Is the month ,D The Japanese ,T Break time is ruled ,H Is the hour ,M It is divided ,S Is the second ,Z It's optional 、 Express Zulu(GMT) Time .
Be careful : Many times we use the command line to verify RTSP When releasing the flow , Make sure the whole RTSP-URL Enclose in double quotation marks ,“RTSP-URL”, because CMD Inside & Symbols are special characters , Don't use double quotation marks , The whole address will be cut into several parts ;
1.3 Haikang streaming media service fetches streams RTSP The rules
- 【 Streaming media V4.0】iVMS-4200 V2.0 Supporting streaming media server
URL describe :
notes :Devicehc8 Is a fixed character , Non modifiable .
Illustrate with examples :
Through a streaming server 172.6.24.15 Slave device 172.6.22.106 Take channel 01 Main stream :
rtsp://172.6.24.15:554/Devicehc8://172.6.22.106:8000:0:0?username=admin&password=12345
- 【 Streaming media V2.0】
URL describe :
Illustrate with examples :
rtsp://172.6.24.15:554/172.6.22.106:8000:HIK-DS8000HC:2:0:admin:12345/av_stream
notes : Streaming media 2.0 Current collection of URL It's not standard RTSP agreement , Must use streaming media SDK( client ) To support streaming , It's just for streaming media 4.0 For reference .
Two 、 General purpose camera RTSP Take current URL Address rule
In fact, it is no longer so complicated to obtain RTSP The streaming address of , Because most of IPC perhaps NVR Basically supported Onvif agreement , adopt Onvif Device Test Tool perhaps EasyNVR Such a tool , Can be directly found to the device RTSP Stream Address , There is no need to splice according to the rules of different manufacturers , With EasyNVR For example :
More video solutions resources summary
- Streaming technology : EasyDarwin Open source streaming server :http://www.easydarwin.org TSINGSEE Open video platform :http://open.tsingsee.com
- Video cloud service EasyDSS Internet video cloud service :http://www.easydss.com EasyCVR Security video service :http://www.easycvr.com EasyGBS National standard video cloud service :http://www.easygbs.com EasyRTC Online video conference platform :http://www.easyrtc.cn EasyRTS Instant messaging cloud service :http://www.easyrts.com
- Edge of computing : EasyNVR Video edge computing gateway :http://www.easynvr.com EasyNTS Cloud gateway :http://www.easynts.com
TSINGSEE Team:http://www.tsingsee.com
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/132119.html Link to the original text :https://javaforall.cn
边栏推荐
- Jerry's touch key recognition process [chapter]
- S7-1500 PLC之间进行TCP通信的具体方法和步骤详解(图文)
- 小学期,第三场-下午:WEB_sessionlfi
- 数据智能——DTCC2022!中国数据库技术大会即将开幕
- Basic syntax of VB
- Idle fish is hard to turn over
- 基于slate构建文档编辑器
- Solution to rollback of MySQL database by mistake deletion
- Summary of operating system interview questions (updated from time to time)
- 【ICCV 2019】特征超分检测:Towards Precise Supervision of Feature Super-Resolution for Small Object Detection
猜你喜欢

Detailed explanation of specific methods and steps for TCP communication between s7-1500 PLCs (picture and text)

大神详解开源 BUFF 增益攻略丨直播

文件包含&条件竞争

微信小程序开发实战 云音乐

NLP技能树学习路线-(一)路线总览

Conditional compilation

【450. 删除二叉搜索树中的节点】

消灭Bug,开发者不可不知的几款Bug探索测试神器。
Django上传excel表格并将数据写入数据库的详细步骤
![25: Chapter 3: developing pass service: 8: [registration / login] interface: receiving and verifying](/img/ff/727c4a20ff3816ec7221dced5a4770.png)
25: Chapter 3: developing pass service: 8: [registration / login] interface: receiving and verifying "mobile number and verification code" parameters; (it is important to know the application scenario
随机推荐
Enterprise middle office planning and it architecture microservice transformation
pytorch实现FLOPs和Params的计算
杰理之检测灵敏度级别确定【篇】
Source code analysis of redis ziplist compressed list
以全栈全功能解决方案,应对多样工具复杂环境DevOps落地难题
最新海康摄像机、NVR、流媒体服务器、回放取流RTSP地址规则说明[通俗易懂]
Tensorflow2.4实现RepVGG
[ICLR 2021] semi supervised object detection: unbiased teacher for semi supervised object detection
Taihu Lake "China's healthy agricultural products · mobile phone live broadcast" enters Taihu Lake
The Commission is so high that everyone can participate in the new programmer's partner plan
4.3-inch touch screen 12 channel control port programmable network central control supports mutual backup of 5 central control hosts
exness:流动性系列-流动性清洗和反转、决策区间
QT QStringList用法
Jerry's touch key recognition process [chapter]
Idle fish is hard to turn over
杰理之触摸按键识别流程【篇】
Primary school, session 3 - afternoon: Web_ sessionlfi
Notes on modification of Jerry's test box pairing software [chapter]
What is the difference between tolocal8bit and toutf8() in QT
NLP技能树学习路线-(一)路线总览