jupyter-widgets / pythreejs

A Jupyter - Three.js bridge
https://pythreejs.readthedocs.io
Other
942 stars 188 forks source link

generate video #167

Closed mzhng closed 5 years ago

mzhng commented 6 years ago

Is there a recommended way to efficiently make a video from a pythreejs animation? I'd like to set up a scene, render several frames and ideally send them to some python ffmpeg wrapper, although I don't know if this even makes sense since everything is rendered in the browser and I guess there's no direct way to make a pipe between the renderer and an ffmpeg process. Any recommendations?

vidartf commented 6 years ago

There isn't currently any official way of doing this. You might want to follow this answer though: Use a browser extension to record a video from the browser canvas. I'll leave this open for in order to mark that more "integrated" solutions should still be explored.