How to export scene to make a video file?

I have an animation that I play back in threeJS that I would like to export to a video file to share with people on youTube. How can I create a video file from an scene animation?

Related discussion at stackoverflow:

It seems there is no “easy” way to do this. But running the animation client-side, saving the contents of the canvas per frame and then sending these data to a sever via WebSockets seems the most promising solution. The server can then encode the video with the collected data.

Related:

1 Like