[FFmpeg-devel] [PATCH] ogg: Fix seek to zero and packet pts after read through.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Apr 24 22:43:20 CEST 2012


On Tue, Apr 24, 2012 at 01:39:08PM -0700, Dale Curtis wrote:
> On Mon, Apr 23, 2012 at 10:50 PM, Reimar Döffinger <Reimar.Doeffinger at gmx.de
> > wrote:
> 
> >
> > There is no reason at all to assume that the first pts should be 0, a lot
> > of times it is not.
> > In some applications, this can cause a long hang when the pts jumps from 0
> > to the correct value (which can be in the millions of seconds).
> >
> 
> Correct, but we're setting lastpts/lastdts here, not the actual pts/dts. As
> mentioned in my previous email, non-zero starting timestamps come back
> correctly:
> 
> 1st pass pts: -128   0 128 256  832
> 2nd pass pts: -128   0 128 256  832
> 
> Do you have a sample file where the pts jumps? I'm happy to test and
> investigate.

Not at hand, but any radio/live stream should start with time stamps
far from 0.


More information about the ffmpeg-devel mailing list