zoukankan      html  css  js  c++  java
  • 流媒体技术学习笔记之(八)海康、大华IpCamera RTSP地址和格式

    海康:

    rtsp://[username]:[password]@[ip]:[port]/[codec]/[channel]/[subtype]/av_stream

    说明:

    1. username: 用户名。例如admin。
    2. password: 密码。例如12345。
    3. ip: 为设备IP。例如 192.0.0.64。
    4. port: 端口号默认为554,若为默认可不填写。
    5. codec:有h264、MPEG-4、mpeg4这几种。
    6. channel: 通道号,起始为1。例如通道1,则为ch1。
    7. subtype: 码流类型,主码流为main,辅码流为sub。


    例如,请求海康摄像机通道1的主码流,Url如下
    主码流:

    rtsp://admin:12345@192.0.0.64:554/h264/ch1/main/av_stream
    rtsp://admin:12345@192.0.0.64:554/MPEG-4/ch1/main/av_stream

    子码流:

    rtsp://admin:12345@192.0.0.64/mpeg4/ch1/sub/av_stream
    rtsp://admin:12345@192.0.0.64/h264/ch1/sub/av_stream
    

      

    大华:

    rtsp://username:password@ip:port/cam/realmonitor?channel=1&subtype=0

    说明:

    1. username: 用户名。例如admin。
    2. password: 密码。例如admin。
    3. ip: 为设备IP。例如 10.7.8.122。
    4. port: 端口号默认为554,若为默认可不填写。
    5. channel: 通道号,起始为1。例如通道2,则为channel=2。
    6. subtype: 码流类型,主码流为0(即subtype=0),辅码流为1(即subtype=1)。

    例如,请求某设备的通道2的辅码流,Url如下

    rtsp://admin:admin@10.12.4.84:554/cam/realmonitor?channel=2&subtype=1
  • 相关阅读:
    Get code into Bitbucket fast using Atlassian's SourceTree or the command line
    Django+angularJs
    修改默认python版本
    重拾python mac1.9.2
    REST
    Parameters.Add Parameters.Addrange
    sql建表前删除存在的同名表
    C#1.0
    [转]C#究竟能给开发者带来什么
    Laravel中上传图片至七牛云
  • 原文地址:https://www.cnblogs.com/tinywan/p/6292004.html
Copyright © 2011-2022 走看看