The media framework as of 4.12.4 seems to be completely broken when packaging builds.
Repro project: http://www.filedropper.com/brokenmovieplayback
Repro steps:
- Download project
- Open the project file
- EDIT: apparently changes to scene didn’t get saved before upload - drag two instances of Content/Cube_Blueprint into the map and set the Default/Mp property to be the two media player assets in the project.
- Press play and observe that videos play in editor
- Package Project (for Windows 64 bit or 32 bit - both seem equally broken)
- Run the packaged exe
- Observe that videos do not play
Codecs I’ve tried:
- H.264 with .mp4 wrapper (h.264 known to have issues, although it works fine in editor)
- MPEG4 with .3gp wrapper (MPEG4 is recommended encoding)
- Windows Media with WMV wrapper
All of the above play fine in Win10’s video player as well as the UE4 editor.
File paths I’ve tried:
- Relative path to video in Content/Movies (this is the path generated when you press the file selection button in the details pane)
- Absolute path to video in Project/Content/Movies (this is the path generated when you drag-and-drop the video file into Unreal)
- Absolute path to packaged video (this is where UE4 copies the movie when packaging)
All of these work in-editor, none in build.