As far as I know this is the only implementation in Babylon JS
I’ve tried to solve this issue with 2 approaches:
- with an array of webp images and later combining with Whammy. It doesn’t work, maybe because the resolution and quantity of frames
- By using mediaRecorder.ondataavailable and rendering the frames one by one, not in a loop. The method stopped firing the event while testing the code and I’m not sure why.
The final solution is to get the video in the client, I would not like to use a server for this.
By the way, the application I’m working at will capture multiple pictures of a scene in different angles/positions, and I want the video to compress and keep them all in the same file. Later my application will navigate through the frames.
Thanks