Opened 10 years ago

Closed 10 years ago

#3146 closed defect (fixed)

Some MP3 files don't detect any streams

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

Description

Summary of the bug:
When trying to play back certain mp3 files, ffplay only plays silence and prints the messages:

[mp3 @ 0x7f0974000920] Format mp3 detected only with low score of 24, misdetection possible!
[mjpeg @ 0x7f09740024e0] mjpeg: error, decode_app parser read over the end
[mp3 @ 0x7f0974000920] Stream #0: not enough frames to estimate rate; consider increasing probesize
[mp3 @ 0x7f0974000920] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mp3 @ 0x7f0974000920] Could not find codec parameters for stream 0 (Audio: mp3, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

And on these files, ffprobe does not report any bitrate or channels for the audio stream:

  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: mp3, 0 channels, s16p
    Stream #0:1: Video: mjpeg, yuvj420p(pc), 160x160, 90k tbr, 90k tbn, 90k tbc

The file plays fine with mpg123 and alsaplayer.

How to reproduce:

% ffprobe Stuntin_\#39\;_By_The_floozies.mp3
% ffplay Stuntin_\#39\;_By_The_floozies.mp3

ffmpeg --version:

ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov  2 2013 07:46:01 with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
  libavutil      52. 48.100 / 52. 48.100
  libavcodec     55. 39.100 / 55. 39.100
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100

Change History (3)

comment:1 by catd, 10 years ago

The file listed in the bug can be found at http://ubuntuone.com/7YnkjEN2IduQxi3VA5unek

comment:2 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavformat
Keywords: id3 regression added; detect removed
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: 2.1git-master

For future tickets: Please always test current git head and if a problem is reproducible with ffmpeg (the application), please provide the failing ffmpeg command line together with the complete, uncut console output.

Workaround is to increase analyzeduration / probesize as suggested by FFmpeg.

Regression since 11a1033c / 385ec296

$ ffmpeg -i Stuntin_#39\;_By_The_floozies.mp3
ffmpeg version N-58200-g92cbd77 Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov 17 2013 04:21:45 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 53.100 / 52. 53.100
  libavcodec     55. 43.100 / 55. 43.100
  libavformat    55. 21.100 / 55. 21.100
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 91.100 /  3. 91.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[mp3 @ 0x2d95100] Format mp3 detected only with low score of 24, misdetection possible!
[mjpeg @ 0x2d96c20] mjpeg: error, decode_app parser read over the end
[mp3 @ 0x2d95100] Stream #0: not enough frames to estimate rate; consider increasing probesize
[mp3 @ 0x2d95100] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mp3 @ 0x2d95100] Could not find codec parameters for stream 0 (Audio: mp3, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mp3, from 'Stuntin_#39;_By_The_floozies.mp3':
  Metadata:
    TSS             : Logic Pro 9.1.7
    title           : Stuntin'
    artist          : The Floozies
    album_artist    : The Floozies
    album           : Stuntin'
    genre           : Funkstep
    date            : 2013
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: mp3, 0 channels, s16p
    Stream #0:1: Video: mjpeg, yuvj420p(pc), 160x160, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : ÿØÿá"WExif
      comment         : Other
At least one output file must be specified

comment:3 by Michael Niedermayer, 10 years ago

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