[MPlayer-dev-eng] [PATCH] fix reordering

Dan Oscarsson Dan.Oscarsson at tieto.com
Sun Jul 18 12:30:24 CEST 2010


On 2010-07-18 at 02:37 -0700 Alexander Strange wrote:
> >> First someone could test if it actually does break someting or not (PAFF
> >> with -demuxer lavf).
> > 
> > Do you have a PAFF sample that I could try it with?
> 
> http://samples.mplayerhq.hu/V-codecs/h264/PAFF/Grey.ts
> 

Can somebody explain what the correct_pts does? Maybe a better
explanation could go inte the manual page with rc4? 

The normal mplayer without my patches plays the sample differently when
played with -correct-pts. So it is independent of my patches.

What I found out was that for some mpeg-ts files you have to reorder the
timestamps on video frames. I looked at the code in
libmpcodecs/dec_video.c for decode_video and did a quick test changing
to the timestamp reodering code is always enabled without setting
correct-pts. It looks like it works fine - can there be any problem in
always having this enabled? We could then have timestamp reordering
without having to enable all the other code correct-pts enables.

   Dan





More information about the MPlayer-dev-eng mailing list