[FFmpeg-devel] [PATCH] ogg: Fix seek to zero and packet pts after read through.
Dale Curtis
dalecurtis at chromium.org
Sat May 5 02:52:41 CEST 2012
On Fri, May 4, 2012 at 5:28 PM, Michael Niedermayer <michaelni at gmx.at>wrote:
> On Fri, May 04, 2012 at 03:42:00PM -0700, Dale Curtis wrote:
> > On Fri, May 4, 2012 at 3:11 PM, Michael Niedermayer <michaelni at gmx.at
> >wrote:
> >
> > >
> > > i dont see a difference between
> > > seek-test sync1.ogg -frames 20 | head
> > > and
> > > seek-test sync1.ogg -frames 20 -seekback 0| head
> > >
> > > ogg-ts sync1.ogg
> > > also shows no errors
> > >
> > > so maybe my last few commits fixed that too or iam testing the wrong
> > > thing.
> > > Can you confirm if this issue is still reproduceable
> > >
> > >
> > Awesome! Looks fixed for sync1.ogg, however libre.ogg is still messed up
> > (maybe a bad test case?):
> >
> > $ libavformat/seek-test /var/www/libre.ogg -frames 10 2>/dev/null | head
> > -n 10
> > ret: 0 st: 0 flags:0 dts: 1796.120000 pts: 1796.120000 pos:
> 6183
> > size: 3964
> > ret: 0 st: 1 flags:1 dts: 1796.179592 pts: 1796.179592 pos:
> 10190
> > size: 91
> > ret: 0 st: 0 flags:1 dts: 1796.160000 pts: 1796.160000 pos:
> 10309
> > size: 16266
> > ret: 0 st: 1 flags:1 dts: 1796.179592 pts: 1796.179592 pos:
> 26666
>
> fixed the duplicate timestamp
>
>
Hurm, ogg-ts is showing two 0's for the first timestamps using sync1.ogg:
dalecurtis at xorax /d/code/tests $ ./ogg-ts /var/www/sync1.ogg
pts: 0
pts: 0
pts: 128
pts: 256
pts: 1280
pts: 1408
pts: 1536
pts: 2112
pts: 3136
pts: 4160
- dale
More information about the ffmpeg-devel
mailing list