海康、大华IpCamera RTSP地址和格式
大家注意,这里说的都是海康老款摄像机的RTSP规则,现在新的DS系列的摄像机RTSP规则为:http://blog.csdn.net/xiejiashu/article/details/71786187
海康:
rtsp://[username]:[password]@[ip]:[port]/[codec]/[channel]/[subtype]/av_stream说明:
username: 用户名。例如admin。
password: 密码。例如12345。
ip: 为设备IP。例如 192.0.0.64。
port: 端口号默认为554,若为默认可不填写。
codec:有h264、MPEG-4、mpeg4这几种。
channel: 通道号,起始为1。例如通道1,则为ch1。
subtype: 码流类型,主码流为main,辅码流为sub。
局域网播放:
rtsp://admin:123@192.168.25.46:554/Streaming/Channels/102
rtsp:/