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

Dale Curtis dalecurtis at chromium.org
Fri May 4 05:09:21 CEST 2012


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.

- dale


More information about the ffmpeg-devel mailing list