I played mp4 at game and it works perfectly at Editor
but It is not played at packaged build.
I’m sure I put all movies at Content/Movies as tutorial says
Is there anything I forgot?
I use unreal 5.1
Any help will be appreciated.
I played mp4 at game and it works perfectly at Editor
but It is not played at packaged build.
I’m sure I put all movies at Content/Movies as tutorial says
Is there anything I forgot?
I use unreal 5.1
Any help will be appreciated.
Did you import them? Or just placed them into the folder?
I imported them.
How is file path is showing?
Like this: “./Movies/name.mp4”?
uasset It shows as D:/work/UnrealTestProjects/MobileTest/Content/testmovie.uasset
mp4 is not shown at contents drawer but it is at same folder.
Show me your File Media Source
Here is!
sorry for late response I was testing and building with another empty project.
Go to project settings and find “Exclude movie files when staging”. Make sure it’s set to false.
It is set to false.
Try this:
Go to project settings and find “Specific movies to Package”. Add your movie name there without extension(remove .mp4).
It’s working now at my test new project. but still not working at original project.
and both project’s android build is still not working.
but I have some progress ! thank you and please tell me any more idea!!
Never worked with android. Android needs extra configurations, you can look up there.
I’ll try! thanks again
It seems If I spawn MediaPlate at runtime. It is not working at packaged build.
Preplaced Media Plate works well. It was not packaging issue.
Not sure if you ever found a solution, but have you tried adding the directory under Packaging > Additional Non-Asset Directories to Package?
This doesn’t work:
The .mp4 file doesn’t show in the Editor, of course, because it’s not an asset. So it probably doesn’t get picked up during packaging, because it’s not an asset file. So this checkbox is useless and not functioning.
This works I guess but it’s pretty idiotic that I had to spend an hour just now to fix this. It’s unnecessary hard to work with and very surprising:
Also not even a file picker? I have to manually enter the file name? And I have to not include the .mp4 in the file path? Really?
The way it should work: either how you import textures and other assets, it just gets embedded in the .uasset file. Or at the very least during packaging it should just embed the .mp4 file into the .pak file. I shouldn’t have to tell the engine manually to package specific files when I already created like 5 different assets to play the video. Obviously, I want to use this file.
If someone else is running across the issue where the Startup video is not playing in Released Packaged version but is playing in Development package version.
In my case the name was set correctly, the file was in /content/movies/ however the Released version would not load a video with an MP4 format, once converted to Bink format it worked.
Remember that you can convert your videos into the great Bink format with tools given with the Engine, just go to your engine folder and find: \Engine\Binaries\ThirdParty\Bink\Bink2ForUnreal.exe
Hopefully this will help someone.