# Best file format for Media Framework?

**URL:** <https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [December 14, 2014, 9:30pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605 "2014-12-14T21:30:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [December 14, 2014, 9:30pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/1 "2014-12-14T21:30:23Z")

</div>

What is the best video and audio codecs for videos you want to use with Media Framework?

I know the documentation for Media Framework says the Windows plug-in currently doesn’t handle H.264 and .mp4 files really well, but its there a preferred format that works best on Windows?

Media Framework documentation is here: [Media Framework in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/latest/INT/Engine/MediaFramework/index.html)

Thanks!

---

<div class="post-metadata">

**Author:** ![Pwnguin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pwnguin](https://forums.unrealengine.com/u/Pwnguin)\
**Post date:** [June 1, 2015, 10:29am UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/2 "2015-06-01T10:29:30Z")

</div>

Hello there! the best format you can choose right now would be .wmv. in my experience ue4 can handle those videos pretty performant and i have had no issues with importing even big files.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [June 1, 2015, 1:21pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/3 "2015-06-01T13:21:22Z")

</div>

Do you have any experience with using the Media Framework on OS X? I know OS X won’t decode WMV natively, but I’m not sure what other format to use there.

---

<div class="post-metadata">

**Author:** ![Pwnguin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pwnguin](https://forums.unrealengine.com/u/Pwnguin)\
**Post date:** [June 4, 2015, 1:58pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/4 "2015-06-04T13:58:12Z")

</div>

i use UE4 just on a windows machine so i cannot tell you about mac but you can export media files as wmv out of premiere pro even on mac so id suggest to give it a try 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d693c7c31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d693c7c31](https://forums.unrealengine.com/u/anonymous_user_d693c7c31)\
**Post date:** [June 11, 2015, 8:54pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/5 "2015-06-11T20:54:35Z")

</div>

MP4 and MOV with H.264 encoding should work on Mac.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [June 12, 2015, 2:42am UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/6 "2015-06-12T02:42:36Z")

</div>

Thanks for the info.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_940e3115](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_940e3115](https://forums.unrealengine.com/u/anonymous_user_940e3115)\
**Post date:** [April 18, 2016, 6:36am UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/7 "2016-04-18T06:36:54Z")

</div>

H.264 encoding MP4

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [April 18, 2016, 2:47pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/8 "2016-04-18T14:47:19Z")

</div>

The Media Framework documentation says H.264 encoded .mp4 files have issues on Windows. I ended up using WMV files in a Windows game and they worked great. Never got a chance to test it out on OS X.

---

<div class="post-metadata">

**Author:** ![Godsanimator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Godsanimator](https://forums.unrealengine.com/u/Godsanimator)\
**Post date:** [June 8, 2016, 1:12pm UTC](https://forums.unrealengine.com/t/best-file-format-for-media-framework/301605/9 "2016-06-08T13:12:26Z")

</div>

what settings are you using for WMV encoding?
