androidx / androidx/media

Unplayable video: https://files.mastodon.social/media_attachments/files/110/192/048/641/538/324/original/0d4de5b98bdff352.mp4

Open
#524 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Version

Media3 1.1.0

More version details

Use v1.1.0 and the following libraries:

media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "media3" }
media3-exoplayer-dash = { module = "androidx.media3:media3-exoplayer-dash", version.ref = "media3" }
media3-exoplayer-hls = { module = "androidx.media3:media3-exoplayer-hls", version.ref = "media3" }
media3-exoplayer-rtsp = { module = "androidx.media3:media3-exoplayer-rtsp", version.ref = "media3" }
media3-datasource-okhttp = { module = "androidx.media3:media3-datasource-okhttp", version.ref = "media3" }
media3-ui = { module = "androidx.media3:media3-ui", version.ref = "media3" }

Devices that reproduce the issue

Android Emulator, sdk_gphone64_x86_64, running API 34 (Android version 14)

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Modify media.exolist.json in the demo app, and add the following section/entry:

  {
    "name": "Mastodon example",
    "samples": [
      {
        "name": "Failing bunny video",
        "uri": "https://files.mastodon.social/media_attachments/files/110/192/048/641/538/324/original/0d4de5b98bdff352.mp4"
      }
    ]
  },

Try and play the video in the demo app.

Expected result

An 8 second video of rabbits.

Actual result

There's a black screen. Tapping to show the media controls shows that the video length (8s) is correct.

Opening the URL in Chrome on the same emulator (Chrome version: 113.0.5672.136) works correctly; Chrome plays the video.

Using Chrome to download the video, and then opening the video using the "Files" app on the emulator does not work correctly; there's a blank screen and a spinning progress bar.

Media

https://files.mastodon.social/media_attachments/files/110/192/048/641/538/324/original/0d4de5b98bdff352.mp4

Bug Report
  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

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.