jellyfin / jellyfin-android

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
1.47k stars 244 forks source link

Jellyfin crashes trying to play FLAC 7.1 #1461

Open MarkCiliaVincenti opened 1 month ago

MarkCiliaVincenti commented 1 month ago

This issue respects the following points:

Description of the bug

I'm trying to play 2 videos which both have FLAC 7.1 audio on them but jellyfin keeps crashing trying to play the audio. With one of them, it plays for a few seconds then crashes (if you go back it stops at the same exact time), usually by reverting to the first audio in the list but sometimes it gives up after "too many errors" and throws you back to the menu. With the other movie file I have, it refuses to play anything at all.

Reproduction steps

Using the Jellyfin Android app.

What is the current bug behavior?

Movie stops playing the audio every few seconds or not at all.

What is the expected correct behavior?

Movie plays without any issues.

Jellyfin Server version

10.9.9+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.9.9

Environment

- OS:
- Linux Kernel:
- Virtualization: Docker, on a Synology
- Clients: Android
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration: None
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[2024-08-06 19:55:28.042 +00:00] [INF] [18] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.11" playing "Up". Stopped at "798344" ms
[2024-08-06 19:55:28.061 +00:00] [INF] [91] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Mark". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-08-06 19:55:28.138 +00:00] [INF] [18] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Mark". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

FFmpeg logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

Could it be fixed by https://github.com/jellyfin/jellyfin/pull/11399 ?

gnattu commented 1 month ago

From your limited log I'm afraid this is a client side issue

MarkCiliaVincenti commented 1 month ago

From your limited log I'm afraid this is a client side issue

Quite likely. I just tried one of the videos on Jellyfin Web and it worked as expected.