v354412101 / wsplayer Goto Github PK
View Code? Open in Web Editor NEWwsPlayer is a web video player based on WebSocket-fmp4.
License: MIT License
wsPlayer is a web video player based on WebSocket-fmp4.
License: MIT License
对于mp4解析失败的,需加入判断
zlm出来的同一路流
1 ffplay播放 http+fmp4 看起来流畅,至少视频画面的秒数是一秒一秒的显示
2 wsPlayer.js播放感觉有卡顿,观察画面的是时间戳看到画面有跳秒,比如从15s到了17s,很容易观察到,并且一致持续
前端js代码我大概看了一下,发现是不是在onupdateend函数处理有一些问题?
3 因为视频源是我推给zlm的,也不排除是我的时间戳设置存在问题,但对比ffplay来看,wsPlayer.js表现没有ffplay好。
大佬有空指导一下么,js我不太会玩转?随时可提供在线环境调试js
根据播放器原理,播放器是根据设置video.currentTime
来实现播放的,但是播放器首次拉流时,收到的视频流appendBuffer
后video.buffered
的起始时间一直为0,导致无法设置video.currentTime
,所以视频画面出不来。
但是后续再重新播放时,就正常了。
后端流媒体服务器采用的ZLMediaKit
问题复现步骤:
ZLMediaKit addStreamProxy 新添加一路视频,然后wsPlayer马上开始播放
最近我在找h264的js解码器,想请教一下你这个可以解码h264裸流吗?
麻烦作者有空的时候修复一下
这个地址https://www.onlinemp4parser.com/ 有声音,音频格式是aac的 ,播放也没看到报错
播放rtsp视频流win11系统正常,win10系统无法播放
测试页: http://183.62.8.181:9487/wsfmp4/index.html
同一个推流转出的HLS流: http://183.62.8.181:9487/wsfmp4/livehls.html
wsPlayer播放ws-fmp4时会有频繁的爆音,移动端几乎百分百会比较严重。桌面端随着刷新有时频率没那么高,有时频率很高。
同一个推流到ZLM转出的hls流播放则正常
我在用 zlm 推流,目前 H265 的解码播不出来,
请问咱们这个库升级到 H265 版本了嘛,盼回,
您好,请问使用vue项目中,本地开发视频流是正常的,再部署到线上的时候,视频就又很高的延迟卡帧了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.