Could you test the subtitle delay issue (after pause & seeking) with following MP core.dll?
Pausing works! Seeking still causes delay.
Regards
Seidelin
Could you test the subtitle delay issue (after pause & seeking) with following MP core.dll?
Could you test the subtitle delay issue (after pause & seeking) with following MP core.dll?
Pausing works! Seeking still causes delay.
Seidelin, could you this attached TsReader.ax? I disabled some video & audio related timestamp compensation. Hopefully it helps in the seeking delay. If it helps then I have to adjust the delay inside the subtitle filter according to the video delay...
Please don't use this filter version to anything else as the change I did will most likely introduce some issues.
First post update. Version 5 available.
- Fixed pausing playback causing the subtitle timing to go off
- Fixed seeking causing the subtitle timing to go off
- Fixed channel changing was not resetting the subtitle cache on MP side (subtitles could be displayed on wrong channel)
- Adjusted the maximum subtitle timeout (now it's 5 seconds)
First post update. Version 5 available.
- Fixed pausing playback causing the subtitle timing to go off
- Fixed seeking causing the subtitle timing to go off
- Fixed channel changing was not resetting the subtitle cache on MP side (subtitles could be displayed on wrong channel)
- Adjusted the maximum subtitle timeout (now it's 5 seconds)
Multi-seat works flawlessly. Tested for many hours. Single seat shows an issue with freezing subtitle, and subtitles not showing for some time or until a seek is performed. Subtitle timing is perfect.
Looks like MP side (SubtitleRenderer.cs) is for some reason not clearing the subtitles...
2007-08-19 01:17:58.687500 [Debug][18]: SubtitleRenderer: Subtitle added, now have 2 subtitles in cache
2007-08-19 01:02:04.125000 [Debug][18]: SubtitleRenderer: Subtitle added, now have 166 subtitles in cache
Dunno why it happens. Maybe Ziphnor has some good guesses?
Looks like MP side (SubtitleRenderer.cs) is for some reason not clearing the subtitles...
2007-08-19 01:17:58.687500 [Debug][18]: SubtitleRenderer: Subtitle added, now have 2 subtitles in cache
2007-08-19 01:02:04.125000 [Debug][18]: SubtitleRenderer: Subtitle added, now have 166 subtitles in cache
Dunno why it happens. Maybe Ziphnor has some good guesses?
If the same subtitle is displayed (ie frozen) for ever the most obvious reason ( i suppose ) is confusion as to the current position in the file (or in the present time of the file subtitle, but judging from the log that looks ok ).
It might be a good idea to log player.CurrentPosition as subtitles are added to the cache to see what position the subtitle render believes is current.