I’m just using the videoplayer component on a simple quad with an unlit-texture material to display the video.
On some devices the video is an unreckognisable mess of glitchy stuffinstead of the actual video.
Any idea what can cause this?
It’s my first time using the video player, so maybe there are some restrictions/guidelines I don’t know about.
The video is a small mp4 file (H.264), about 2 MB I think, and about 500x500 px in size.
I’m using Unity 2017.2
Hi, I need more information to be able to help you.
Can you give a list of devices that show this glitchy behaviour?
Can you share the video file to inspect H264 encoding information, older devices can’t handle some of the H264 encoding profiles Supported media formats | Android media | Android Developers
Please specify which release of 2017.2 you’re using.
Yes, your video file uses H264 High@L4.1 profile which is not officialy supported by Android, but still seems to work on some devices.
To make sure your video can work correctly, use H264 Baseline profile for encoding.
Ok thanks, though I can’t remember there being a setting for that (in the program I used, namely Microsoft expression encoder), but I’ll see if I can find it.
have you solve the problem?
I use VideoPlayer to play an mp4 on android, and get the error info: videoplayer cannot play clip: ******.mp4
version: unity2017.3.1
so VideoPlayer does not support platform android?