[MPlayer-dev-eng] [PATCH] buffered pts when -correct-pts
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Aug 17 10:36:17 CEST 2010
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> Pásztor Szilárd <don <at> tricon.hu> writes:
>
> > Ok, I certainly don't know every single stream. Still, it is a long-standing
> > bug that completely prevents smooth playback of all H.264 interlaced streams
> > I've encountered so far,
>
> Are you sure you tested -demuxer lavf? It works for me for most (see below)
> samples, including the one you provided.
> > and they were from many Blu-rays, and practically
> > all HDTV streams. And same as with others - I recently saw in the users list
> > archives that a Danish user complained about jerky playback and even sent a
> > sample.
>
> Which is not fixed by your patch...
Correction:
It does fix the issue for -demuxer mpegts -correct-pts (which also makes your
sample look very nice).
Note, however, that this is not a general solution since -demuxer mpegts
-correct-pts is broken for some samples (heavy artefacts) and the native demuxer
does not support all BluRay features, so I believe it would make more sense to
fix the jerkiness for danish_dvb.ts for -demuxer lavf (to make the sound play,
just remove the comments in front of "LATM" in libavformat/mpegts.c).
(There was even a sample uploaded yesterday, 00109.MTS, that shows heavy
artefacts with -demuxer mpegts without -correct-pts. Possibly a bitrate issue?)
Carl Eugen
More information about the MPlayer-dev-eng
mailing list