No subtitles shown

  • Hello,

    i have a MKV-File with subtitles. In my Koid 19.0 on my Windows 10 PC they were shown correctly. On my Raspberry Pi 4 with LibreELEC 10.0b2 there is nothing shown when I activate this subtitles.

    When I run the file through MediaInfo I got this:

    ID:4

    Format ASS

    Codec ID: S_TEXT/ASS

    Codec ID/Info: Advanced Sub Station Alpha

    Duration: 23 min 33 s

    Bit rate: 1 680 b/s

    Count of elements: 2752

    Compression mode: Lossless

    Stream size: 290 KiB (0 %)

    Title: Subtitles

    Language: English

    Default: No

    Forced: No

    Is this a issue of a missing font or something cause SRT-Files work all the time and the font shown on my Windows PC is not the same as in normal SRT-Files.

  • Hi,

    hijacking this thread since I have the same issue.

    Tried clean installs of 9.95.1 and 9.95.2 as well as the nightly from 17052021 - none of them display ass subtitles.

    Then did a clean install of 9.2.6 and it displayed those subs without issues.

  • Make sure subtitles are set to English at LE's region / language setup.

    Just to make sure I didnt screw anything up, I reflashed 9.26 once more onto the SD card, went through the starter settings and straight to the file manager to play the file and subs worked fine. Then did the same with 9.95.2 - settings done, straight to file manager and nothing, no subs


    What is the specific need for ASS subtitles? Probably for anime videos only..?

    Just use normal .srt subs for now. They work fine.

    Yes, subs are from an anime and yes srt subs do work, ass however do not. Thought it might be worth pointing it out...?!

  • Here it is then.

    Clean installed 9.95.2, went through settings without touching anything, except turning on SSH, and turned on debugging. Then rebooted, played the file, skipped a bit to make sure subs arent showing, stopped it and got the log through SSH: http://ix.io/3nhE

    Hope it helps

    • Official Post

    it looks like your subs are initialised fine

    Code
    2021-05-19 07:35:46.945 T:887      INFO <general>: CDVDSubtitlesLibass: Creating ASS library structure
    2021-05-19 07:35:46.946 T:887      INFO <general>: CDVDSubtitlesLibass: Initializing ASS library font settings
    2021-05-19 07:35:46.946 T:887      INFO <general>: CDVDSubtitlesLibass: Initializing ASS Renderer
    2021-05-19 07:35:46.946 T:887     DEBUG <general>: CDVDSubtitlesLibass: [ass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.7.4 (COMPLEX)
    2021-05-19 07:35:46.953 T:887     DEBUG <general>: CDVDSubtitlesLibass: [ass] Loading font file '/storage/.kodi/media/Fonts//tmp.font.Roboto-Medium.ttf'
    2021-05-19 07:35:46.956 T:887     DEBUG <general>: CDVDSubtitlesLibass: [ass] Loading font file '/storage/.kodi/media/Fonts//tmp.font.Roboto-MediumItalic.ttf'
    2021-05-19 07:35:47.098 T:887     DEBUG <general>: CDVDSubtitlesLibass: [ass] Using font provider fontconfig
    2021-05-19 07:35:47.099 T:887      INFO <general>: CDVDSubtitlesLibass: Creating new ASS track
  • But they arent displayed. I have tried several files, with different fonts and colors in the subs and different languages, it never displays ass subs. Other subs such as srt however do work :/

    • Official Post

    Yea it's not really clear what is happening as further down the log I see this

    Code
    2021-05-19 07:35:52.838 T:794     DEBUG <general>: ------ Window Init (DialogSettings.xml) ------
    2021-05-19 07:35:52.838 T:794      INFO <general>: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
    2021-05-19 07:35:52.876 T:794     DEBUG <CSettingsManager>: requested setting (subtitles.enable) was not found.
    2021-05-19 07:35:52.876 T:794     DEBUG <CSettingsManager>: requested setting (subtitles.delay) was not found.
    2021-05-19 07:35:52.876 T:794     DEBUG <CSettingsManager>: requested setting (subtitles.stream) was not found.
    2021-05-19 07:35:52.876 T:794     DEBUG <CSettingsManager>: requested setting (subtitles.browser) was not found.
    2021-05-19 07:35:52.876 T:794     DEBUG <CSettingsManager>: requested setting (subtitles.search) was not found.
    2021-05-19 07:35:52.876 T:794     DEBUG <CSettingsManager>: requested setting (audio.makedefault) was not found.
  • So I was playing around a bit, setting up USB boot instead of SD card, and tried 9.95.4 hoping there might have been changes to the subs.

    I tried another video this time, which has a huge amount of subs covering basically all the screen and at one point I noticed I saw a bit of the subs. I then set the positions of the subtitles in the settings to "above video" and I can see part of the subtitles on the right center side of the screen. It appears he renders the ass subtitles perfectly fine, just completely elsewhere position wise. Hope it helps

  • Same issue as described by hirsebrei here. Did anybody find a solution for this? I am not experiencing the issue with kodi on Android and Ubuntu - so it is certainly related to the libreelec configuration.

  • Unfortunately, enabling "Adjust refresh rate" does not help with subtitle missing on some TV channels as reported here:

    ghtester
    April 26, 2021 at 9:25 AM
  • Just for reference: I am running 9.97.1 RPi4.arm. Adjust refresh rate die not work for me either. Like described above i can see a part of the subs when setting "subtitle position on screen" to "above video". The subs then appear mid-right screen but only first view words of the line are visible...

    EDIT: Disabling PRIME rendering does fix the issue -independent of the setting of "adjust refresh rate". Thanks for pointing to the thread!

    Edited once, last by Ahab (August 29, 2021 at 8:00 PM).