jellyfin / jellyfin-android

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

Playing next episode is breaking the subtitles #1209

Open kerkmann opened 1 year ago

kerkmann commented 1 year ago

Describe the bug

Description of the bug

Watching an Anime in Jellyfin is working without any problems. but when I am watching with a subtitle (for example German) it's working without any problems. Until I've watched the entire episode and click "next episode". When the next episode is starting, the same subtitle is automatically selected. But there is no subtitle in the playback of the video. If I disable the subtitle on enable it again, it's working in the playback.

Kind strange, the subtitle and movie is working without any problems, but I need to disable and enable it after each episode. The Anime doesn't matter, I have that problem with around 50~ Anime. ^^"

Steps to reproduce

  1. Start an Anime
  2. Enable a subtitle
  3. Watch the entire episode without any problems
  4. Play next episode
  5. Broken state: Subtitle is enabled but the playback is not playing the subtitle, audio and video is working.

ffmpeg meta information about the file

Input #0, matroska,webm, from 'XXXXXXXXXXXXX.mkv':
  Metadata:
    COMPATIBLE_BRANDS: iso5dashmsix
    MAJOR_BRAND     : iso5
    MINOR_VERSION   : 1
    ENCODER         : Lavf58.20.100
  Duration: 00:23:40.05, start: 0.000000, bitrate: 16233 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : #1
      HANDLER_NAME    : VideoHandler
      ENCODER         : Lavc59.37.100 libx264
      DURATION        : 00:23:40.004000000
  Stream #0:1: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : #2
      HANDLER_NAME    : VideoHandler
      ENCODER         : Lavc59.37.100 libx264
      DURATION        : 00:23:40.045000000
  Stream #0:2(ja-JP): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      title           : Japanese
      HANDLER_NAME    : SoundHandler
      DURATION        : 00:23:40.040000000
  Stream #0:3(en-US): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      title           : English (US) [Video: #2]
      HANDLER_NAME    : SoundHandler
      DURATION        : 00:23:40.040000000
  Stream #0:4(ar-SA): Subtitle: ass
    Metadata:
      title           : Arabic (Saudi Arabia)
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.500000000
  Stream #0:5(de-DE): Subtitle: ass
    Metadata:
      title           : German
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.980000000
  Stream #0:6(en-US): Subtitle: ass
    Metadata:
      title           : English (US)
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.500000000
  Stream #0:7(es-419): Subtitle: ass
    Metadata:
      title           : Spanish (Latin America)
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.980000000
  Stream #0:8(es-ES): Subtitle: ass
    Metadata:
      title           : Spanish (European)
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.980000000
  Stream #0:9(fr-FR): Subtitle: ass
    Metadata:
      title           : French
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.520000000
  Stream #0:10(hi-IN): Subtitle: ass
    Metadata:
      title           : Hindi
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.500000000
  Stream #0:11(it-IT): Subtitle: ass
    Metadata:
      title           : Italian
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.980000000
  Stream #0:12(pt-BR): Subtitle: ass
    Metadata:
      title           : Portuguese (Brazil)
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.500000000
  Stream #0:13(ru-RU): Subtitle: ass
    Metadata:
      title           : Russian
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:39.500000000
  Stream #0:14(en-US): Subtitle: ass
    Metadata:
      title           : English (US) (CC) [Video: #2]
      ENCODER         : Lavc58.35.100 ssa
      DURATION        : 00:23:40.010000000

Logs

No response

Application version

2.5.3

Where did you install the app from?

Google Play

Device information

OnePlus Nord

Android version

Lineage OS 20-20230914-NIGHTLY-avicii (Android 13)

Jellyfin server version

10.8.11

Which video player implementations does this bug apply to?

HouseIndoril commented 1 year ago

Seeing the same thing on Tizen/Samsung. Video files are mkv with EAC3 audio, subtitles are English Forced PGSSUB.

My preference is set to English. The first episode in a watch session will play everything perfect, then the next episode will autoplay, still set to English, but will display French subs until I set it to something else then back to English.

More than happy to submit a report elsewhere.

Gol-D-Ace commented 11 months ago

I can confirm this issue as well with Android Version 2.6?0 and Server 10.8.13

I'm using the web player.

Skipping manually between episodes is also causing this behavior.

kerkmann commented 10 months ago

I think the problem is not only the android app. I've seen some anime which had the same problem in browser. :(

kagurazakahope commented 9 months ago

Same issue on Windows server and Windows Firefox. Subtitle not shown when switched to next episode either automatically or manually. Going back and play again would work it around.

tueboesen commented 7 months ago

Same issue on my truenas scale server

Maxr1998 commented 7 months ago

Seems to primarily be a web issue, so unfortunately out of scope for the app to fix.

For the integrated player, this might also happen (with subtitles explicitly getting disabled), which is a separate issue and should be fixable.