Opened 12 years ago

Closed 12 years ago

#1524 closed defect (fixed)

mp3 audio stream not detected

Reported by: Peter 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 Carl Eugen Hoyos)

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 by Peter, 12 years ago

I can provide the mp3 file if required.

in reply to:  1 comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavformat
Description: modified (diff)
Keywords: mp3 added
Version: unspecifiedgit-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 by Peter, 12 years ago

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 by Carl Eugen Hoyos, 12 years ago

Reproduced by developer: set
Status: newopen

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 by Carl Eugen Hoyos, 12 years ago

Keywords: mpegps added

comment:6 by Michael Niedermayer, 12 years ago

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