[FFmpeg-trac] #2931(undetermined:new): mp3: wrong duration

FFmpeg trac at avcodec.org
Mon Sep 2 17:24:53 CEST 2013


#2931: mp3: wrong duration
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 the file have a huge id3 tag, so maybe it's not excluded from bitrate
 calculation?

 http://www.datafilehost.com/d/adf21372

 {{{
 C:\>ffmpeg -i 1.mp3 -f null -
 ffmpeg version N-55957-g21dc3a3 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Sep  2 2013 02:43:35 with gcc 4.5.0 (GCC) 20100414 (Fedora
 MinGW 4.5.
 0-1.fc14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-
 cpudetect --
 enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -lw
 inmm -lpthread' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapsh
 ots/build/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/sna
 pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-
 version3 --
 enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
 --enable-li
 bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb
 --enable-li
 bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx
 --disab
 le-decoder=libvpx
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 30.100 / 55. 30.100
   libavformat    55. 15.100 / 55. 15.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 [mp3 @ 0x204fa20] Format mp3 detected only with low score of 24,
 misdetection po
 ssible!
 [mp3 @ 0x204fa20] Estimating duration from bitrate, this may be inaccurate
 Input #0, mp3, from '1.mp3':
   Metadata:
     album           : 3
     title           : 1
     artist          : 2
     disc            : w
     track           : ww
   Duration: 00:04:22.14, start: 0.000000, bitrate: 320 kb/s
     Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 320 kb/s
     Stream #0:1: Video: mjpeg, yuvj420p(pc), 3264x1840, 90k tbr, 90k tbn,
 90k tb
 c
     Metadata:
       title           :
       comment         : Cover (front)
 [null @ 0x2128020] Frame rate very high for a muxer not efficiently
 supporting i
 t.
 Please consider specifying a lower framerate, a different muxer or -vsync
 2
 Output #0, null, to 'pipe:':
   Metadata:
     album           : 3
     title           : 1
     artist          : 2
     disc            : w
     track           : ww
     encoder         : Lavf55.15.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuvj420p, 3264x1840,
 q=2-3
 1, 200 kb/s, 90k tbn, 90k tbc
     Metadata:
       title           :
       comment         : Cover (front)
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 Stream mapping:
   Stream #0:1 -> #0:0 (mjpeg -> rawvideo)
   Stream #0:0 -> #0:1 (mp3 -> pcm_s16le)
 Press [q] to stop, [?] for help
 [null @ 0x2128020] Encoder did not produce proper pts, making some up.
 frame=    1 fps=0.9 q=0.0 Lsize=N/A time=00:03:43.24 bitrate=N/A
 video:0kB audio:41859kB subtitle:0 global headers:0kB muxing overhead
 -100.00005
 1%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2931>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list