[Ffmpeg-devel] Error while parsing header

Youx Julien juju
Tue Jan 2 20:57:08 CET 2007


Hi,

I have a problem with the latest svn of ffmpeg, and some mp3.

I tried this with an old svn :

ffmpeg -i ffmpeg_bad_header.mp3 -ab 128 -ar 44100 -acodec mp3 -ac 2 -f 
mp3 out.mp3
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr/local/ffmpeg --enable-mp3lame
--enable-gpl --enable-faad --enable-pthreads --enable-faac --enable-xvid
--enable-amr_nb --enable-amr_wb --disable-ffplay --disable-ffserver
  libavutil version: 49.0.0
  libavcodec version: 51.7.0
  libavformat version: 50.3.0
  built on Mar 17 2006 18:47:58, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2)
Input #0, mp3, from 'ffmpeg_bad_header.mp3':
  Duration: 00:00:16.5, start: 0.000000, bitrate: 256 kb/s
  Stream #0.0: Audio: mp3, 44100 Hz, stereo, 256 kb/s
Output #0, mp3, to 'out.mp3':
  Stream #0.0: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=     257kB time=16.5 bitrate= 128.0kbits/s
video:0kB audio:257kB global headers:0kB muxing overhead 0.000000%

it works. But, if I try with the latest svn (r7274 or r7375), it crash :
ffmpeg -i ffmpeg_bad_header.mp3 -ab 128 -ar 44100 -acodec mp3 -ac 2 -f 
mp3 out.mp3
FFmpeg version SVN-r6838, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/usr/local/ffmpeg_test --enable-mp3lame
--enable-gpl --enable-faad --enable-pthreads --enable-faac --enable-xvid
--enable-amr_nb --enable-amr_wb --disable-ffplay --disable-ffserver
  libavutil version: 49.0.2
  libavcodec version: 51.22.0
  libavformat version: 50.6.0
  built on Oct 30 2006 14:22:07, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2)
ffmpeg_bad_header.mp3: Error while parsing header

I tryed on another PC, with the latest mp3lame (v3.97) and the problem 
is still the same...

Any ideas ?

I uploaded the sample in the "bad_header" directory ni 
upload.mplayerhq.hu/MPlayer/incoming

-- 
Julien Youx

.           ////            .
           (. .)
-------oOO--(_)--OOo---------
http://www.nain-de-jardin.com





More information about the ffmpeg-devel mailing list