Closed justinas closed 5 months ago
The app tries to transcode your media but it fails to play. Can you look if there are any issues with the transcode in the ffmpeg logs?
The player seems to crash before ffmpeg launches at all. There is no FFmpeg.transcode-...
log file produced. The main Jellyfin log shows the following:
Transcoding does work for this media file in general, as I am able to watch in Jellyfin-Web with subtitle burn-in.
Not eligible for DirectPlay due to unsupported subtitles
Subtitle: ass
That's why it's needing to transcode
I have the same error. To test out if it's server side I tried to open the same URL the app tried to open according to the log and it works playing. So it's not a server side issue or an issue with the media file itself. At least in my case. I tried it with multiple different files and the error is the same.
If I change the audio track I want to play in jellyfin web before playing in on the android app it plays the correct audio track but it still throws the same error. The app then tries again with different parameters but the same audio track. Then it works. The difference is that on the first try it's a hls stream while on the 2nd try it's a mkv container that is remuxed on the fly.
This is the URL that is tried first. It's a hls stream and causes the invalid zero channel mask
exception.
https://[redacted]/videos/1f474990-4253-ea58-af6f-50f44101c862/master.m3u8?DeviceId=[redacted]&MediaSourceId=1f4749904253ea58af6f50f44101c862&VideoCodec=hevc,h264,hevc&AudioCodec=ac3&AudioStreamIndex=0&VideoBitrate=15074937&AudioBitrate=384000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=[redacted]&api_key=[redacted]&SubtitleMethod=Encode&RequireAvc=false&Tag=5e716dd22b927a14892a876e6122cc9b&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=120&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-audiochannels=8&TranscodeReasons=AudioIsExternal,%20VideoProfileNotSupported'
This is the URL that is tried next and works.
https://[redacted]/videos/1f474990-4253-ea58-af6f-50f44101c862/stream?DeviceId=[redacted]&MediaSourceId=1f4749904253ea58af6f50f44101c862&AudioStreamIndex=0&PlaySessionId=[redacted]&api_key=[redacted]&SubtitleMethod=Encode&RequireAvc=false&Tag=5e716dd22b927a14892a876e6122cc9b&TranscodeReasons=AudioIsExternal,%20VideoProfileNotSupported'
Both URLs can be played flawlessly via mpv.
0.15.12
Chromcast HD
12 (Build: STTK.230808.004)
10.8.11
I am having exactly the same error on version 0.16.1. Playing the same file from the browser or from mobile client works just fine... only android TV client app is affected.
My jellyfin server version 10.8.13.
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.
Describe the bug
The error is inconsistent, e.g. sometimes the file will play at first (after maybe one error message), but when I try to change the audio track to the second one, the player crashes in the same manner.
I am able to watch this item after first changing to my preferred audio and subtitle tracks via Jellyfin Web, then restarting the AndroidTV app and playing the episode.
Logs
(logcat, since I don't seem to have any androidtv logs on my Jellyfin dashboard)
(the relevant stack trace and other messages then repeat as the playback is retried)
FFmpeg logs
No response
Media info of the file
Application version
0.16.0-beta.3
Device information
Dynalink TV Box (wade)
Android version
LineageOS 20 (https://forum.xda-developers.com/t/official-unofficial-lineageos-20-for-amlogic-gxl-gxm-g12-sm1-ne-family-devices.4534935/)
Jellyfin server version
10.8.10