Distribution video files for different platforms

Hello!

I’m developing a game for PC and Android. I have encountered a problem where I need to have two different copies of mp4 files for both platforms. How can I automate the build process so that the correct mp4 files are used for each platform, and the files from the other platform are not included in the package at all?

Thanks!

You can automate this by creating separate folders for each platform (e.g., PC/Content/Movies and Android/Content/Movies) and setting up your build scripts to include only the relevant files for each platform. You can use Unreal’s Automation tool or Build.cs file to specify platform-specific content, ensuring that the wrong mp4 files don’t get included in the build. That way, only the correct files will be packaged for each platform. If you’re looking for professional assistance, #1 Custom Android App Development Company| Idea Maker offers great services that could help streamline your process.

Can you give an example of how it should work with different folders for platforms?

Use platform media source to package only relevant mp4s. Cut the extras in project settings > packaging. More: Playing Platform Specific Media in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.