- Home /
Reducing file size for mp4 to reduce build size?
So I'm happy to start using the video player - I'm making an educational video game that has approximately 30 10-30s video clips to explain different things. The problem is, these mp4's increased my Android build size by almost 100mb making the build size too big. Are there any suggestions to this? Is there a setting I'm missing to reduce video clips sizes in Unity? Is there something else I'm missing? I'm sure there's something simple - I wouldn't think such small videos would create such an increase in build size.
Answer by TanselAltinel · Oct 28, 2017 at 03:13 PM
Use Handbrake to encode your videos, depending on the source it may give 1/2 to 1/15 decreased size. My average decreased size is 1/9 i.e. source video is around 90 MB and new video is around 11 MB.
I gave this a try! And it looked really promising. This did decrease my file size (heavily) before I uploaded to Unity. However, my build size turned out to be roughly the same size. I think this is because Unity does it's own encoding.
Your answer
Follow this Question
Related Questions
Cross Platform Video Streaming? 0 Answers
Windows standalone build fails to load VideoPlayer 0 Answers
Add a video to Unity 1 Answer
playing a video - not fullscreen - Android Pro 0 Answers
What is causing Unity to crash when importing a mp4? 0 Answers