Hi!
After i upgraded my vdr to 1.7.27 and fetched latest sources for plugins, i got serious subtitle timing issues. When viewing live tv the delay needed was about 2500ms and with recordings delay was almost 9000ms.
I have no idea what causes that difference. Previously subtitles have been pretty well synced in both live and recordings.
Attached patch removes PES and TS delay settings and uses PTS to sync subtitles. It works pretty well with my system using xinelibouput + vdpau.
Patch has two side effects: 1. when replay of recording is started it sometimes takes 5 to 10 seconds until first subtitles appear. This is caused by wrong (live) PTS values got from xineliboutput since actual replaying hasn't started yet when first subtitles are parsed from stream.
2. when stopping replaying vdr is sometimes unresponsive for a few seconds if the needed delays are large like in my system. I think the delay sleep in cTtxtSubsDisplay::TtxtData() needs some tweaking to get rid of this side effect.
Regards, Matti
On 06.05.2012 19:28, Matti Horila wrote:
Attached patch removes PES and TS delay settings and uses PTS to sync subtitles.
Thanks!
I'll take a closer look at this:
Added it here:
http://projects.vdr-developer.org/issues/119
Tobias