Description

In UE4 (using DX11), WmfMedia was able to play .mp4 files by default. However, WmfMedia doesn't support playing .mp4s in DX12, which is what is used in UE5. Electra can handle playing .mp4s in UE5, but it's not a plugin that's enabled by default.

All of the above means that, if someone creates a new project and attempts to play an .mp4 without first enabling Electra, it'll error out and prevent playback.

Steps to Reproduce
  1. Create a new UE5 project.
  2. Create a File Media Source and associate it with an .mp4 file.
  3. Create a Media Player and open it.
  4. Double-click the File Media Source created in step 2.

Results:

The media player remains black; an error from WmfMedia indicates "Format is not supported in D3D12."

Expected Results:

The .mp4 should begin playing in the media player.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-148398 in the post.

29
Login to Vote

Fixed
ComponentMedia Framework
Affects Versions5.0
Target Fix5.1
Fix Commit20250882
Main Commit20250882
CreatedApr 6, 2022
ResolvedMay 17, 2022
UpdatedMay 19, 2022