[FFmpeg-devel] first_dts set to RELATIVE_TS_BASE in vorbis audio

Dale Curtis dalecurtis at chromium.org
Fri Apr 13 01:05:50 CEST 2012


I resync'd and it works fine. Thanks Michael!

- dale

On Thu, Apr 12, 2012 at 2:55 AM, Michael Niedermayer <michaelni at gmx.at>wrote:

> On Wed, Apr 11, 2012 at 11:50:17AM -0700, Dale Curtis wrote:
> > We're seeing this in Chrome as well. Essentially first_dts ==
> > RELATIVE_TS_BASE until the first av_read_frame(). This is
> > trivially reproducible with any ogg file and printing first_dts
> > after avformat_find_stream_info():
> >
> > av_register_all();
> > avformat_open_input(&ctx, argv[1], NULL, NULL);
> > avformat_find_stream_info(ctx, NULL);
> > printf("first_dts: %ld\n", ctx->streams[0]->first_dts);
> > ...
> >
> >
> > >>first_dts: 9223090561878065023
> >
> >
> > Is the proper response here to consider first_dts to be (ts -
> > RELATIVE_TS_BASE) when is_relative(ts) is true?
>
> that may work but first_dts really shouldnt be set to a widely
> different timestamp than the actual first dts.
> Do you still see this issue with git master ?
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Good people do not need laws to tell them to act responsibly, while bad
> people will find a way around the laws. -- Plato
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list