Use media3.Exoplayer2 SDK Playing VP8 encoded webm format video, on Android 13, the video screen is unclear and appears blurred
@tianyif is already working on this.
Since Jan 9, 2024.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.2.0
More version details
Playing VP8 encoded webm format video, on Android 13, the video screen is unclear and appears blurred
Dependent on the following:
// exo video player
implementation "androidx.media3:media3-exoplayer:1.2.0"
implementation "androidx.media3:media3-exoplayer-dash:1.2.0"
implementation "androidx.media3:media3-exoplayer-hls:1.2.0"
implementation "androidx.media3:media3-ui:1.2.0"
The code is as follows:
UrlIDs is a collection of raw resource IDs
val mediaList = mutableListOf<MediaItem>()
urlIDs.forEach { id ->
mediaList.add(MediaItem.fromUri(Uri.parse("rawresource:///$id")))
}
viewVideo.player = player
player.repeatMode = if(urlIDs.size == 1) Player.REPEAT_MODE_ONE else Player.REPEAT_MODE_ALL
player.volume = 0F
player.playWhenReady = true
player.addAnalyticsListener(EventLogger())
player.setMediaItems(mediaList)
player.prepare()
Devices that reproduce the issue
Android13
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
play VP8 webm Video by use media3.exoplayer
Expected result
Normal video playback
Actual result
Use media3.Exoplayer2 SDK Playing VP8 encoded webm format video, on Android 13, the video screen is unclear and appears blurred
Media
VP8 webm Video
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.