ExoMedia
ExoMedia copied to clipboard
First frame flicker when playing landscape video
- [x] I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
- ExoMedia version:
3.0.2 - Device OS version:
6.0.1 - Devide Manufacturer:
LG - Device Name:
Nexus 5
Reproduction Steps
- Play a video recorded in landscape mode when the phone is in portrait mode. (EMVideoView has default scale type, nothing unusual about how it's created)
Expected Result
The video should start playing with the correct scale without any flickering.
Actual Result
The first frame of the video fills the screen and then it adjusts the scale of the video to the default FIT_CENTER behavior, this causes an unpleasant flickering at the start of the video.
May be related to #281
@ehehhh are you still seeing this with the 3.1.1 release?
Hi, Brian. Unfortunately, I'm still seeing this issue with the newest 3.1.1 release as well. I created a small project which reproduces this issue: https://github.com/ehehhh/ExoMediaIssue326
Thanks, I'll see if I can reproduce it with your demo app; otherwise I'll have to track down a Nexus 5
I tested it on my nexus 5x, doesn't happen there. I wonder if it's related to the android version (5x has nougat, 5 has marshmallow).
Possibly. Once my QA at work gets in I'll see if he can track down a N5 for me (hopefully with 6.0.1)
@brianwernick @ehehhh having the same problem on a Nexus 4 @ 5.1, ExoMedia @ 4.0.2
Having the same problem on all Google Pixel's phone (XL and Pixel) and also few Android TV Box
if you set the useSurfaceViewBacking to false, you won't have this issue. But this cause effects like not getting high fps on streams. If i set to SurfaceView to true, then my fps is better and cleaner.