three-platformize icon indicating copy to clipboard operation
three-platformize copied to clipboard

使用 VideoTexture 有例子吗

Open zongcong opened this issue 3 years ago • 4 comments

zongcong avatar Jul 26 '22 08:07 zongcong

同问,有哪些方案可以渲染视频

632366134 avatar Aug 24 '22 09:08 632366134

我晚点补一个吧

deepkolos avatar Sep 06 '22 06:09 deepkolos

我晚点补一个吧

大佬可以大概说以下方案吗,drawImage然后getImageData加到THREE.DataTexture可行吗 还是Texture或者CanvasTexture

632366134 avatar Jan 13 '23 07:01 632366134

我晚点补一个吧

今天用wx.VideoDecoder,createImageData,putImageData,toDataURL,textureloader,写在requestAnimationFrame,虽然实现功能,但是视频稍大就会非常的卡帧,10M左右就容易内存不足闪退

632366134 avatar Jan 14 '23 06:01 632366134