21.2: No SRT subtitles

Hi guys! I’ve upgraded to the latest stable version on my Xoro player and everything appears to be working fine except for SRT subtitles that are muxed into the MKV I’m playing back from a plugged in USB flash drive.

The same files played back with subtitles on 9.2.8 just fine. Is this a known bug?

Yes, it sometimes happens with embedded srt subs; does not happen with separate, loaded from a srt file subs. The work around I use is to skip back once or twice when video starts. In most case the srt subs then show and work OK.

1 Like

For embedded, seek is a issue. How Kodi should know some subs when they are skipped?
So you need to continue watching until new subs are demuxed from the stream.

External files are always read completely and can be synced with any seek position of the stream.

My bad English got me wrong, I use “Seek Back” (when encountering such problem) NOT “Skip Back”. Why then the subs are working, I don’t know, but they do then show…

Btw, I believe it’s a Kodi 21.x bug, not related to CE, since I found the work around on kodi.tv forum…

Gonna try if seek makes a difference, thanks. Can you also point me to the thread on the kodi.tv forums? Before posting here I’d searched for subtitles there but have not found any post so I assumed it might be a CoreELEC issue.

First hit on forum.kodi → click But, forgot that it’s also related to CE

" However, if I seek back to the beginning of the file they work fine. "

1 Like

that was my thread, from later in the thread and bringing my post over here:

At no point am I switching subs. I have them as on by default. With more use I have found that if I let videos play for a while (a few minutes) the subs do eventually appear. But interestingly the trick of seeking back works to make them load instantly. Switching subtitle tracks, as a result, can actually be a quick fix for the issue if I have a file with multiple tracks. I have found that changing subtitles has them appear fairly instantaneously so I do not believe it is an issue of caching, but I am obviously no expert here

https://paste.coreelec.org/FlightRodney - a debug log where I play an MKV with embedded SRT subtitles. I first play the file and let it run for about 35 seconds and no subtitles display. I do not change any settings or anything else during this time; I simply start the file for playback and let it play. After 35 seconds or so I seek back to the beginning of the file and subtitles suddenly appear. I then play an MKV with embedded ASS subtitles. Same circumstances, I start the file and do not change tracks, I only allow the file to play with the default subtitle track enabled. On first play the subtitle track takes roughly 2 minutes to appear. I then stop the file and restart it. No subtitles appear, but seeking back to the beginning within the first few seconds of loading the file makes the subtitles appear correctly.

all the SRT subs are embedded. as seen in the kodi forum thread their devs believe this is a coreelec issue.

I did write already that embedded subs can only be shown when Kodi did read the stream packages.
When you skip forward you also skip subs packages.

Use external do solve this issue as it’s always read completely.

Ask in Kodi forum if they go to solve it.

i am not skipping forward - when I am playing the file normally they do not load for roughly 2 minutes. however, when I skip back they will load instantly, even if I have only played the file for 1 second.

I assume the stream packages are read when the file is loaded and embedded subs have to be extracted and if so I can understand why there is a delay for subs to appear. However, where I am confused is why allowing the file to play without interruption has a relatively long delay whereas if I manually seek back it will load quite quickly, literally within 1 second.