Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 VideoTexture 有例子吗 #35

Open
zongcong opened this issue Jul 26, 2022 · 4 comments
Open

使用 VideoTexture 有例子吗 #35

zongcong opened this issue Jul 26, 2022 · 4 comments

Comments

@zongcong
Copy link

No description provided.

@632366134
Copy link

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

@deepkolos
Copy link
Owner

我晚点补一个吧

@632366134
Copy link

我晚点补一个吧

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

@632366134
Copy link

我晚点补一个吧

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants