[mythtv-commits] Ticket #2359: internal player: the frame count is too low when playing .avi (gets synced to correct value after seeking)

MythTV mythtv at cvs.mythtv.org
Sun Sep 10 15:58:09 UTC 2006


#2359: internal player: the frame count is too low when playing .avi (gets synced
to correct value after seeking)
---------------------------------------------------------------+------------
 Reporter:  Pekka Jääskeläinen <pekka.jaaskelainen at gmail.com>  |       Owner:  ijr    
     Type:  defect                                             |      Status:  new    
 Priority:  minor                                              |   Milestone:  unknown
Component:  mythtv                                             |     Version:         
 Severity:  low                                                |  
---------------------------------------------------------------+------------
 The internal player seems to get wrong frame counts for avis when starting
 to play it. After seeking the frame count gets synched to a correct value.
 This problem was revealed with a .avi and an external frame-based
 subtitles: the subtitles were out of synch (about 1-2 secs too late) when
 playing the file from the beginning, and got back to synch after seeking
 once to some direction.

 I started to track this problem, but ran out of (non-occupied backend)
 time for now. I think the problem is that the framesPlayed is stored in
 multiple different classes (NVP, Decoder, VideoOut) and they get out of
 sync with each other at the beginning and the seeking syncs the correct
 framesPlayed value to the VideoOut which is used by the text subtitle
 display code at NVP. I also tried using the NVP framesPlayed instead of
 the current videoOut's currentFrame framesPlayed for syncing the subs, but
 it didn't help.

 Anyways, if someone knows immediately what the problem can be, great.
 Otherwise, I'll look into this later when I have time again. It doesn't
 seem to affect anything but the syncing of frame-based external subs...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2359>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list