Unable to play three specific videos
@microkatz is already working on this.
Since Mar 31, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.6.0
More version details
No response
Devices that reproduce the issue
Motorola Moto E2 LTE (Android 10)
Devices that do not reproduce the issue
Pixel 4a 5G (Android 14)
Reproducible in the demo app?
Yes
Reproduction steps
Modify media.exolist.json in the demo app, and add the following section/entry:
{
"name": "Mastodon samples",
"samples": [
{
"name": "@stovis example",
"uri": "https://cdn.fosstodon.org/media_attachments/files/114/211/099/336/417/018/original/1a6da5c3bbddf138.mp4"
},
{
"name": "@pos_yo example",
"uri": "https://social.hardlimit.com/system/media_attachments/files/114/041/449/599/940/774/original/dd26357a4cc7e664.mp4"
},
{
"name": "@atareao example",
"uri": "https://files.mastodon.social/media_attachments/files/112/530/912/659/948/728/original/4dbaa200dda380f2.mp4"
}
]
},
Expected result
All of the three videos play back correctly.
Actual result
For the 1st and the 3rd one: the app shows the following message: "Playback failed" on a black screen.
For the 2nd one: "Unable to instantiate decoder (…)" on a black screen.
Duration is recognized and displayed for all of them. And also, deactivating video tracks and leaving audio alone, they play and you can hear the audio track as expected.
1-@stovis.log
2-@pos_yo.log
3-@atareao.log
I'll try to find a way to clean bugreport zip from sensitive data before I could send it off. Meanwhile, I hope this logs are useful.
Media
- https://cdn.fosstodon.org/media_attachments/files/114/211/099/336/417/018/original/1a6da5c3bbddf138.mp4
- https://social.hardlimit.com/system/media_attachments/files/114/041/449/599/940/774/original/dd26357a4cc7e664.mp4
- https://files.mastodon.social/media_attachments/files/112/530/912/659/948/728/original/4dbaa200dda380f2.mp4
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.