Opened 12 years ago

Closed 12 years ago

#1255 closed defect (fixed)

mp3: regression with duration

Reported by: ami_stuff Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mp3 regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://www.datafilehost.com/download-b6aefedc.html

git-g6bfb304 (09 Apr 2012) - ok

git-g4fa706a (16 Apr 2012) - bad

C:\>ffmpeg -i y.mp3
ffmpeg version N-40106-g8f89954 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 25 2012 02:21:52 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  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-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 47.100 / 51. 47.100
  libavcodec     54. 15.100 / 54. 15.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.100 /  2. 72.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[mp3 @ 0x1dbc540] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'y.mp3':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified
C:\>ffmpeg -i y.mp3
ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr  9 2012 20:29:24 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
 --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 67.101 /  2. 67.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
[mp3 @ 02239c80] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 02239c80] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'y.mp3':
  Duration: 00:05:47.26, start: 0.000000, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified
C:\ffmpeg -i y.mp3
ffmpeg version N-39877-g4fa706a Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 16 2012 14:53:47 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
 --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 70.100 /  2. 70.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[mp3 @ 0224c540] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'y.mp3':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
At least one output file must be specified

Change History (4)

comment:1 by ami_stuff, 12 years ago

Regression since cbf767a87c0e00055d3ebb88053c7cccf814f473.

avf: has_duration does not check the global one

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavformat
Keywords: mp3 regression added
Priority: normalimportant
Status: newopen
Version: unspecifiedgit-master

comment:3 by Carl Eugen Hoyos, 12 years ago

Reproduced by developer: set

comment:4 by cbsrobot, 12 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.