[Ffmpeg-devel] Error while parsing header

Måns Rullgård mru
Tue Jan 2 23:38:03 CET 2007


Youx Julien <juju at nain-de-jardin.com> writes:

> Michael Niedermayer a ?crit :
>> Hi
>>
>> On Tue, Jan 02, 2007 at 08:57:08PM +0100, Youx Julien wrote:
>>
>>> Hi,
>>>
>>> I have a problem with the latest svn of ffmpeg, and some mp3.
>>>
>> [...]
>>
>>> 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.
>>>
>>                      ^^^^^
>> doesnt look like latest svn which doesnt mean it isnt or that it works
>> with latest, just that i wont look at it any further until someone shows
>> ffmpeg output which looks like it is latest svn ...
>>
> Sorry, it was another test version.
> So :
> /usr/local/platform/ffmpeg_test/bin/ffmpeg -i ffmpeg_bad_header.mp3
> -ab 128 -ar 44100 -acodec mp3 -ac 2 -f mp3 out.mp3
> FFmpeg version SVN-r7403, Copyright (c) 2000-2006 Fabrice Bellard, et al.
>   configuration:  --prefix=/usr/local/platform/ffmpeg_test
>   --enable-mp3lame --enable-gpl --enable-faad --enable-pthreads
>   --enable-faac --enable-xvid --enable-amr_nb --enable-amr_wb
>   --disable-ffplay --disable-ffserver --enable-a52
>   libavutil version: 49.1.0
>   libavcodec version: 51.28.0
>   libavformat version: 51.7.0
>   built on Jan  2 2007 22:33:52, gcc: 3.2.3 20030502 (Red Hat Linux
>   3.2.3-20)
> ffmpeg_bad_header.mp3: Error while parsing header
>
> It works with older versions (before 08/2006 for sure).
>
> I uploaded the sample here :
> http://www.nain-de-jardin.com/tmp/ffmpeg_bad_header.mp3

Chopping off the 835 null bytes at the start of the file gives a
perfectly valid mp3 file.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list