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.
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.
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 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.
I have been having this issue for a long time. I watch a lot of foreign content, and now every time I load a foreign show I need to press skip back 10secs immediately after loading the show as I know that subs will not appear.
So I load it, press back, and voila, subs will always be there. But why on earth do we need to do this…
For awhile I thought it was an Emby problem, but have since switched to Plex and it’s the same thing.
If jumping back manually fixes it, then something could perhaps be implemented.
Anyway, I was just sharing my plex setting with the user above which does help and does not require the jumping back, nor does it require the suggestion of extracting subtitles prior to watching (which did not work for them?). Unsure if jellyfin has something similar.
Maybe if I take the ‘will not’ out of my last sentence it can make more sense to you then?
it’s a shame coreelec cannot fix this issue. Better now? It is a shame, because, it is annoying.
I’m also affected by this since upgrade to 21.2, have been ignoring if for quite a while now and just rewind every time manually but this has become really annoying.
The subtiles are never displayed unless you rewind or forward (doesn’t matter how far)
I’ve been trying to implement a plugin now that does the rewind on playback start but had no success with it yet.
Okay so I switched from onPlayBackStarted to the onAVStartedevent and now it seems to work, I played 5 movies from beginning and resumed some, subtitles are always rendering which was never the case before.
The plugin simply rewinds 1 second on playback start.