[mythtv-commits] Ticket #113: mpeg (and other) sequence number wrap not handled

MythTV mythtv at cvs.mythtv.org
Sat Jul 16 20:37:17 EDT 2005


#113: mpeg (and other) sequence number wrap not handled
--------------------+-------------------------------------------------------
       Id:  113     |      Status:  new                                
Component:  mythtv  |    Modified:  Sun Jul 17 00:37:16 2005           
 Severity:  medium  |   Milestone:                                     
 Priority:  minor   |     Version:                                     
    Owner:  ijr     |    Reporter:  Mark Spieth <mspieth at dclabs.com.au>
--------------------+-------------------------------------------------------
 the sequence number for mpeg wraps at 33 bits which is not compensated for
 after timestamp normalization. this can cause audio and video timestamp
 mismatches and plays badly as a result. transcoding is affected too and is
 less recoverable.

 this patch was part of the generic libavformat seek support patch but
 didnt get included. I feel it is important.

 It offsets the pts for any format at file/stream open time to 0, thus
 enabling maximum uncorrupted playtime (26.5 hours for mpeg). Done this way
 it is transparent to transcode and will work for any format.

 Equivalent compensation code is already in avformatdecoder.cpp seek which
 shouldnt be there if this patch is not applied.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/113>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list