decoder_wasm icon indicating copy to clipboard operation
decoder_wasm copied to clipboard

借助于WebAssembly技术,基于ffmpeg的H.265解码器。

Results 18 decoder_wasm issues
Sort by recently updated
recently updated
newest added

未重新编译和修改,就只导入文件

你好,请问后端websocket传过来的H265是一帧一帧的如何解码播放

你好,我实验的视频流是类似rtp结构的,我解码之后,先在本地查看生成的yuv图片,都是正常的,但是在使用你的播放器播放时,直到整个流解析完了之后,最后一帧才会被渲染到canvas上,开始还以为是pts设置的原因,但是直接用了你的这种方法之后发现还是不行,想请问一下是什么原因呢

![image](https://user-images.githubusercontent.com/47933003/123271788-c29c3e80-d533-11eb-8781-8554a5cbd668.png)

![微信截图_20210529014845](https://user-images.githubusercontent.com/36615477/120023257-21979200-c020-11eb-8f6a-1f62a3a9f7da.png)

您好,请教一个编译问题。我这边按照示例说明,编译了ffmpeg4.1.6版本,但总是提示。编译其他版本也是一样的,编译环境采用的是Ubuntu18.04 当载入H264或者H265后,总是出现报错,如下 libffmpeg_265.js:1 Uncaught TypeError: Cannot read property 'slice' of undefined at convertJsFunctionToWasm (libffmpeg_265.js:1) at addFunctionWasm (libffmpeg_265.js:1) at Object.addFunction (libffmpeg_265.js:1) at decode_seq (video.js:30) at handleVideoFiles (video.js:14) at HTMLInputElement.onchange (main.html:11) 音频播放无问题...

我直接用dist文件夹下的libffmpeg_264_265.js和libffmpeg_264_265.wasm是可以的,但是执行里面的相关sh脚本重新编译就失败了,请问这里所需的emscripten和FFmpeg版本分别是什么?

Uncaught TypeError: sig is undefined convertJsFunctionToWasm http://192.168.128.134:3000/dist/libffmpeg_264_265.js:1 addFunctionWasm http://192.168.128.134:3000/dist/libffmpeg_264_265.js:1 addFunction http://192.168.128.134:3000/dist/libffmpeg_264_265.js:1 decode_seq http://192.168.128.134:3000/test/video.js:27 handleVideoFiles http://192.168.128.134:3000/test/video.js:13 onchange http://192.168.128.134:3000/test/main.html:1

我看他们好像在 sh中 加入 --enable-demuxer=h264 不知道还要做什么