[Ffmpeg-devel] Re: [PATCH] faad decoding error return

Måns Rullgård mru
Sun Mar 5 13:29:24 CET 2006

Baptiste COUDURIER <baptiste.coudurier at smartjog.com> writes:

> M?ns Rullg?rd wrote:
>> [...]
>> That's not the problem here.  The audio is incorrectly detected as
>> 24000 Hz sample rate.  Forcing it to 48000 makes it sound much more
>> sensible.
>>From faad2:
> /* no SBR signalled, this could mean either implicit signalling or no
> SBR in this file */
> /* MPEG specification states: assume SBR on files with samplerate <=
> 24000 Hz */

I figured it was something with SBR.

> Thats why sampling rate is 48000. But we can only know that when faad
> has been inited. In MOV demuxer that means parsing much extradata.
> I will see what can I do.

The problem here is that the mov headers specify all parameters.
Otherwise lavf would decode a few frames like it does for formats with
incomplete headers.  Normally this is not a problem, but when the
headers are lying...

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list