[FFmpeg-user] how to understand a given file AAC file is of SBR profile(AAC+)

Gaurav G gaurav.g at sasken.com
Wed Oct 5 12:19:44 CEST 2011


For my code i need to know at the time of parser init whether a given file is a SBR or HE to make my application initialization proper.

I have gone through the code in libavcodec/aac.c file in the aac_decode_init() and understood that if extradata_size is more than zero then i can know the required information. But my input file does not have the extradata so i am not able to know the aac type.

Please, help me to understand is their a way to know at the time of initialization the AAC type.


SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html

More information about the ffmpeg-user mailing list