Hi,

On Tue, Nov 11, 2008 at 3:33 PM, Anatoliy Nenashev <[EMAIL PROTECTED]> wrote:
> On Tue. Nov 11, 2008 Ronald S. Bultje wrote:
>> You'd normally parse a raw AAC stream or get these kind of values from
>> the MP4 container, I'm talking about things such as bitrate,
>> samplerate, bits_per_sample, that kind of stuff in the AVCodecContext,
>> before calling avcodec_open(). Look at the _open() function in
>> aacdec.c to see what values need to be filled in exactly. The old
>> decoder (libfaad) did these checks during the decode() runs, from what
>> I remember.
>>
>>
> Why? AAC decoder doesn't support ADTS or ADIF header? I used FAAD
> library directly and  FAAD doesn't require any additinal information
> from AAC bitstream with ADTS header.

AAC decoder decodes AAC packets. ADIF/ADTS packet parsing is done by
the AAC demuxer/parser (see AVParser and related code in ffplay.c).
You'll notice ffplay can play ADTS/ADIF files just fine.

Ronald
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to