Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Three.js: How can I convert a Scene into an MPG4 Video?

I have a three.js scene:

var scene = new THREE.Scene();

The scene contains many objects which are animated. My goal is to export the animation as a mpg4 video.

My questions:

  1. How can I export a scene to get an mpg4 video?
  2. Should I do the export on the client side or on the server side?

Edit:

I need it to run on a website or on a Java based server. No browser extensions please.

like image 936
confile Avatar asked Oct 17 '25 17:10

confile


1 Answers

Check this github repo, I think it does exactly that: https://github.com/spite/ccapture.js/

like image 176
Tom Avatar answered Oct 20 '25 09:10

Tom