Re: subtitle and transport stream patches

[email protected] Sun, 12 Jul 2020 14:54:22 +1000
Newsgroups gmane.comp.video.xine.devel
Message-ID <202007120454.06C4sMjY002128.mail.zacglen.com@localhost>
>
> > This patch corrects the very poor synchronization between transport
> > streams and external subtitles. It is all very well using bit rate to
> > estimate a seek amount but it is not a good idea to feed such a coarse
> > estimate into a subtitle stream which is trying to synchronize its output
> > when there already exists a highly accurate pts.
>
>Not applied because it breaks many TV streams that jump midway through.
>This is the reason for that bitrate estimation thing.
>Made some compromise patch instead, try that one.
>

Not sure what you mean by "... jump midway though".
My patch works ok when seeking to 10%, 20%, etc positions.

Do you mean streams where PTS has discontinuities? I have never
seen an example of that.

Or maybe when PTS wraps? But that can be detected automatically.

:JW