-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video plays with a green bar below the bottom of the video #8992
Comments
I can repro this only with the ExoPlayer GL demo app on a real device (Pixel/Android 10 and Pixel 4/Android S). With emulators (Pixel XL/API 30 and Galaxy Nexus/API 30) the video is rendered correctly with the ExoPlayer GL demo app as well as with the normal demo app. Can you confirm you are seeing this on the GL demo app only? I think we need to look into this anyways and see why the ExoPlayer GL demo app does render it this way on some devices. I think @andrewlewis is the best person to check whats behind this. May I ask you to take a look? |
I can confirm this only happens in the GL demo app. We're using |
It looks like this is caused by not applying the transformation matrix from |
`SurfaceTexture` provides a transform matrix with each buffer. Previously gldemo ignored this but it is important to apply it to have the video render properly. The transformation matrix from the surface texture includes flipping so this change removes the hard-coded flipping from `a_texcoord`. Issue: #8992 #minor-release PiperOrigin-RevId: 377271389
This should be fixed by the commit referenced above. |
`SurfaceTexture` provides a transform matrix with each buffer. Previously gldemo ignored this but it is important to apply it to have the video render properly. The transformation matrix from the surface texture includes flipping so this change removes the hard-coded flipping from `a_texcoord`. Issue: #8992 #minor-release PiperOrigin-RevId: 377271389
Video URI: https://mobile-plugins-demo-files.s3.eu-central-1.amazonaws.com/mp4/pad.mp4
Expected behaviour
Video plays with no green bars shown.
For example, like this in Chrome - see Screenshot_chrome.
Actual behaviour
Video plays with a green bar below the bottom of the video.
See Screenshot_exployer_demo.
Additional info
adb bugreport:
bugreport-OnePlus6-QKQ1.190716.003-2021-05-28-19-23-01.zip
The text was updated successfully, but these errors were encountered: