GNOME Bugzilla – Bug 678148
[tsdemux] missing timestamp on DVB subtitles
Last modified: 2013-06-12 13:27:30 UTC
Code from 0.10 GIT:
Plus a patch to -ugly mpeg2dec to set its rank to NONE making -ffmpeg MPEG2
How long before they disappear seems to be "random". I got lucky and captured a test stream where it happens a minute or two into play which I can share on request (it is still quite big).
On the one hand, this could have to do with (or identical to) bug #666674 ?
On the other hand, sample is useful to have a further look ...
Looks like the problem is in tsdemux in that it can produce subtitle buffers without timestamp, and that seems due to gst_ts_demux_record_pts(), which misdetects the gaps in a subtitle stream as "reverse rollover" in the timestamp (and things go wrong from there).
Not immediately sure what to do about that, since this rollover stuff is tricky stuff, and it is not clear to begin with what is currently being done there (e.g. some rollover detection both in gst_ts_demux_record_pts() but also in mpegts_packetizer_pts_to_ts()) (see also e.g. bug #674536).
For the record this is still broken with 0.10 GIT from 08.08.2012. Version details as follows:
Tvrtko, is this still an issue with 1.x ?
Tested with file provided by Tvrtko, works fine now. Most likely due to fixes from 1/2 months ago.