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

Dale Curtis dalecurtis at chromium.org
Fri May 4 02:10:59 CEST 2012


On Thu, Apr 12, 2012 at 4:05 PM, Dale Curtis <dalecurtis at chromium.org>wrote:

> I resync'd and it works fine. Thanks Michael!
>
> - dale
>
>
On further testing this change breaks the ability to call av_seek_frame()
before an av_read_frame() on certain ogg files:

http://commondatastorage.googleapis.com/dalecurtis-shared/ogg-ts-test.tar.bz2
http://commondatastorage.googleapis.com/dalecurtis-shared/bassdist_1.ogg

Test case can be compiled with:
gcc -std=c99 -o ogg-ts ogg-ts.c -lstdc++ libavformat/libavformat.a
libavcodec/libavcodec.a libavutil/libavutil.a -lz -lbz2 -lpthread

The test will fail at the first av_seek_frame() call when used with the
bassdist_1.ogg file.

The test also highlights some issues with timestamps going backwards in
time (with test.ogv) that I've raised on libav-devel since the patch
originated there:

http://lists.libav.org/pipermail/libav-devel/2012-May/027003.html

- dale


More information about the ffmpeg-devel mailing list