[MPlayer-dev-eng] [PATCH] unified timing patch for H264
Dan Oscarsson
Dan.Oscarsson at tieto.com
Sun Aug 29 12:45:50 CEST 2010
sön 2010-08-29 klockan 09:43 +0200 skrev Pásztor Szilárd:
> Hi,
> * added stable time-based PTS recalculation for nocorrect-pts. PTS
> are untouched until A-V sync gets close, then replacement starts at
> the proper point where the calculated should-be PTS is practically
> equal to what comes in the stream, finding frame accurate A-V sync
> both after starting playback and seeking. This recalculation is
> needed to prevent the A-V sync algorithm from trying to correct for
> the jumpy B-frame PTS all the time.
>
What files have this type of wrong PTS values?
The only files I have with video PTS out or order are som DVB-t mpegts
files with h.264 in. To get that right I enabled the reorder code in
dec_video instead. The pts values are correct but in wrong order.
Is the frame_time always correct when pts values are not?
I am not sure it is good to require avsync_found for fixing video pts.
It would be better if video pts values are independent of audio pts
values. I have code that sync audio and video in a different way and
that will probably not work well with your code.
Dan
More information about the MPlayer-dev-eng
mailing list