# Major flickering issues with Video Recording

**URL:** <https://forum.babylonjs.com/t/major-flickering-issues-with-video-recording/22213>\
**Category:** Bugs\
**Created:** [July 7, 2021, 9:38am UTC](https://forum.babylonjs.com/t/major-flickering-issues-with-video-recording/22213 "2021-07-07T09:38:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrlooi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mrlooi/32/18406_2.png) [@mrlooi](https://forum.babylonjs.com/u/mrlooi)\
**Post date:** [July 7, 2021, 9:38am UTC](https://forum.babylonjs.com/t/major-flickering-issues-with-video-recording/22213/1 "2021-07-07T09:38:30Z")

</div>

Hi ya’ll 🙂

I’ve noticed major flickering issues with the .webm output of BABYLON.VideoRecorder. From when I last checked about a year and a half ago, the same flickering issues are still there for a lot of scenes.

Here is a sample PG: [https://playground.babylonjs.com/#SYQW69#888](https://playground.babylonjs.com/#SYQW69#888)

After the GLB has loaded, run the Inspector\>Capture\>Record Video option. Record for about 2-3 seconds (doesnt matter that much). Then view the .webm file. Almost all frames have degraded rendering like this

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

My guess is it’s a compression issue.  
I’ve tried changing the renderChunk size and still no luck.

---

<div class="post-metadata">

**Author:** ![mrlooi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mrlooi/32/18406_2.png) [@mrlooi](https://forum.babylonjs.com/u/mrlooi)\
**Post date:** [July 7, 2021, 11:20am UTC](https://forum.babylonjs.com/t/major-flickering-issues-with-video-recording/22213/2 "2021-07-07T11:20:33Z")

</div>

Apparently changing the mimeType to **‘video/webm;codecs=h264’** seems to make things a lot better

var recorder = new BABYLON.VideoRecorder(\_engine, { fps: 60, recordChunckSize: 3000000, mimeType: ‘video/webm;codecs=h264’ });
