当前位置:网站首页>网络摄像头RTSP视频流WEB端实时播放实现方案
网络摄像头RTSP视频流WEB端实时播放实现方案
2022-06-09 12:44:00 【51CTO】
IPC视频流怎么实时在WEB浏览器播放,视频流格式是RTSP。
下面我整理了自己实现的方案以及网上看到的一些方案
一、FFmpeg + nginx 将转 hls 通过 video.js 在支持h5浏览器播放(我实现的)
参见:Nginx+FFmpeg实现rtsp流转hls流,在WEB通过H5 video实现视频播放
不足:hls延迟较rtmp、http-flv大
二、FFmpeg + nginx-rtmp-module + h5 video,rtsp转rtmp播放
注:通过video.js播放rtmp流。需要将代码放到服务器,本地windows电脑无法播放
不足:需要浏览器开启flash
三、FFmpeg + nginx-http-flv-module + flv.js,rtsp转rtmp,直接播放flv格式
基于nginx-rtmp-module,通过配置将rtmp转为flv,最后通过flv.js播放。
https://github.com/winshining/nginx-http-flv-module/blob/master/README.CN.md
这种方式是最理想的,我目前找到的方案。当然单指不想花钱买收费方案的。
四、WebRTC
https://github.com/lulop-k/kurento-rtsp2webrtc https://www.jianshu.com/p/1ddfa72de165
五、streamedian
https://github.com/Streamedian/html5_rtsp_player https://streamedian.com/
https://streamedian.com/#demo
六、h5stream
https://www.linkingvision.com/ https://github.com/liweilup/h5strea
七、liveqing
其他参考:
- JAVA实现大华摄像头WEB方式实时显示视频,H5界面展示方式思路。
- 浏览器播放rtsp视频流解决方案
- javaCV开发详解之2:推流器实现,推本地摄像头视频到流媒体服务器以及摄像头录制视频功能实现(基于javaCV-FFMPEG、javaCV-openCV)
边栏推荐
- 2022.5.29-----leetcode.468
- 斯坦福博士提出超快省显存Attention,GPT-2训练速度提升3.5倍,BERT速度创纪录
- Network attacks focus on people's livelihood. How can we effectively defend against DDoS and apt attacks?
- 2022.5.25-----leetcode.467
- 【clickhouse专栏】单机版的安装与验证
- MySQL数据库(25):外键 foreing key
- Take six five stars in Tencent (Part 2)
- Wechat applet
- 在这些根技术里,读懂华为的“三观”
- 面试题 05.08. 绘制直线
猜你喜欢

云呐|智能运维管理系统平台,可视化运维系统管理

TCP/IP协议(1)

Yunna | what does database monitoring generally monitor

TCP(滑动窗口,流量控制)

leetcode:497. 非重叠矩形中的随机点【随缘随机 + 前缀和二分 + 过了就行】

有损传输实例

Yunna intelligent operation and maintenance management system platform, visual operation and maintenance system management

Development and present situation of Network Space Surveying and mapping at home and abroad

郑州埃文科技安全头条

How to solve the worry of enterprise network with the acceleration of cloud network integration on the third anniversary of 5g licensing?
随机推荐
谁说Redis不能存大key
云呐|智能运维管理系统平台,可视化运维系统管理
栈的基本方法及相关问题
Development and present situation of Network Space Surveying and mapping at home and abroad
What's the use of finding amino acids in extraterrestrial life?
云呐|固定资产归哪个部门管理,归谁管理
leetcode:497. 非重叠矩形中的随机点【随缘随机 + 前缀和二分 + 过了就行】
炒作剽窃、内鬼欺诈 OpenSea上常见的NFT骗局及安全建议
使用nodejs导出md/Markdown文档当中的图片到本地并替换原始图片链接为本地图片链接
Prototype chain? New misconceptions
云呐|数据库监控一般监控什么
2022.5.26-----leetcode.699
[Clickhouse column] installation and verification of stand-alone version
QUIC必看
对某快捷酒店一次内网测试
论文阅读《LEAStereo:Hierarchical Neural Architecture Search for Deep Stereo Matching》
详解异步任务:函数计算的任务触发去重
Raspberry PI raspberry pie classification and introduction of its similar products
U8g2 graphics library and STM32 migration (I2C, software and hardware)
win11启用多用户远程桌面同时登陆