The question is answered, right answer was accepted
Video player's black bars
Tried searching for this and couldn't find anyone with the same issue. I have a video player component playing a video clip with the white background. The render mode is set to Camera Near Plane. I want the aspect ratio to be set to Fit Vertically. This produces a black bar on the right side of the video (?!). Is there any way to change the colour of the bars that Unity uses when dealing with aspect ratio resizing? I'm using the 2019.2.8f1 version. I probably can hack smth like a white bar on top of that right side of the video, but wondering if there's a better way of doing this.
Answer by Michiyuki13 · Jun 16, 2020 at 11:57 AM
For anyone in the same boat as I was for all those days... Re-render your video in smth like 1280 x 720 pixels (my original video was of a weird size), and when you import it, change the codec to H265 (did this after reading through some Unity documentation). I'm attaching a screenshot for the settings I was using in Premier and Unity. Now, I have no idea if setting codec to this will break the video on some devices. Tested on my old Moto, and a new-ish Nokia. Other codecs were misplacing the red channel of the video.