[mythtv-commits] Ticket #11326: During playback of glitching HD-PVR recording, srt captions sometimes reset to time=0

MythTV noreply at mythtv.org
Mon Jan 7 16:45:45 UTC 2013


#11326: During playback of glitching HD-PVR recording, srt captions sometimes reset
to time=0
----------------------------------+---------------------------
 Reporter:  mythwiki@…            |          Owner:  stichnot
     Type:  Bug Report - General  |         Status:  closed
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - Captions     |        Version:  0.25.2
 Severity:  low                   |     Resolution:  Won't Fix
 Keywords:                        |  Ticket locked:  0
----------------------------------+---------------------------
Changes (by stichnot):

 * status:  accepted => closed
 * resolution:   => Won't Fix


Comment:

 To summarize the problem: When the SRT file is timestamp-based, the
 display code uses the PTS/DTS of the video to determine which subtitles to
 display.  The HD-PVR recorder resets PTS/DTS to zero upon a device error.
 The SRT file in question is generated independently by a different
 recorder which has no idea about the device error.

 As discussed on IRC, a safer approach would be to produce an SRT file with
 frame-based timing rather than timestamp-based.  MythTV uses the Xine SRT
 parser, so any format that matches the parsing code in
 xine_demux_sputext.cpp that sets "demuxstr->uses_time=0;" should avoid the
 timestamp reset problem, though there may still appear to be small
 synchronization errors after the recorder reset.

 I'm closing this as "won't fix" as the timestamp-based code seems robust
 for SRT files generated directly against the video source.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11326#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list