AAC not played - Error from decoder (ffdec_aac)

Ashwini Sharma ak.ashwini at gmail.com
Wed Jul 20 06:06:06 PDT 2011


Hi Sudarshan,

Thanks for your input.

Can I play the AAC data dynamically, as suggested by you, instead of saving
it into file.

Like mux the incoming AAC data buffer and then decode it at the same time?

rgds,
-Ashwini



On Wed, Jul 20, 2011 at 5:59 PM, Sudarshan Bisht
<bisht.sudarshan at gmail.com>wrote:

>
> Demuxer outputs raw aac data, it does not have any header(ADIF/ADTS) thats
> why you get that error message.
>
> To get the correct playable file, you again need to mux this raw aac data
> using qtmux and then you get .m4a file.   And to play this .m4a file you
> need to have qtdemux in your pipeline if you don't use decodebin2/playbin2.
>
> I hope this will help you.
>
>
>
>
>   On Wed, Jul 20, 2011 at 1:52 PM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:
>
>>   Hi All,
>>
>> I have a demuxed audio stream (AAC encoded). When I try to play, i get an
>> error "FFMpeg can not decode AAC data"
>>
>> The details are as follows:
>>
>> I have a video file which contain mpeg4 video and AAC audio. I Demux the
>> file into Audio and video files. When i play the demuxed audio it fails.
>>
>> But when i reapeat the same test for AC3 or MP3 audios, it works fine.
>>
>>
>> I think there is some mistake on my part when playing the AAC file.
>> Someone please provide your inputs in getting it to play.
>>
>> Any help is greatly appreciated.
>>
>> -Ashwini
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Regards,
>
> Sudarshan Bisht
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110720/886de7e7/attachment.htm>


More information about the gstreamer-devel mailing list