media
media copied to clipboard
Adding `player#setVideoEffect(emptyList())` workaround causes hevc video to be stuck
Version
Media3 1.4.0
More version details
commit hash: b01c6ffcb3fca3d038476dab5d3bc9c9f2010781
Devices that reproduce the issue
Sony BRAVIA device build-in Android 9
Devices that do not reproduce the issue
CCwGTV
Reproducible in the demo app?
Yes
Reproduction steps
This is a workaround from https://github.com/google/ExoPlayer/issues/11038
This can be reproduce on demo app.
-
Add the
lib-effect
dependency tobuild.gradle
(:demo). -
Add
player.setVideoEffects(new ArrayList<>());
toPlayerActivity#initializePlayer()
. -
Build the demo app and select any H.265 codec video to play. (Here, I selected
clear dash HD (mp4, H.265)
). -
Observe the issue.
Expected result
play correctly, each frame correct and player will stop(ended) when content finish.
Actual result
PlayerView frame display stucked, but (progress bar time /upper log rb:<value>
) keep growing.
When Play to end, the progress bar time still go over
(e.g. timer display will show 13:38-12:14
, even video only got 12m14s)
Media
demo app clear dash HD (mp4, H.265)
Bug Report
- [ ] You will email the zip file produced by
adb bugreport
to [email protected] after filing this issue.