Media player **not always** working after packaging

I’m using Unreal MediaPlayer in my project under Windows 10.

The file URL for my MediaPlayer is ./Movies/Test.mp4 with codec:

Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 2048x1024 [SAR 1:1 DAR 2:1], 5915 kb/s, 59.94 fps, 59.94 tbr, 60k tbn (default)

  1. I put the object with video material in a level.
  2. In the event BeginPlay, rewind and then play the video.
  3. In the event EndPlay, pause the video.

The results are:

  • When I preview in the Unreal Editor, it always works.
  • When I packed the game for shipping (using or not using pak files). Sometimes it works for first 1~2 time when I enter the level. Other conditions (leave and enter for more than 1~2 times or sometimes even the first time enter the level), It only show black texture.

Hey xpolife,

This was a known and reported issue, UE-28011 where Media Players would not play in Standalone or Packaged games as expected. We are still investigating this issue as more recently a user has reported a similar outcome in the 4.12.3 release as well. If you don’t mind, I would like to keep these threads/posts unified for tracking purposes.

I am going to mark this issue as closed and resolved, and we can continue our discussion on the post below.

Media Player black after Packaging

Let me know if you have further questions.

Thank you,

OK, i will subscribe that post.