[FFmpeg-trac] #289(undetermined:open): Regression: mp3 duration estimated from bitrate wrong (bitrate guess wrong)

FFmpeg trac at avcodec.org
Mon Jun 20 23:41:12 CEST 2011


#289: Regression: mp3 duration estimated from bitrate wrong (bitrate guess wrong)
-------------------------------------------------+-------------------------
Reporter:  hjr                                   |       Owner:
    Type:  defect                                |      Status:  open
Priority:  normal                                |   Component:
 Version:  git-master                            |  undetermined
Keywords:  regression mp3 duration bitrate       |  Resolution:
  estimate                                       |  Blocked By:
Blocking:                                        |  Reproduced:  1
Analyzed:  0                                     |
-------------------------------------------------+-------------------------
Changes (by cehoyos):

 * status:  new => open
 * version:  git => git-master
 * reproduced:  0 => 1


Comment:

 I cannot reproduce any problems when re-muxing, but the original problem
 is a regression since r19300
 {{{
 $ ffmpeg -analyzeduration 1000000000 -i duration-problem.mp3
 ffmpeg version N-30884-g54dd50d, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 20 2011 23:38:45 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    0. 14. 1 /  0. 14. 1
 [mp3 @ 0x126b6e0] Estimating duration from bitrate, this may be inaccurate
 Input #0, mp3, from 'duration-problem.mp3':
   Metadata:
     encoder         : Lavf52.39.2
   Duration: 00:14:44.44, start: 0.000000, bitrate: 32 kb/s
     Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 32 kb/s
 At least one output file must be specified
 }}}
 {{{
 $ ffmpeg -i duration-problem.mp3
 FFmpeg version git-2073fc8, Copyright (c) 2000-2009 Fabrice Bellard, et
 al.
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil     50. 3. 0 / 50. 3. 0
   libavcodec    52.32. 0 / 52.32. 0
   libavformat   52.36. 0 / 52.36. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libswscale     0. 7. 1 /  0. 7. 1
   built on Jun 20 2011 23:27:14, gcc: 4.5.3
 Input #0, mp3, from 'duration-problem.mp3':
   Duration: 00:02:27.40, start: 0.000000, bitrate: 192 kb/s
     Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16, 192 kb/s
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/289#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list