AAC not played - Error from decoder (ffdec_aac)

Ashwini Sharma ak.ashwini at gmail.com
Wed Jul 20 21:43:07 PDT 2011


HI Sudarshan,

Adding aacparse didn't help. I get the parse error from aacparse.

In my case, the file is read and demuxed by an application, which then gives
the audio stream data to my pipeline (which consists of aapsrc ! decoder !
alsasink ) for decoding and rendering.

I am able to play ac3 and mp3. But AAC i am having failure still. I tried
your inputs, but to no results.

Can't there be case that we provide the missing header data to ffdec_aac
thru some means..... any inputs please.

Rgds,
Ashwini

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

> If you want to play it dynamically then you don't need to mux it again,
> maybe you can use aacparse between demuxer and aac decoder plugin.
>
>
>
> On Wed, Jul 20, 2011 at 4:06 PM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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/20110721/c2feb337/attachment-0001.html>


More information about the gstreamer-devel mailing list