# Run-Time import of OGG Files? Anyone got this working?

**URL:** <https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887>\
**Category:** Audio\
**Tags:** UE4-25, unreal-engine\
**Created:** [May 11, 2021, 7:46pm UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887 "2021-05-11T19:46:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RMVR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RMVR](https://forums.unrealengine.com/u/RMVR)\
**Post date:** [May 11, 2021, 7:46pm UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887/1 "2021-05-11T19:46:51Z")

</div>

Hi All,

I am in production on 4.25 and we are want to add the option to import and play .ogg file. I have Tried at least 3 plugin option ( EMF and Ramas and a Random GitHub one ] and non of them will actually play the sound. I can access the returned object as valid, get the length in seconds but not actually play the sound.

Realtiminport and runttimeaudioimporters plugin works with .wav files (and mp3/flac) but nothing works with .ogg. The ogg file imports fine into the editor as a soundobject.

Stuck and need some help, if someone has written a plug in that works and allow to pause/ play then we are happy to buy.

Thanks

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 11, 2021, 11:23pm UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887/2 "2021-05-11T23:23:20Z")

</div>

I tried Rama’s and it worked (version 4.20):  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/6/e6868dd486a19442a93e59a1daf6131037abde63.png)

---

<div class="post-metadata">

**Author:** ![RMVR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RMVR](https://forums.unrealengine.com/u/RMVR)\
**Post date:** [May 12, 2021, 2:22pm UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887/3 "2021-05-12T14:22:03Z")

</div>

Yes Thanks it appears to not work from .23 onwards.

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 12, 2021, 10:24pm UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887/4 "2021-05-12T22:24:22Z")

</div>

Yeah, I saw that notice on the EMF plugin, and on the RuntimeAudioImporter github, ogg isn’t listed as supported. I also noticed that the editor doesn’t support ogg for import, either.

An alternative is to convert the ogg into a temporary wav file before importing it, then use RuntimeAudioImporter to import the wav file. You can either use a library directly in your project, or make an “ogg2wav.exe” program and run that from your game, then import the converted file.

---

<div class="post-metadata">

**Author:** ![usa423](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/usa423/32/918773_2.png) [@usa423](https://forums.unrealengine.com/u/usa423)\
**Post date:** [September 11, 2021, 8:33pm UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887/5 "2021-09-11T20:33:20Z")

</div>

When you say wav file importers exist that work at runtime, do you mean that in game a player walks up to something presses a button and is given a dialogue box asking where “a file” (this case a .wav) is on the device and UE4 loads it into memory and can be played?

---

<div class="post-metadata">

**Author:** ![gtreshchev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gtreshchev/32/1075419_2.png) [@gtreshchev](https://forums.unrealengine.com/u/gtreshchev)\
**Post date:** [February 23, 2022, 5:55am UTC](https://forums.unrealengine.com/t/run-time-import-of-ogg-files-anyone-got-this-working/228887/6 "2022-02-23T05:55:54Z")

</div>

Hi. RuntimeAudioImporter recently supports OGG Vorbis format: [https://www.fab.com/listings/66e0d72e-982f-4d9e-aaaf-13a1d22efad1](https://www.fab.com/listings/66e0d72e-982f-4d9e-aaaf-13a1d22efad1)
