# BabyRecorder - Capture Babylon.js scenes to MP4 and other video formats

**URL:** <https://forum.babylonjs.com/t/babyrecorder-capture-babylon-js-scenes-to-mp4-and-other-video-formats/62745>\
**Category:** Demos and projects\
**Created:** [March 11, 2026, 1:43am UTC](https://forum.babylonjs.com/t/babyrecorder-capture-babylon-js-scenes-to-mp4-and-other-video-formats/62745 "2026-03-11T01:43:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [March 11, 2026, 1:43am UTC](https://forum.babylonjs.com/t/babyrecorder-capture-babylon-js-scenes-to-mp4-and-other-video-formats/62745/1 "2026-03-11T01:43:59Z")

</div>

Hello friends,

Meet BabyRecorder for recording Babylon.js scenes directly to video in the browser. It supports MP4, WebM, MKV, and MOV, includes realtime capture plus offline export modes, and can record scene audio with optional microphone input. There’s also built-in preview, download, bitrate/FPS controls, and basic recording diagnostics.

> **[BabyRecorder](https://recorder.babylonpress.org/)**

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/9/d9994843d10e21b211543a6ad63039f17ee16c7c.jpeg)

BabyRecorder is browser-native. It doesn’t need:

❌ A video encoding server  
❌ FFmpeg installations  
❌ File uploads  
❌ Cloud processing  
❌ External encoding services

Everything happens locally, privately, and instantly.

Your Babylon.js scenes. Your browser. Your computer. No servers involved.  
Pure browser-based recording.  
BabyRecorder – your Babylon.js scenes deserve to be seen.

* * *

Actually this is just a MVP, there is only one scene to test in demo with the most of useful settings exposed.  
Now I can see several roads (without maps yet):

1. Create the Inspector Custom Extension with npm package
2. Create a minimal npm package (just for default mp4 recording)
3. Move further with BabyRecorder functions, adding camera animations and video processing to make it full-featured video editor for Babylon.js scenes.

Your ideas?

---

<div class="post-metadata">

**Author:** ![kzhsw](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Post date:** [March 11, 2026, 3:45am UTC](https://forum.babylonjs.com/t/babyrecorder-capture-babylon-js-scenes-to-mp4-and-other-video-formats/62745/2 "2026-03-11T03:45:33Z")

</div>

Modern chromium has a native api for that:

> **[The Element Capture API - Using the Element Capture and Region Capture APIs -...](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Element_Region_Capture#the_element_capture_api)**
>
> The Element Capture API restricts the captured region to a specified rendered DOM tree (a selected element and its descendants). In this section we will explore a second demo that is identical to the one presented above, except that it uses Element...

But limited to [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Secure_Contexts).

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [March 11, 2026, 1:48pm UTC](https://forum.babylonjs.com/t/babyrecorder-capture-babylon-js-scenes-to-mp4-and-other-video-formats/62745/3 "2026-03-11T13:48:49Z")

</div>

I believe BabyRecorder relates more to WebCodecs API 🙂

> **[WebCodecs API - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API)**
>
> The WebCodecs API gives web developers low-level access to the individual frames of a video stream and chunks of audio.
> It is useful for web applications that require full control over the way media is processed.
> For example, video or audio editors,...
