音视频常用资料

流媒体服务器m7s http://docs.monibuca.com/

浏览器硬解码设置未打开,具体开启操作:打开网站chrome://flags/#enable-experimental-web-platform-features,将Experimental Web Platform features选项置为Enabled,重启浏览器后再开启

Happytime ONVIF & RTSP Source Code (happytimesoft.com)

 https://my.oschina.net/xusweeter/blog/4992282

onvif wsl地址

https://www.onvif.org/ch/profiles/specifications/

http://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl
http://www.onvif.org/ver10/media/wsdl/media.wsdl
http://www.onvif.org/ver20/ptz/wsdl/ptz.wsdl
https://www.onvif.org/ver20/media/wsdl/media.wsdl

https://www.onvif.org/ver10/events/wsdl/event.wsdl

公网视频流地址
http://vfx.mtime.cn/Video/2019/02/04/mp4/190204084208765161.mp4
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
http://cctvalih5ca.v.myalicdn.com/live/cctv1_2/index.m3u8


常见网络摄像机RTSP地址

https://blog.csdn.net/qq_45061258/article/details/111399841

海康

主码流: rtsp://admin:yswy123456@192.168.3.2:554/h264/ch1/main/av_stream
子码流: rtsp://admin:yswy123456@192.168.3.2:554/mpeg4/ch1/sub/av_stream

大华

主码流: rtsp://admin:yswy123456@192.168.3.2/cam/realmonitor?channel=1&subtype=0
子码流: rtsp://admin:yswy123456@192.168.3.2/cam/realmonitor?channel=1&subtype=1

AKStream 流媒体地址

ws://192.168.3.173:81/rtp/317C993C.flv

http://192.168.3.173:81/rtp/317C993C.flv

rtsp://192.168.3.173:554/rtp/317C993C

rtmp://192.168.3.173:1935/rtp/317C993C

http://192.168.3.173:81/rtp/317C993C/hls.m3u8

http://192.168.3.173:81/rtp/317C993C.live.ts

ws://192.168.3.173:81/rtp/317C993C.live.ts

http://192.168.3.173:81/rtp/317C993C.live.mp4

ws://192.168.3.173:81/rtp/317C993C.live.mp4

ffmepg

(1)使用rtsp方式推流命令 ffmpeg -re -i "D:/record.mp4" -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test

(2)使用rtmp方式推流命令 ffmpeg -re -i "D:/abc.flv" -vcodec h264 -acodec aac -f flv rtmp://127.0.0.1:1935/live/123

ffmpeg -re -i source.200kbps.768x320.flv -vcodec h264 -acodec aac -f flv rtmp://172.16.204.139/live/test

截图
ffmpeg -rtsp_transport tcp -hide_banner -i "rtsp://admin:afmin123456@192.168.3.5:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1" -y -r 0.5 -t 1 -q:v 2 "D:/test.jpeg"

录像
ffmpeg -i "rtsp://admin:afmin123456@192.168.3.5:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1" -y -f mp4 -t 5 -s 1280x720 "D:/record.mp4"

语音对讲,抓包数据

https://blog.csdn.net/buyicn/article/details/94590419

https://blog.csdn.net/u010293286/article/details/106070959

是否支持rtsp 语音对讲,判读依据

client -> server
Real Time Streaming Protocol
Request: DESCRIBE rtsp://192.168.1.97:554/test.mp4&t=unicast&p=udp&ve=H264&w=1280&h=720&ae=PCMU&sr=8000 RTSP/1.0\r\n
CSeq: 1\r\n
Accept: application/sdp\r\n
User-Agent: CmRtspClient 10.3a.136\r\n
Band 384000\r\n
Require: www.onvif.org/ver20/backchannel\r\n
\r\n

server -> client
Real Time Streaming Protocol
Response: RTSP/1.0 200 OK\r\n
Server: happytime rtsp server 3.8\r\n
CSeq: 1\r\n
Date: Wed, Jun 05 2019 03:22:26 GMT\r\n
Session: 28692
Content-Base: rtsp://192.168.1.97:554/test.mp4&t=unicast&p=udp&ve=H264&w=1280&h=720&ae=PCMU&sr=8000\r\n
Content-type: application/sdp
Content-length: 542
\r\n

Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): - 0 0 IN IP4 192.168.1.97
Session Name (s): session
Connection Information (c): IN IP4 192.168.1.97
Time Description, active time (t): 0 0
Session Attribute (a): control:*
Session Attribute (a): range:npt=0-20.735
Media Description, name and address (m): video 0 RTP/AVP 96
Media Attribute (a): rtpmap:96 H264/90000
Media Attribute (a): fmtp:96 packetization-mode=1;profile-level-id=00001F;sprop-parameter-sets=Z0KAH5ZSAKALdJQEBAUAAAMAAQAAAwAyhA==,aMuNSA==
Media Attribute (a): control:realvideo
Media Description, name and address (m): audio 0 RTP/AVP 0
Media Attribute (a): rtpmap:0 PCMU/8000/2
Media Attribute (a): recvonly
Media Attribute (a): control:realaudio
Media Description, name and address (m): application 0 RTP/AVP 98
Media Attribute (a): rtpmap:98 vnd.onvif.metadata/90000
Media Attribute (a): control:metadata
Media Description, name and address (m): audio 0 RTP/AVP 0
Media Attribute (a): rtpmap:0 PCMU/8000/1
Media Attribute (a): sendonly
Media Attribute (a): control:audioback

利用nginx搭建RTMP视频点播、直播、HLS服务器

https://blog.csdn.net/kingroc/article/details/50839994

qq:505645074
原文地址:https://www.cnblogs.com/chen1880/p/15661342.html