# Capture scene/engine audio output via VideoRecorder?

**URL:** <https://forum.babylonjs.com/t/capture-scene-engine-audio-output-via-videorecorder/7214>\
**Category:** Questions\
**Created:** [November 26, 2019, 1:08am UTC](https://forum.babylonjs.com/t/capture-scene-engine-audio-output-via-videorecorder/7214 "2019-11-26T01:08:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thrice](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thrice/32/105_2.png) [@thrice](https://forum.babylonjs.com/u/thrice)\
**Post date:** [November 26, 2019, 1:08am UTC](https://forum.babylonjs.com/t/capture-scene-engine-audio-output-via-videorecorder/7214/1 "2019-11-26T01:08:08Z")

</div>

Does anyone know how to capture audio output from the scene, or engine, with the video recorder? I’ve tried:

[https://www.babylonjs-playground.com/#14GKUQ#1](https://www.babylonjs-playground.com/#14GKUQ%231)

But when I use that streams audio tracks, when the recording stops the file downloads as zero bytes. Anyone know the proper way to do this?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [November 26, 2019, 4:36pm UTC](https://forum.babylonjs.com/t/capture-scene-engine-audio-output-via-videorecorder/7214/2 "2019-11-26T16:36:08Z")

</div>

Pinging @sebavan who owns the videoRecorder 🙂

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [November 26, 2019, 6:14pm UTC](https://forum.babylonjs.com/t/capture-scene-engine-audio-output-via-videorecorder/7214/3 "2019-11-26T18:14:47Z")

</div>

It is because your audio node needs to be connected:  
[https://www.babylonjs-playground.com/#14GKUQ#4](https://www.babylonjs-playground.com/#14GKUQ#4)

Hope that helps.

---

<div class="post-metadata">

**Author:** ![thrice](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thrice/32/105_2.png) [@thrice](https://forum.babylonjs.com/u/thrice)\
**Post date:** [November 26, 2019, 8:53pm UTC](https://forum.babylonjs.com/t/capture-scene-engine-audio-output-via-videorecorder/7214/4 "2019-11-26T20:53:47Z")

</div>

Ahh, figured I was likely doing something stupid. Thank you @sebavan !
