Video blinking when switching between videos with different ratios (Android 14 only)
@marcbaechinger is already working on this.
Since Dec 19, 2023.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.2.0
More version details
No response
Devices that reproduce the issue
Pixel 7 pro, android 14
Devices that do not reproduce the issue
Pixel 7 Pro, android 13
Reproducible in the demo app?
Not tested
Reproduction steps
- Play the video from a resource file.
- Play another video from a resource file. The second video has a different side ratio.
Expected result
The video starts playing without visual resize effects.
Actual result
On Android 14, there seems to be an issue with video blinking when switching between videos with varying aspect ratios.
https://github.com/androidx/media/assets/153927626/d9a2842f-4e2f-4e0b-807f-7be8d033ce39
It looks like the last frame of the first video was applied scale from the second video.
I've also created an example project ( https://github.com/marzic93/ExoplayerBugExample ) to reproduce this bug.
Media
https://github.com/marzic93/ExoplayerBugExample/blob/main/app/src/main/res/raw/example_1.MP4
https://github.com/marzic93/ExoplayerBugExample/blob/main/app/src/main/res/raw/example_2.mp4
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.