三款摄像头设备URL总结

网友投稿 894 2022-10-30

三款摄像头设备URL总结

三款摄像头设备URL总结

三款摄像头设备RTSP URL总结

李国帅于2017/8/31

定下了每工作日写一个什么东西,可有不能随便的抄袭,若是真没什么想法,免不了那些以前的小东西应景,总不算是说了不做。

Axis

rtsp://192.168.17.240/mpeg4/1/media.amp

rtsp://192.168.17.240:554/mpeg4/1/media.amp

大华摄像头

rtsp://admin:admin@192.168.10.109:554/cam/realmonitor?channel=1&subtype=0

海康DVS

rtsp://192.168.10.108/H.264/ch1/sub/av_stream

rtsp://192.168.10.108/h264/ch1/sub/av_stream

rtsp://192.168.17.108:554/h264/ch1/main/av_stream

rtsp://192.168.10.108:554/PSIA/streaming/channels/102

rtsp://192.168.10.108:554/Streaming/Channels/102/*表示以单播方式取通道1的子码流*/

rtsp://admin:12345@192.168.10.108/h264/ch1/main/av_stream

rtsp://admin:12345@192.168.17.108:554/h264/ch1/main/av_stream

rtsp://admin:ss123456@192.168.3.25/H.264/ch1/sub/av_stream

192.168.17.108 admin 12345

在ie中用ip访问,上述地址@前面为账号信息

提醒一下

对于海康的设备需要注意以下几点:

型号很多,而且很多的型号的url也是不同的。

rtsp信令虽然相同,不过里面的字段却是相差很大,有些型号的设备比如TrackID定义,Agent字段的大小写不同,ntp时间字段也是很混乱。

有些型号的IPC或者NVR实际上在VLC这样的播放器上播放也是不正常的,特别是在播放录像的时候,如果是自己写播放器,需要对它们进行调整。

--------------------

附带axis设备自定义url的一些介绍

AMC supports the following custom protocol schemes:

Scheme Description

axrtpm MJPEG, MPEG-4 and H.264 multicast RTP streams

axrtpu MJPEG, MPEG-4 and H.264 unicast RTP streams

axrtsp MJPEG, MPEG-4 and H.264 unicast RTSP streams

axrtspMJPEG, MPEG-4 and H.264 unicast RTSP streams over HTTP

axrtspMJPEG, MPEG-4 and H.264 unicast RTSP streams over HTTPS

axmpegMPEG-2 unicast streams

axsdp MPEG-2, MPEG-4 and H.264 multicast streams without RTSP. See note 1.

For example, to access a multicast H.264 stream via the RTP protocol, the URL with the custom protocol scheme could look like this

axrtpm:///axis-media/media.amp?videocodec=h264 (VAPIX version 3 - firmware version 5.xx)

MPEG-4 stream via the RTSP protocol:

axrtsp:///mpeg4/media.amp (VAPIX version 2 - firmware version 4.xx)

Secondary audio stream on supported products:

axrtsp(VAPIX version 3 - firmware version 5.xx)

Unicast MPEG-2 stream:

axmpegstream without using RTSP (firmware version 5.30 and higher):

axsdp:///axis-cgi/alwaysmulti.sdp?camera=1

MJPEG stream via the RTPS protocol tunneled over HTTP with embedded credentials:

axrtsp(VAPIX version 3 - firmware version 5.xx)

Note 1: The axsdp protocol enables receiving multicast streams without using the RTSP protcol. When using this protocol the URL should point to the location of a SDP file. The server must be configured to always stream multicast video or/and audio streams. This option is available on some older products (firmware version earlier that 4.20) and in newer products (supported from firmware version 5.30).

Note 2: To stream only video add "/trackID=1" to the URL, to stream only audio add "/trackID=2". To get only audio from an audio capable Axis device use an URL like this (here we get audio streamed over RTP unicast):

axrtpu:///mpeg4/media.amp/trackID=2

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:使您的Docker Compose应用程序可重用,并在Docker Hub上共享它们
下一篇:一个基于Qt Widgets应用程序的Visual Studio风格的停靠窗口库
相关文章

 发表评论

暂时没有评论,来抢沙发吧~