Problem in encoding with AAC
Problem in encoding with AAC
- Subject: Problem in encoding with AAC
- From: "Sandeep Chandna" <email@hidden>
- Date: Tue, 31 Oct 2006 17:37:49 +0530
Hi,
I was encoding an AAC file and the output had only a subpart of the input. Rest of it was vanishing somewhere. I noticed that the inputCallBack was asking for large number of inputData which I was not supplying and SCAudioFillBuffer was not returning any encoded packets (pullPackets=0) for first few calls.
I expected that the later calls to SCAudioFillBuffer should return all the encoded data but after few calls it just stopped returning the encoded data back. The input file was of 32 seconds duration and output generated was just 10 seconds.
The other codecs are working fine like IMA/Apple Lossless what could be wrong with AAC. In scaudiocompress example the call to SCAudioFillBuffer returns the packets whenever asked. But the same is not happening in my code.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden