Open 812781385 opened 4 years ago
run demo show : libffmpeg.wasm:1 Uncaught RuntimeError: function signature mismatch
有可能你的视频moov box在后面,这种视频用ffmpeg播放的话,只适合从本地播放,从网络播放的话需要提前加载moov,因为元数据都在里面。转一下就可以了 ffmpeg -i input.mp4 -movflags faststart out.mp4
ffmpeg -i input.mp4 -movflags faststart out.mp4
https://www.gitmemory.com/issue/sonysuqin/WasmVideoPlayer/43/574038095
run demo show : libffmpeg.wasm:1 Uncaught RuntimeError: function signature mismatch