# Record fmod in an video

**URL:** <https://qa.fmod.com/t/record-fmod-in-an-video/20497>\
**Category:** Unity\
**Created:** [August 3, 2023, 11:03am UTC](https://qa.fmod.com/t/record-fmod-in-an-video/20497 "2023-08-03T11:03:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [August 3, 2023, 11:41pm UTC](https://qa.fmod.com/t/record-fmod-in-an-video/20497/2 "2023-08-03T23:41:40Z")

</div>

Hi,

There’s a couple of ways of doing this depending on what exactly you need:

- [`FMOD_OUTPUTTYPE_WAVWRITER`](https://www.fmod.com/docs/2.02/api/core-api-system.html#fmod_outputtype_wavwriter) allows the FMOD System to write its mixer output to a wav file. Note that using this means that the system _will not_ output to your regular audio output device, which may make it unsuitable for your purposes.
- We have a [Unity DSP Capture scripting example](https://www.fmod.com/docs/2.02/unity/examples-dsp-capture.html) that shows how to extract the raw PCM data from a given DSP in FMOD’s signal chain, in this case the Master Channel Group. Unlike `WAVWRITER`, this can be used even while outputting to audio devices.

I would recommend giving my reply in the following thread a read, as it broadly details how to do both things, including how to write the output of the DSP capture to wav if needed: [Capturing Unity game’s FMOD output (5.1 / Busses) - #2 by Louis\_FMOD](https://qa.fmod.com/t/capturing-unity-game-s-fmod-output-5-1-busses/20485/2)

---

_[View the full topic](https://qa.fmod.com/t/record-fmod-in-an-video/20497)._
