# Play sound of a video in FMOD

**URL:** <https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407>\
**Category:** Unreal Engine\
**Created:** [January 24, 2020, 11:11am UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407 "2020-01-24T11:11:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jojojo](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jojojo](https://qa.fmod.com/u/jojojo)\
**Post date:** [January 24, 2020, 11:11am UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407/1 "2020-01-24T11:11:45Z")

</div>

Hi, we need to play (or even stream, for example from youtube) videos inside our UE4 game. These videos have sound, is there a way to separate that sound and play it through FMOD?  
Alternatively, is there a way to route a sound from UE4 into FMOD?

If not, then my only two options are: Playing the sound of the video as an individual track inside FMOD and trying to sync it to the video. Or we use for the videos the UE4 audio-engine.  
The first option seems complicated, especially for streamed videos. And the second option is bad because then we have to use two audio-engines at the same time.

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [January 29, 2020, 11:18pm UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407/2 "2020-01-29T23:18:33Z")

</div>

FMOD Studio does not specifically support streaming YouTube audio, and the [YouTube’s API Services Terms of Service](https://developers.google.com/youtube/terms/developer-policies#i.-additional-prohibitions) explicitly forbids isolating and modifying the audio component of their videos.

If you were to use a service other than YouTube, it might be possible. If you were to somehow capture the video’s output and convert it to a native http, shoutcast, or icecast stream, you’d be able to play that stream through the FMOD Engine as described in the [Internet Streaming](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-guide.html#internet-streaming) section of the [Core API Guide](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-guide.html) chapter of the [FMOD API User Manual](https://www.fmod.com/resources/documentation-api?version=2.0&page=welcome.html).

---

<div class="post-metadata">

**Author:** ![jojojo](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jojojo](https://qa.fmod.com/u/jojojo)\
**Post date:** [February 5, 2020, 8:43pm UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407/3 "2020-02-05T20:43:58Z")

</div>

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![jblaswu](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jblaswu/32/1117_2.png) [@jblaswu](https://qa.fmod.com/u/jblaswu)\
**Post date:** [February 9, 2022, 2:33pm UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407/4 "2022-02-09T14:33:00Z")

</div>

What about the other part of the question, how do we redirect the audio of a Media player throu FMOD? the current method (as explained here [How To Display A Video In A Widget | With Audio - Unreal Engine 4 Tutorial - YouTube](https://www.youtube.com/watch?v=qhiSl8i4jbQ&t=129s&ab_channel=MattAspland) ) requiers the UE native system to work

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [February 9, 2022, 10:46pm UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407/5 "2022-02-09T22:46:42Z")

</div>

> [@jblaswu](#):
>
> What about the other part of the question, how do we redirect the audio of a Media player throu FMOD?

As I said in my earlier answer, if you were to somehow capture the video’s output and convert it to a native http, shoutcast, or icecast stream, you’d be able to play that stream through the FMOD Engine as described in the [Internet Streaming](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-guide.html#internet-streaming) section of the [Core API Guide](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-guide.html) chapter of the [FMOD API User Manual](https://www.fmod.com/resources/documentation-api?version=2.0&page=welcome.html).

If you are not able to convert the video’s audio output to a format that FMOD can use, FMOD will not be able to play it.

---

<div class="post-metadata">

**Author:** ![jblaswu](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jblaswu/32/1117_2.png) [@jblaswu](https://qa.fmod.com/u/jblaswu)\
**Post date:** [February 10, 2022, 4:44am UTC](https://qa.fmod.com/t/play-sound-of-a-video-in-fmod/15407/6 "2022-02-10T04:44:40Z")

</div>

I think this question is a little different from our case so i have opened a new topic explaining myself better ( [UE Media Player sound](https://qa.fmod.com/t/ue-media-player-sound/18340) )
