-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtitle drift #148
Comments
I've also noticed this, and sometimes you can select a different subtitle track (the one embedded in the stream I guess) that works fine. I haven't looked into this, maybe all streams have embedded subs now so we don't need to modify the external webvtt anymore. Seeking 5 seconds backwards also sometimes solves it (what makes me think it'd an issue in Kodi or Inputstream who reports wrong timings) |
Recalculation of the subtitle timings is okay I think, but there is an issue with seeking: xbmc/inputstream.adaptive#324 There is also an embedded subtitle available, but last time I checked the complete subtitle is embedded in the first period. (peak3d confirmed this: https:/michaelarnauts/plugin.video.vtm.go/issues/51#issuecomment-534874758) This is problematic when playing multiple consecutive periods. I'm not sure if the embedded subtitle complies to MPEG DASH standards, this needs to be investigated and depending on the outcome, this must be fixed by VTM or in InputStream Adaptive |
I've seen the last few episodes of The Voice Kids, and after an advertisement, the timing was off, when I selected the 2nd subtitle stream, it was right. I assume the first one was the recalculated, and the 2nd was the embedded stream. |
Aha, then it's quite possible that VTM has changed the embedded subtitle streams the past months, I didn't check this yet. Maybe the current implementation with external subtitles is no longer needed. |
I've did some quick testing, and there are some programs with a correct Dutch subtitle track in the stream, but also some where I notice that only the first segment has subtitles. Seems correct:
Seems to have no subtitles in other segments:
|
I can confirm this. So at least there is an easy workaround for now. |
I've found this commit in the retrospect code that indicates that activating subtitles trough @basrieter could you elaborate on this, could this be related to this issue? |
Indeed, I had similar issues with the combination of InputStream Adaptive and the |
Okay, now that I setup a player and wait for it to start, I could also do this after the player has started and then add the subtitle quite easily. @dagwieers Does VRT NU also use inputstream, because I think you also set it on the ListItem there? |
#154 does this change, but I haven't got around to test this. |
I don't think I have seen subtitle drift for VRT NU. But we don't have periods (which seems to affect this drift). There is an expected delay for live events (like soccer games), but that is not drift. |
This PR can be tested by installing this zip: plugin.video.vtm.go-1.0.0-148-delay-adding-subtitles-fd70581.zip |
This has been merged, but I don't see any differences with the changes proposed by @basrieter I think I prefer to set the subtitles on the ListItem then, but we still need the Player to wait to enable the subtitles. |
I almost never watch VTM go with subs, but for The Team I needed them (German & Dannish), and after some time the subs completely disapeared. After stopping and resuming the episode everything was back ok. We switched over to the vtm go app + Chromecast, but here I also noticed that the subs aren't completely in sync all the time. |
I noticed today that the advertisements are also subtitled. I'm thinking to fix this issue by only using the external subtitle if explicitly enabled. But even with the calculations we make, it should still work, so I don't know why that the calculated subtitles are out of sync. |
@wardwygaerts It would help if you specified in which episode and at what timecode the problem occurred. |
I only watched the two first eps of S2 via the addon (the other ones via app & chromecast). I tried to find where it happened, but when skipping through the episode, I can't reproduce the issue. |
The issue with disappearing subtitles is fixed in xbmc/inputstream.adaptive#456 The subtitle drift issue is not fixed yet, but only occurs with external subtitles. |
I've also noticed the subtitles disappear, usually after some commercials. Stop+restart the episode works for a minute (or less) but then they disappear again. I have this issue with Kodi Matrix (Alpha 1) on AndroidTV. |
Hi Werner, I confirm the same annoying behavior of loosing the subtitles. Hoping for an update soon. @Developers : many thanks for spoiling the Flemish tv watcher with these add-ons ! |
I've noticed when watching snackmasters, that the subtitles don't match at all. I haven't looked at this in detail yet. |
Not sure if it's the same/related and if not I'll open a new issue but I notice that when I watch a show and I enable the embedded stream, then a commercial comes on, I need to re-select a different stream. |
I think this is a bug. We have code that makes sure a subtitle is selected when the playback starts. It is probably executed also after an advertisement and selecting the external subtitle stream. Feel free to open a new bug for this. (@dirkronsmans I think we went to the same school, at least, I remember your name :) ) |
Please specify which InputStream Adaptive version you are using. You definitely need the latest version which contains a couple of fixes! We need a new issue for this, because a lot has changed since @dagwieers opened this issue. |
Hi @mediaminister that would be v 2.4.6.1 (from the CoreElec repo) going by the peak3d repo I'm way behind. edit: nvm. 2.4.6.1 seems to be the latest for Kodi Leia (running 18.9 atm) and yes @michaelarnauts!, same school even did our internship together :) I was happy to see you developing this! |
Yes, 2.4.6.1 is the latest version for Leia. On which program are you experiencing this subtitle problem? |
@mediaminister it might have been related to #248 |
Describe the bug
I have seen this almost every time, the subtitles drift over time and appear later than expected.
It feels related to the ads/periods as if the recalculation was not performed exactly correct.
System
The text was updated successfully, but these errors were encountered: