jellyfin-android
jellyfin-android copied to clipboard
No video on ExoPlayer when playing xvid
Describe the bug No video (black screen with controls) on ExoPlayer when playing xvid remuxed inside mkv container, it plays only audio.
To Reproduce
- Play any xvid encoded file in mkv
Expected behavior Ability to play it.
Logs There is nothing about that in logs.
System (please complete the following information):
- App version: v2.3.0-beta.1
- Android version: Android 11
- Device manufacturer and model: Oneplus 3
- Jellyfin server version: 10,7,5
- The type of video player implementation used: native player (ExoPlayer)
Additional context It works in external player (VLC).
Xvid/avi is not supported by ExoPlayer (google/ExoPlayer#2092) so we should change the device profile to force transcode for the codec.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
The problem with this is that Xvid seems to have the same codec string as mpeg4, thus we can't filter it out from the device profile. However, there's hope we'll see support for it in ExoPlayer soon: https://github.com/google/ExoPlayer/issues/2092#issuecomment-1019295030