[MPlayer-dev-eng] [PATCH] fix reordering
Dan Oscarsson
Dan.Oscarsson at tieto.com
Mon Jul 5 18:39:01 CEST 2010
On 2010-07-05 at 12:09 +0000 Carl Eugen Hoyos wrote:
> Dan Oscarsson <Dan.Oscarsson <at> tieto.com> writes:
>
> > Most mpeg-ts files I and a friend of mine have, requires -correct-pts
> > option to work. My friend records from DVB-T broadcasts and have a lot
> > of those files. demux_ts works fine with -correct-pts, the mpeg-ts files
> > we have do not work without it.
>
> But they work fine with -delay 0.n, no?
Why should that fix things? The problem is that the pts values need to
be reordered to be correct. -delay only changes audio delay.
>
> > Without the patch, mplayer cannot play those mpeg-ts files correctly.
> >
> > We do not use -demuxer lavf for mpeg-ts as it do not support LATM
>
> you know that you only have to remove a "//" from libavformat/mpegts.c to fix
> this? (And please flame Baptiste for breaking it;-)
No. Tried remove those before LATM comment but it did not work very
well.
>
> > and also produce worse audio pts values for many files.
>
> Samples?
Currently I cannot play the mpeg-ts stream I have with LATM if I use
demuxer lavf and it is with those stream I have seen the problem, so it
have to wait until LATM with ffmpeg works.
Dan
More information about the MPlayer-dev-eng
mailing list