How to save video using three.js

Hello. I wonder how to save the screen to a local video file?

use screen recorder to capture threejs animation into video file.

Duplicate:

HTMLMediaElement.captureStream()

To capture canvas

navigator.mediaDevices.getUserMedia()

To capture window and ( tab Chrome only )
You can see GUI recording itself.

new MediaRecorder()

To bring everything together.

You can also take a still picture.

Show me

No lib or extension were used, just pure Mocha.

1 Like