Media Player: packaged project only working on packaging machine?
Seems the media player only support absolute path, cause copy the packaged project to another machine the media player won't work, only see a blank black....
How to fix this?
asked Oct 16 '14 at 09:10 AM in Bug Reports
I have solved it for me, first i converted my movies to mpeg4 (not mp4 ore wmv) then i put them in the map Movies if you dont have a videomap just make one in content. then open the level bleuprint,make a variable mediaplayer reference then compile,then in the details of the variable choos your mediaplayer asset that you made in the moviefolder,insert the variable to the event graph (Get) and then drag of from the variable and type in play then connect it to event begin play and your done it wil cook now with your game.
I hope this will help it did for me Sry for the bad english.
So I have dug deeper into this issue and have found that at this is currently not a bug. It just has not been implemented into the Engine yet. Here is a link to he forum post of where I found this information: https://forums.unrealengine.com/showthread.php?46879-Media-Framework-Documentation-for-4-5-Preview.
In the first post on this thread, in the very last section, this should clear up any issues that you may be seeing.
Thanks and have a great day!
answered Oct 17 '14 at 06:34 PM
[Epic] Gribbs ♦♦ STAFF
Did you put your media files into the /Content/Movies directory? If they're not in there, the game won't package correctly and require absolute paths. I've managed to package a game with video files without problems when the videos were contained in the correct directory! :)
answered Feb 15 '15 at 10:23 PM
I was looking into this issue not long ago for some other users as well, and created a bug report. Have a look over the post to see if there is some additional information you might be able to pull from there as well.
I have created a bug report that is related to this issue of Relative and Absolute paths in a packaged project.
Media Asset Post
We are working to have this issue resolved in upcoming versions of the Engine. We appreciate your patience with this issue as it is a fairly new feature and is still being improved.
answered Mar 05 '15 at 11:39 PM
I discovered a work around to fix the paths. Firstly make sure your video is 1280x720p mp4 video encoded with .h264. Any other format will not work properly.
Add the video to your Movies list under project settings.You will see a warning in the bottom right that says "Processing source file changes". This will import the video to the Movies folder (and create the folder for you) and you will see a Media Player file with the same name as your video inside the content browser.
Next click on the down arrow to the right of the newly added movie and choose delete - the reason for this is it will play as a startup video when you launch the game if you don't delete it.
Now open Windows Explorer and copy and paste the mp4 into your newly created Movies folder in the Content directory. Example C:\MyDocuments\Unreal Projects\YourProjectName\Content\Movies Make sure you do not rename the video otherwise the file linking won't work.
After manually copying the video into the Movies directory, you can double click on the Media Player file in the Content Browser and you should see that the file name now looks like "./Movies/NameOfYourVideo.mp4"
Your video will now show up when you build your project and will play correctly on every computer.
Follow this question
Once you sign in you will be able to subscribe for any updates here