Scene movie capture

Hi.

Is there a simple implementation to capture a movie clip of the app.
For sharing, I would like to implement some simple capture functionality like a screenshot function but for a movie clip at a defined lenght. (5 or 10 secs ..)

Best.
Werner

hi, maybe this : https://doc.babylonjs.com/features/featuresDeepDive/scene/renderToVideo/

looks like, will tryout.

Thx!

when was that written?

Best. Werner

Limitations

Video Recording is based on both MediaRecorder and Canvas.captureStream() APIs which are still not broadly supported. The recording support is then limited by the browser capability to record a canvas.

The second limitations is the file format you can record to seems to be currently limited to webm. You can not directly record to .mp4 or .mov with this method so far.

Let’s hope that wider browser and file format support will be added soon.