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

Michael Niedermayer michaelni at gmx.at
Fri May 4 14:52:35 CEST 2012


On Thu, May 03, 2012 at 08:09:21PM -0700, Dale Curtis wrote:
> On Wed, Apr 25, 2012 at 1:14 AM, Michael Niedermayer <michaelni at gmx.at>wrote:
> 
> >
> > without the patch:
> > ret: 0         st: 0 flags:0 dts: 0.000000 pts: 0.000000 pos:   6183 size:
> >  4133
> > ret: 0         st: 1 flags:1 dts: 5833.897506 pts: 5833.897506 pos:  10360
> > size:    91
> > ret: 0         st: 1 flags:1 dts: 5833.920726 pts: 5833.920726 pos:  10479
> > size:    91
> > ret: 0         st: 0 flags:1 dts: 5833.920000 pts: 5833.920000 pos:  10598
> > size: 11769
> > ret: 0         st: 1 flags:1 dts: 5833.943946 pts: 5833.943946 pos:  22441
> > size:    94
> > ret: 0         st:-1 flags:0  ts:-1.000000
> > ret: 0         st: 0 flags:1 dts: 5833.920000 pts: 5833.920000 pos:  10598
> > size: 11769
> > ret: 0         st: 1 flags:1 dts: 5833.920000 pts: 5833.920000 pos:  22441
> > size:    94
> > ret: 0         st: 1 flags:1 dts: 5833.967166 pts: 5833.967166 pos:  22563
> > size:   101
> > ret: 0         st: 0 flags:0 dts: 5833.960000 pts: 5833.960000 pos:  22692
> > size:  7639
> > ret: 0         st: 1 flags:1 dts: 5833.990385 pts: 5833.990385 pos:  30388
> > size:    83
> >
> > ...
> >
> 
> >
>  the timestamps leak straight out and 0 and 1234 both are not good
> > at all
> >
> >
> Sorry for the delay, I've been out on vacation the past week. The pts/dts
> for the first frame on the first pass are 0,0. Why is it incorrect to have
> a pts/dts of 0,0 on the second pass as well? Thanks in advance for your
> patience.

0,0 is incorrect, its wrong on the first AND second pass.

Ive fixed it now.
And sorry for the delay in fixing this, i thought you wanted to work
on this, which i why i just pointed to the problem without looking
deeper

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120504/a31f49d5/attachment.asc>


More information about the ffmpeg-devel mailing list