• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Playback issues with media containing a single PGSSUB track

     
    • 0 Vote(s) - 0 Average

    Playback issues with media containing a single PGSSUB track

    Kernal 64
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #1
    2026-02-19, 02:46 AM
    I've come across an issue that I haven't been able to find mentioned either on these forums or on the web in general. I'm running version 10.11.6 of the server and version 0.19.7 of the Android TV client software. As of maybe 2-3 versions of the server software ago (sorry, I didn't note exactly when this started happening), I've found that the Android TV Jellyfin client app has some problems playing back certain files. When you start playback, the client sits on a black screen for a little over a minute. The player UI usually goes away after a few seconds, but if you press a button to bring it up, nothing looks out of the ordinary. After a minute passes, the playback bar seems to suddenly fill up to about 99% (it goes from a faded white to a bright white) and the progress indicator starts moving forward. There's still no video or audio, but if you skip ahead any length of time, everything starts playing normally. You can then rewind back to the beginning of the video and it'll play fine. From this point, everything behaves normally, but if you stop the video, you'll have to go through all this again when you start it up again. After some testing, I realized that the only files this seems to happen with are videos that have PGSSUB formatted subtitles. However, if there's a 2nd subtitle track of any format, including another PGSSUB, it'll play back fine. The videos are direct playing, so there's no transcode log. The standard log doesn't show anything out of the ordinary. These same files play back normally in VLC and MPV on my PC and when I use the Jellyfin web interface across my network. This only occurs with the Android TV app.

    I thought that if the PGSSUB extraction process was getting hung up, I'd grab the plugin that lets you extract the subs ahead of time. 3 days and 119 GBs of space later, the issue reamained.

    Since this only seems to happen with files that have a single PGSSUB track, I used the option to only allow text based subs in the library management screen and rescanned the library, but this had no effect. The PGSSUB formatted subs can still be selected and the problem remains.

    I noticed that if you have the dashboard open when trying to play back one of these files, you can see the file in question's playback display update every 2 seconds instead of every second like it normally does. After ~1 minute, it'll reset back to zero and start updating once a second like it normally does. This is the moment when the progress bar in the Android TV app fills to ~99% and you can skip ahead to see and hear the video properly.

    I've also found a work around: force transcoding. These files are all direct playing for me on my nVidia Shield Pro, but if I use the player UI and set it to a bitrate lower than the file to force it to transcode, the file will play back right away with no issues. Forcing the transcode of course generates a transcoding log, but it looks normal, which makes sense since the file plays normally when forcing it to transcode.

    I'm at a loss. I can't figure out why this is happening or how to fix it without having to transcode the affected files. Any help would be greatly appreciated! I'm happy to provide any additional info needed.
    Kernal 64
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #2
    2026-03-04, 12:37 PM
    Sorry for bumping this 2 week old post, but is there really no one that can help? This is a fairly recent issue that wasn't happening before and it's affecting a decent chunk of my library. I'm willing to provide any additional info or try any recommended troubleshooting steps. I don't know where else to go for help.
    Rastin
    Offline

    Member

    Posts: 98
    Threads: 1
    Joined: 2026 Jan
    Reputation: 5
    #3
    2026-03-04, 02:42 PM
    Since you gotten no response from anyone i ran you question through Chat gpt since i don't know the answer and here what it gave me below.


    Thanks for the detailed write-up — that’s actually very helpful. Based on what you’ve described, this strongly points to an Android TV client + ExoPlayer edge case with single PGS subtitle tracks during direct play, not a server-side extraction or indexing issue.

    You’ve already ruled out the important things:

    ✅ Not a corrupt file (plays fine in VLC/MPV/Web)

    ✅ Not a general PGS issue (works if there are 2 subtitle tracks)

    ✅ Not a server extraction issue (pre-extracted subs didn’t help)

    ✅ Not a transcoding issue (forcing transcode works instantly)

    ✅ Not a network issue

    ✅ Reproducible only on Android TV client

    That narrows this down significantly.

    What’s Likely Happening

    On Android TV, Jellyfin for Android TV uses ExoPlayer. When direct playing MKVs with a single PGS stream, ExoPlayer appears to stall during subtitle stream initialization.

    Your symptoms match a stream probing delay:

    Playback timer updates every 2 seconds (buffering state)

    ~60 seconds later it “resets”

    Playback bar jumps to ~99%

    Skipping forces decoder reinitialization

    Then playback works normally

    The fact that adding a second subtitle track fixes it is the biggest clue. That suggests the track selection logic behaves differently when multiple subtitle streams exist.

    This is almost certainly client-side.

    Why Transcoding Fixes It

    When you force transcoding:

    Server remuxes/re-encodes video

    Subtitle stream gets converted (usually to text or burned-in)

    ExoPlayer no longer needs to directly initialize the PGS stream

    So the problematic initialization path never occurs.

    Why Pre-Extraction Didn’t Help

    The subtitle extraction plugin just extracts PGS as PGS. It doesn’t convert it to text. So the Android client still receives a PGS stream — same problem path.

    Why “Text-Only Subtitles” Setting Didn’t Work

    That library option prevents selection preference — it does not:

    Remove the PGS stream from the container

    Prevent the client from seeing it

    Stop ExoPlayer from probing it

    So the client still initializes the PGS track.

    Practical Fixes (Ranked by Cleanliness)
    ✅ Best Fix: Convert PGS → SRT

    Use something like:

    Subtitle Edit (OCR)

    bazarr auto-OCR

    ffmpeg + OCR workflow

    Convert the single PGS track into SRT and either:

    Replace it in the MKV

    Or add the SRT alongside the file

    Once there’s a text-based subtitle available, Android TV will prefer that and skip the PGS initialization path.

    This is the cleanest permanent fix.

    ✅ Very Low-Effort Workaround: Add a Dummy Subtitle Track

    Since you’ve proven that two subtitle tracks fixes it, you can:

    Add an empty SRT track to affected files.

    Example with mkvmerge:

    mkvmerge -o output.mkv input.mkv empty.srt

    Even an empty file works. This avoids OCR.

    Crude, but effective.

    ⚠️ Less Ideal: Disable Direct Play on Android TV

    In the Android TV app settings:

    Set a max bitrate lower than your files

    Or disable direct play

    This forces transcoding for everything.

    Downside: unnecessary server load.

    Why This Probably Started 2–3 Server Versions Ago

    It likely correlates with:

    Track probing changes

    Subtitle stream metadata handling

    Container remuxing logic

    But since it only happens on Android TV and not web, the bug is almost certainly in:

    Android TV client

    Or ExoPlayer interaction with Jellyfin streams

    Recommended Next Step

    I would strongly recommend filing this as a bug on:

    Jellyfin GitHub

    Specifically under Android TV client

    Include:

    Version numbers (server + client)

    MKV with single PGS track

    Confirmation that adding second subtitle fixes it

    Dashboard timing behavior (2-second → 1-second update switch)

    That reproduction detail is gold for developers.

    Summary

    This is almost certainly:

    Android TV direct play + single PGS subtitle initialization bug

    Not:

    Corruption

    Extraction

    Server failure

    Network problem
    Kernal 64
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #4
    2026-03-09, 12:38 AM
    (2026-03-04, 02:42 PM)Rastin Wrote: Since you gotten no response from anyone i ran you question through Chat gpt since i don't know the answer and here what it gave me below.
    ...


    Thanks, I appreciate you taking the time to look it over. I'll give the steps listed a try and see if it helps. I'd hoped for a cleaner fix, but if it works, it works. Assuming OCRing the PGSSUB and adding it in as a text sub works, I'll have to modify my workflow to check for that for anything that has PGSSUBs only, but that shouldn't be too big a deal. Thanks again!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode