goldvideo / h265player

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

Please update ffmpeg (maybe with ffmpeg.wasm) #86

Open brunoais opened 1 year ago

brunoais commented 1 year ago

I found this ffmpeg: https://github.com/ffmpegwasm/ffmpeg.wasm

It appears to be an updated version which actually works for my x265 videos.

The current one doesn't seem to like x265 10-bit image

However, when I send my .ts files to that ffmpeg implementation, the decoding is at about 7x on a i5-7300HQ.

Is there a way to update the ffmpeg in use by h265player to that ffmpeg?