
taylor.ralph at gmail
Mar 9, 2010, 8:23 PM
Post #9 of 12
(2110 views)
Permalink
|
On Tue, Mar 9, 2010 at 11:22 PM, Taylor Ralph <taylor.ralph [at] gmail> wrote: > On Tue, Mar 9, 2010 at 6:21 PM, Jim Stichnoth <stichnot [at] gmail> wrote: >> On Tue, Mar 9, 2010 at 1:53 PM, Michael T. Dean <mtdean [at] thirdcontact> wrote: >>> On 03/09/2010 02:24 AM, Jim Stichnoth wrote: >>>> Any thoughts/comments on this? >>>> >>> >>> Related/similar to http://svn.mythtv.org/trac/ticket/7515 ? >> >> I was wondering the same after seeing Taylor Ralph's update of #7515 >> this morning. I just got a chance to try out the essence of the patch >> (i.e., using timecode instead of frameNumber), and so far it's working >> perfectly, the subtitles are completely in sync. >> >> Jim > > Using the timecode is definitely the right solution. The code > currently using frame numbers and rates is essentially flawed since > not only can the rate change but you can also have repeated frames > which aren't accounted for in the calculations. The only modification > needed to the timecode patch is to account for the start time and wrap > bits which are both available via AVContext and AVStream. A simple > function can be added to avformatdecoder.cpp to handle this. Once > that's completed and tested it can be committed. > FYI, the sooner I get a sample with a corresponding .srt the sooner this will get fixed. ;) -- Taylor _______________________________________________ mythtv-dev mailing list mythtv-dev [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
|