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

Michael Niedermayer michaelni at gmx.at
Wed Apr 25 03:57:40 CEST 2012


On Tue, Apr 24, 2012 at 02:02:34PM -0700, Dale Curtis wrote:
> On Tue, Apr 24, 2012 at 1:43 PM, Reimar Döffinger
> <Reimar.Doeffinger at gmx.de>wrote:
> 
> >
> > Not at hand, but any radio/live stream should start with time stamps
> > far from 0.
> >
> >
> Just tested with a live stream from http://crbug.com/104797:

i dont seem to have equally as much luck with that stream

with 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: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

that looks consistent, giving the same both times but still its
wrong both times, the first packet ends up with 0 time stamps

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

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- 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/20120425/6d84f015/attachment.asc>


More information about the ffmpeg-devel mailing list