[FFmpeg-trac] #1186(avformat:new): Regression in duration calculation for ogg files.
FFmpeg
trac at avcodec.org
Tue Apr 10 22:59:07 CEST 2012
#1186: Regression in duration calculation for ogg files.
------------------------------------+--------------------------------------
Reporter: dalecurtis | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+--------------------------------------
Commit
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=5901cd6236d97b34fe59a47ba0fd6da8f647d1f1
introduced a significant regression in the duration calculation for some
OGG files:
http://commondatastorage.googleapis.com/dalecurtis-shared/sync1.ogg
http://commondatastorage.googleapis.com/dalecurtis-shared/sync2.ogg
Chrome's copy of FFmpeg has had this commit reverted for some time now w/o
issue. I couldn't find an upstream issue report for this though, so
decided to file this bug.
The issue can be seen by running ffplay on either file above and noting
that the duration is nearly 5 secs off (25.36 vs 30.35)
dalecurtis at xorax /d/code/chrome/src $ ffplay -autoexit
media/test/data/content/sync1.ogg
ffplay version N-39514-gfde6314 Copyright (c) 2003-2012 the FFmpeg
developers
built on Apr 4 2012 11:24:39 with gcc 4.4.3
configuration: --enable-libx264 --enable-libvpx --enable-gpl --enable-
ffplay
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, ogg, from 'media/test/data/content/sync1.ogg':
Duration: 00:00:25.36, start: 0.000000, bitrate: 6 kb/s
Stream #0:0: Audio: vorbis, 44100 Hz, mono, s16, 80 kb/s
30.35 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Dropping the commit above (and subsequent changes to that commit) fixes
this regression, seemingly without issue:
Input #0, ogg, from
'/d/code/chrome/src/media/test/data/content/sync1.ogg':
Duration: 00:00:29.99, start: 0.000000, bitrate: 5 kb/s
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1186>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list