Skip to content

Adding player#setVideoEffect(emptyList()) workaround causes hevc video to be stuck #1630

@how8570

Description

@how8570

Version

Media3 1.4.0

More version details

commit hash: b01c6ff

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 google/ExoPlayer#11038

This can be reproduce on demo app.

  1. Add the lib-effect dependency to build.gradle (:demo).
    image

  2. Add player.setVideoEffects(new ArrayList<>()); to PlayerActivity#initializePlayer().
    image

  3. Build the demo app and select any H.265 codec video to play.
    (Here, I selected clear dash HD (mp4, H.265)).

  4. 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)
image

Media

demo app clear dash HD (mp4, H.265)

Bug Report

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions