当前位置:网站首页>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
边栏推荐
- DEX file parsing - Method_ IDS resolution
- 如何快速通过PMP考试?
- C语言:hashTable
- SecureCRTPortable的安装和使用(图文详解)
- Why must a digital transformation strategy include continuous testing?
- QQmlApplicationEngine failed to load component qrc:/main.qml:-1 No such file or directory
- 【1175. 质数排列】
- originpro 2021 附安装教程
- CADD course learning (2) -- target crystal structure information
- Summary of operating system interview questions (updated from time to time)
猜你喜欢

CADD课程学习(1)-- 药物设计基础知识

为什么一定要从DevOps走向BizDevOps?

Enterprise middle office planning and it architecture microservice transformation

CADD course learning (2) -- target crystal structure information

Big God explains open source buff gain strategy live broadcast

DEX file parsing - Method_ IDS resolution

mysql主从同步

解决arm_release_ver of this libmali is ‘g2p0-01eac0‘,rk_so_ver is ‘4‘,libgl1-mesa-dev不会被安装,存在未满足的依赖关系

CV+Deep Learning——网络架构Pytorch复现系列——basenets(BackBones)(一)
Source code analysis of redis ziplist compressed list
随机推荐
DEX file parsing - Method_ IDS resolution
为什么一定要从DevOps走向BizDevOps?
Enterprise middle office planning and it architecture microservice transformation
discuz 论坛提速之删除data/log下的xxx.php文件
HeartBeat基于CRM使用NFS对MySQL高可用
Unity 如何拖拉多个组件中的一个
WeakSet
CADD course learning (2) -- target crystal structure information
Torchdrug -- drug attribute prediction
Go language learning tutorial (13)
CADD course learning (1) -- basic knowledge of drug design
Build document editor based on slate
GeoServer installation
【1175. 质数排列】
25:第三章:开发通行证服务:8:【注册/登录】接口:接收并校验“手机号和验证码”参数;(重点需要知道【利用redis来暂存数据,获取数据的】的应用场景)(使用到了【@Valid注解】参数校验)
大神详解开源 BUFF 增益攻略丨直播
PHP文件上传小结(乱码,移动失败,权限,显示图片)
Qt:qaxobject operation Excel
十分之坑,tar命令解压文件的时候竟然不能解析英文括号“()”
Jerry's touch key recognition process [chapter]