goldvideo / h265player

一套完整的Web版H.265播放器解决方案,非常适合学习交流和实际应用。基于JS码流解封装、WebAssembly(FFmpeg)视频解码,利用Canvas画布投影、AudioContext播放音频。
https://goldvideo.github.io/h265player/
1.53k stars 298 forks source link

有没有人遇到:1路1080p流在下载,解复用,音视频解码,播放出现卡顿 后一直卡在 loading里问题 #51

Open fzw2408 opened 3 years ago

fzw2408 commented 3 years ago

个人感觉:1080p解码耗时相对较长。解码速度跟不上canvas绘制速度,canvas消耗完数据,下载又没跟上。

yiwen03 commented 3 years ago

1080p解码速度是跟不上。可以试下开启多个进程解码。怎么设置,得查下ffmpeg

------------------ 原始邮件 ------------------ 发件人: fzw2408 <notifications@github.com> 发送时间: 2021年1月27日 21:06 收件人: goldvideo/h265player <h265player@noreply.github.com> 抄送: Subscribed <subscribed@noreply.github.com> 主题: 回复:[goldvideo/h265player] 有没有人遇到:1路1080p流在下载,解复用,音视频解码,播放出现卡顿 后一直卡在 loading里问题 (#51)

个人感觉:1080p解码耗时相对较长。解码速度跟不上canvas绘制速度,canvas消耗完数据,下载又没跟上。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

fzw2408 commented 3 years ago

@yiwen03 1080p解码速度明显跟不上,在HLS直播方案上。 跟不上m3u8 的更新速度导致 ts分片丢失。多个进程解码有没有引子文章之类的参考? image