Opened 6 years ago

Closed 6 years ago

#1524 closed defect (fixed)

mp3 audio stream not detected

Reported by: petere Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mp3 mpegps
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by cehoyos)

Summary of the bug: I have an mp3 file where ffmpeg does not find the audio stream

ffmpeg version N-40693-gc457a29 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 15 2012 12:57:14 with gcc 4.6.2
  configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads
  libavutil      51. 51.100 / 51. 51.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 73.100 /  2. 73.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
[mpeg @ 015cc6a0] Could not find codec parameters (Video: none)
[NULL @ 015cf700] start time is not set in estimate_timings_from_pts
[NULL @ 015ce9e0] start time is not set in estimate_timings_from_pts
Input #0, mpeg, from 'G:\Files from users\H\hsbrown2@comcast.net\Have Yourself a Merry Little Christmas.mp3':
  Metadata:
    title           : Have Yourself a Merry Little Christmas
    artist          : Tony Bennett
    album           : A Tony Bennett Christmas
    disc            : 1/1
    track           : 11/18
    genre           : Christmas
    date            : 1968
  Duration: N/A, bitrate: N/A
    Stream #0:0[0x0]: Video: mjpeg, yuvj420p, 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : 
      comment         : Cover (front)
    Stream #0:1[0x1e0]: Video: none, 90k tbr, 90k tbn
At least one output file must be specified

---> DB Level Info: -99, -99
---> Frame rate: 90000.00
---> Aspect ratio: 1:1

How to reproduce:

% ffmpeg -i "Have Yourself a Merry Little Christmas.mp3"
ffmpeg version
built on ...

Change History (6)

comment:1 follow-up: Changed 6 years ago by petere

I can provide the mp3 file if required.

comment:2 in reply to: ↑ 1 Changed 6 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Description modified (diff)
  • Keywords mp3 added
  • Version changed from unspecified to git-master

Replying to petere:

I can provide the mp3 file if required.

Please do so, it is required.
(Consider reading http://ffmpeg.org/bugreports.html )

comment:3 Changed 6 years ago by petere

Sorry, it's my first bug report. I have uploaded the sample file to upload.ffmpeg.org in the incoming directory:
"Ticket #1524.zip"

comment:4 Changed 6 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open

The mp3 file starts with a 40k jpg.

$ ffmpeg -f mp3 -i Have\ Yourself\ a\ Merry\ Little\ Christmas.mp3
ffmpeg version N-42438-gdd0a9b7 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 12 2012 10:58:02 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.104 / 54. 15.104
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mp3 @ 0x9035420] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'Have Yourself a Merry Little Christmas.mp3':
  Metadata:
    title           : Have Yourself a Merry Little Christmas
    artist          : Tony Bennett
    album           : A Tony Bennett Christmas
    disc            : 1/1
    track           : 11/18
    genre           : Christmas
    date            : 1968
  Duration: 00:03:02.17, start: 0.000000, bitrate: 286 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
    Stream #0:1: Video: mjpeg, yuvj420p, 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           :
      comment         : Cover (front)
At least one output file must be specified

comment:5 Changed 6 years ago by cehoyos

  • Keywords mpegps added

comment:6 Changed 6 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.