# Media Textures won't display video in Preview 1 while using DirectX 12

**URL:** <https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980>\
**Category:** Asset Creation\
**Tags:** UE5-0\
**Created:** [March 4, 2022, 9:36am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980 "2022-03-04T09:36:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9c9b258c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9c9b258c1](https://forums.unrealengine.com/u/anonymous_user_9c9b258c1)\
**Post date:** [March 4, 2022, 9:36am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/1 "2022-03-04T09:36:46Z")

</div>

I might have encountered a bug, or I’m missing something obvious.

None of my videos will display an image in Preview 1 if I have DirectX 12 enabled. They display black in the Media Player Editor and White when assigned to a material.

Switching the project over to DirectX 11 makes them display the video correctly.  
Videos work as expected in Early Access with DirectX 12.

I’ve tried to debug this with blank projects in both Preview 1 and Early Access while following every step of this tutorial: [Play a Video File | Unreal Engine 4.27 Documentation](https://docs.unrealengine.com/4.27/en-US/WorkingWithMedia/IntegratingMedia/MediaFramework/HowTo/FileMediaSource/)

Could I be missing something, or is this a bug? Have anyone else experienced this?

---

<div class="post-metadata">

**Author:** ![Jungleboy76](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jungleboy76/32/460778_2.png) [@Jungleboy76](https://forums.unrealengine.com/u/Jungleboy76)\
**Post date:** [March 4, 2022, 10:50pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/2 "2022-03-04T22:50:59Z")

</div>

i get this error for every MP4 File:  
LogWmfMedia: Error: Tracks 00000AB558F3AA10: Format is not supported in D3D12.

The only Codec working for me are Webm but its limited to playrates 0 or 1 … i need a dynamic playrate so ive to wait for 5.0.1 or 5.1 i guess 😕

Looks like the WMF Stuff is broken in DX12 …

---

<div class="post-metadata">

**Author:** ![Silverfeyn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Silverfeyn](https://forums.unrealengine.com/u/Silverfeyn)\
**Post date:** [March 7, 2022, 9:18am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/3 "2022-03-07T09:18:34Z")

</div>

I’m getting the same error trying to play a mp4 h264 video. When I open the media player give me the error;  
LogWmfMedia: Error: Tracks 000004FB3EE48710: Format is not supported in D3D12.

---

<div class="post-metadata">

**Author:** ![Maryn800](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maryn800](https://forums.unrealengine.com/u/Maryn800)\
**Post date:** [March 29, 2022, 9:20am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/4 "2022-03-29T09:20:08Z")

</div>

The same happens to me. preview 2.

---

<div class="post-metadata">

**Author:** ![Jungleboy76](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jungleboy76/32/460778_2.png) [@Jungleboy76](https://forums.unrealengine.com/u/Jungleboy76)\
**Post date:** [April 1, 2022, 2:38pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/5 "2022-04-01T14:38:32Z")

</div>

Electra Player is working in Preview2 with MP4 but supports only playrates 0 and 1.  
No workaround to time for full dynamic playing MP4 Files like in UE4 with the WMF Plugin.

---

<div class="post-metadata">

**Author:** ![sylvqin\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sylvqin\_1](https://forums.unrealengine.com/u/sylvqin_1)\
**Post date:** [April 6, 2022, 10:57am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/6 "2022-04-06T10:57:15Z")

</div>

Same issue here. Rolling back to DX11 seems to do the trick but we want DX12 ☹  
Can’t use my webcam stream with DX12, really frustrating for a release.

---

<div class="post-metadata">

**Author:** ![imseriously1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imseriously1](https://forums.unrealengine.com/u/imseriously1)\
**Post date:** [April 7, 2022, 1:13am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/7 "2022-04-07T01:13:48Z")

</div>

This is still a problem is full release. Media Player only works with DX11. Too bad all my Nanite meshes break as soon as I switch the DefaultRHI.

---

<div class="post-metadata">

**Author:** ![Kazperstan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kazperstan/32/558316_2.png) [@Kazperstan](https://forums.unrealengine.com/u/Kazperstan)\
**Post date:** [April 7, 2022, 1:55am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/8 "2022-04-07T01:55:38Z")

</div>

Also hit this issue - Needing nanite and media player in the same project but one needs dx11 the other dx12

---

<div class="post-metadata">

**Author:** ![jwfvr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jwfvr](https://forums.unrealengine.com/u/jwfvr)\
**Post date:** [April 7, 2022, 3:14am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/9 "2022-04-07T03:14:18Z")

</div>

on official release now - if I use new image media source with a png image sequence, media player is working correctly. all other video formats are not.

---

<div class="post-metadata">

**Author:** ![sylvqin\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sylvqin\_1](https://forums.unrealengine.com/u/sylvqin_1)\
**Post date:** [April 7, 2022, 10:17am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/10 "2022-04-07T10:17:37Z")

</div>

Great to see that I’m not the only one with this issue. Vulkan is also working instead of DirectX. Please update so we can enjoy DX12 ☹

---

<div class="post-metadata">

**Author:** ![bissa5k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bissa5k](https://forums.unrealengine.com/u/bissa5k)\
**Post date:** [April 8, 2022, 4:07am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/11 "2022-04-08T04:07:50Z")

</div>

Ah, thanks for the workaround guys, at least for now until it being fixed.

---

<div class="post-metadata">

**Author:** ![sylvqin\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sylvqin\_1](https://forums.unrealengine.com/u/sylvqin_1)\
**Post date:** [April 13, 2022, 1:40pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/12 "2022-04-13T13:40:24Z")

</div>

Any update? Did anyone find a way to make it work?

---

<div class="post-metadata">

**Author:** ![Jungleboy76](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jungleboy76/32/460778_2.png) [@Jungleboy76](https://forums.unrealengine.com/u/Jungleboy76)\
**Post date:** [April 15, 2022, 7:24pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/13 "2022-04-15T19:24:54Z")

</div>

This is now an official bug:  
UE-148398 on the Issues Tracker

---

<div class="post-metadata">

**Author:** ![mxnko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mxnko](https://forums.unrealengine.com/u/mxnko)\
**Post date:** [April 16, 2022, 10:01pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/14 "2022-04-16T22:01:27Z")

</div>

Unfortunately nothing works on my end despite commentary on UE-148398.

Electra plugin, webm plugin, etc… all show:

> Format is not supported in D3D12.

Edit:  
Switching to Vulkan via Project Settings \> Platforms \> Default RHI

is a solution as @sylvqin_1 mentioned above.

---

<div class="post-metadata">

**Author:** ![Jungleboy76](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jungleboy76/32/460778_2.png) [@Jungleboy76](https://forums.unrealengine.com/u/Jungleboy76)\
**Post date:** [April 17, 2022, 12:12am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/15 "2022-04-17T00:12:38Z")

</div>

have u set the electra player as default video encoder in the media player ?

---

<div class="post-metadata">

**Author:** ![sylvqin\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sylvqin\_1](https://forums.unrealengine.com/u/sylvqin_1)\
**Post date:** [April 18, 2022, 9:34am UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/16 "2022-04-18T09:34:01Z")

</div>

I created a new project with Electra by default, and it works perfectly on DX12 if I don’t play any mp4 with Wmf before playing with Electra. Thanks so much for the workaround!

---

<div class="post-metadata">

**Author:** ![Egorrrv](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Egorrrv](https://forums.unrealengine.com/u/Egorrrv)\
**Post date:** [April 20, 2022, 2:24pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/17 "2022-04-20T14:24:55Z")

</div>

THx man. It`s alive (C)

---

<div class="post-metadata">

**Author:** ![Goldenzero123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goldenzero123](https://forums.unrealengine.com/u/Goldenzero123)\
**Post date:** [April 22, 2022, 12:05pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/18 "2022-04-22T12:05:31Z")

</div>

hi all,  
i still can’t play video capture device with DX12 even with Electra.  
any solution for this issue please?

---

<div class="post-metadata">

**Author:** ![Goldenzero123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goldenzero123](https://forums.unrealengine.com/u/Goldenzero123)\
**Post date:** [April 22, 2022, 12:31pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/19 "2022-04-22T12:31:13Z")

</div>

How to make electra a default player plz? And will the webcam/capture card work?

---

<div class="post-metadata">

**Author:** ![Jungleboy76](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jungleboy76/32/460778_2.png) [@Jungleboy76](https://forums.unrealengine.com/u/Jungleboy76)\
**Post date:** [April 22, 2022, 4:53pm UTC](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980/20 "2022-04-22T16:53:03Z")

</div>

Electra Player as default:  
media player → playback options → decoder then the codec u want.

i dont know if capture devices work … Electra Player is only an “decoder” for Movie-Files.

More infos here: [https://docs.unrealengine.com/4.27/en-US/WorkingWithMedia/IntegratingMedia/MediaFramework/TechReference/](https://docs.unrealengine.com/4.27/en-US/WorkingWithMedia/IntegratingMedia/MediaFramework/TechReference/)

[Next page](https://forums.unrealengine.com/t/media-textures-wont-display-video-in-preview-1-while-using-directx-12/503980.md?page=2)
