androidx / androidx/media

HLS Video not playing on real device

Open
#2,094 2 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Feb 3, 2025.

bug needs triage
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 main branch

More version details

When try to watch video on real device with Flutter video player - getting error
android.hardware.media.omx@1.0-service: [0131/082621.473606:VERBOSE1:v4l2_video_decode_accelerator.cc(831)] AssignPictureBuffersTask(): Setting error state:2

I'm using Amino H-200 device where I'm trying to watch video with Flutter VideoPlayer plugin.

I have 2 Apps
1 - is a native one with ExoPlayerLib/2.18.4
2 - is a Flutter one with AndroidXMedia3/1.5.1

I'm trying to play same video with both apps.
Native app can play the video without any errors
Flutter app do not throw any exceptions but in logs I can see an error with v4l2_video_decode_accelerator -
Failed to provide requested picture buffers. (Got 19, requested 25)

logs_flutter_video_player.txt

logs_native_video_player.txt

Devices that reproduce the issue

Amino H-200

Devices that do not reproduce the issue

Android Emulator

Reproducible in the demo app?

Not tested

Reproduction steps

Play hls video on device.
Check logs for

v4l2_video_decode_accelerator -
Failed to provide requested picture buffers. (Got 19, requested 25)
Expected result

Video playback works without any issues

Actual result

Playback is not working

Media

logs_flutter_video_player.txt

logs_native_video_player.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.